Fixed redeclaration from incremental compilation. Added workaround for JPS bug.
This commit is contained in:
@@ -41,6 +41,11 @@ public class CliCommonTest extends CliBaseTest {
|
||||
Assert.assertTrue(new File(tmpdir.getTmpDir(), PackageClassUtils.getPackageClassName(FqName.ROOT) + ".class").isFile());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void duplicateSource() throws Exception {
|
||||
executeCompilerCompareOutputJVM();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void diagnosticsOrder() throws Exception {
|
||||
executeCompilerCompareOutputJVM();
|
||||
|
||||
@@ -51,6 +51,11 @@ public class KotlincExecutableTestGenerated extends AbstractKotlincExecutableTes
|
||||
doJvmTest("compiler/testData/cli/jvm/diagnosticsOrder.args");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicateSource.args")
|
||||
public void testDuplicateSource() throws Exception {
|
||||
doJvmTest("compiler/testData/cli/jvm/duplicateSource.args");
|
||||
}
|
||||
|
||||
@TestMetadata("extraHelp.args")
|
||||
public void testExtraHelp() throws Exception {
|
||||
doJvmTest("compiler/testData/cli/jvm/extraHelp.args");
|
||||
|
||||
Reference in New Issue
Block a user