mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
android: fix red code
This commit is contained in:
@@ -266,7 +266,7 @@ public class PackageClassConverter extends ResolvingConverter<PsiClass> implemen
|
||||
final PsiElement element = myIsPackage ?
|
||||
facade.findPackage(value) :
|
||||
facade.findClass(value, myModule != null
|
||||
? myModule.getModuleWithDependenciesScope()
|
||||
? myModule.getModuleWithDependenciesAndLibrariesScope(false)
|
||||
: myElement.getResolveScope());
|
||||
|
||||
if (element != null) {
|
||||
@@ -279,7 +279,7 @@ public class PackageClassConverter extends ResolvingConverter<PsiClass> implemen
|
||||
return myIsPackage ?
|
||||
facade.findPackage(relativeName) :
|
||||
facade.findClass(relativeName, myModule != null
|
||||
? myModule.getModuleWithDependenciesScope()
|
||||
? myModule.getModuleWithDependenciesAndLibrariesScope(false)
|
||||
: myElement.getResolveScope());
|
||||
}
|
||||
return null;
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest android:versionName="1.0" android:versionCode="1" package="com.example.tests"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application>
|
||||
</application>
|
||||
<instrumentation android:name="android.test.InstrumentationTestRunner" android:targetPackage="com.example"/>
|
||||
</manifest>
|
||||
@@ -155,6 +155,10 @@ public class AndroidManifestDomTest extends AndroidDomTest {
|
||||
doTestCompletion(false);
|
||||
}
|
||||
|
||||
public void testInstrumentationRunner() throws Throwable {
|
||||
doTestHighlighting();
|
||||
}
|
||||
|
||||
public void testIntentsCompletion1() throws Throwable {
|
||||
doTestCompletion();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user