Add SKIP_JAVAC in tests where behaviour has diverged with IDEA resolve
See a71f09022c
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// SKIP_JAVAC
|
||||
// FILE: b.kt
|
||||
package b
|
||||
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// SKIP_JAVAC
|
||||
// FILE: a/B.java
|
||||
package a;
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// SKIP_JAVAC
|
||||
// FILE: a/A.java
|
||||
package a;
|
||||
|
||||
|
||||
+3
@@ -131,6 +131,9 @@ public abstract class KotlinMultiFileTestWithJava<M, F> extends KtUsefulTestCase
|
||||
protected void doTest(String filePath) throws Exception {
|
||||
File file = new File(filePath);
|
||||
String expectedText = KotlinTestUtils.doLoadFile(file);
|
||||
|
||||
if (InTextDirectivesUtils.isDirectiveDefined(expectedText, "// SKIP_JAVAC")) return;
|
||||
|
||||
Map<String, ModuleAndDependencies> modules = new HashMap<>();
|
||||
List<F> testFiles = createTestFiles(file, expectedText, modules);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user