use of com.intellij.analysis.AnalysisScope in project android by JetBrains.
the class AndroidLintTest method testImlFileOutsideContentRoot.
public void testImlFileOutsideContentRoot() throws Exception {
myFixture.copyFileToProject(SdkConstants.FN_ANDROID_MANIFEST_XML, "additionalModules/module1/" + SdkConstants.FN_ANDROID_MANIFEST_XML);
myFixture.copyFileToProject(SdkConstants.FN_ANDROID_MANIFEST_XML, "additionalModules/module2/" + SdkConstants.FN_ANDROID_MANIFEST_XML);
final String testDir = BASE_PATH_GLOBAL + "apiCheck1";
myFixture.copyFileToProject(testDir + "/MyActivity.java", "additionalModules/module1/src/p1/p2/MyActivity.java");
doGlobalInspectionTest(new AndroidLintNewApiInspection(), testDir, new AnalysisScope(getProject()));
}
Aggregations