use of com.android.tools.idea.testartifacts.scopes.TestArtifactCustomScopeProvider.UnitTestsScope in project android by JetBrains.
the class TestArtifactCustomScopeTest method testUnitTestFileColor.
public void testUnitTestFileColor() throws Exception {
VirtualFile file = findRelativeFile("app/src/test/java/google/simpleapplication/UnitTest.java", getProject().getBaseDir());
assertNotNull(file);
UnitTestsScope scope = new UnitTestsScope();
PackageSetBase packageSet = (PackageSetBase) scope.getValue();
assertNotNull(packageSet);
assertTrue(packageSet.contains(file, getProject(), null));
}
Aggregations