mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-tests] UnivocityTest: check that JDK is attached
GitOrigin-RevId: 5c8554d905f13e070345f580cf1acd1956055a6e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6cc8fe940e
commit
07634e6b2d
@@ -56,6 +56,7 @@ public class UnivocityTest extends BaseUnivocityTest {
|
||||
JavaPsiFacade facade = JavaPsiFacade.getInstance(myProject);
|
||||
GlobalSearchScope allScope = GlobalSearchScope.allScope(myProject);
|
||||
Assume.assumeTrue("Maven import failed",
|
||||
facade.findClass("java.lang.Object", allScope) != null && // verify that JDK is attached
|
||||
facade.findClass("org.testng.Assert", allScope) != null &&
|
||||
facade.findClass("com.univocity.test.OutputTester", allScope) != null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user