[IC] Add in-module tests for incremental compilation

Two tests to check recompilation when parameter with default value was
added or removed without changing use-site.

Original commit: 96ba3b873e
This commit is contained in:
Roman Artemev
2020-11-27 12:12:04 +03:00
parent 4652312c5e
commit bf3414c491
12 changed files with 119 additions and 0 deletions
@@ -1110,6 +1110,16 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes
runTest("jps-plugin/testData/incremental/pureKotlin/packageRemoved/");
}
@TestMetadata("parameterWithDefaultValueAdded")
public void testParameterWithDefaultValueAdded() throws Exception {
runTest("jps-plugin/testData/incremental/pureKotlin/parameterWithDefaultValueAdded/");
}
@TestMetadata("parameterWithDefaultValueRemoved")
public void testParameterWithDefaultValueRemoved() throws Exception {
runTest("jps-plugin/testData/incremental/pureKotlin/parameterWithDefaultValueRemoved/");
}
@TestMetadata("privateConstantsChanged")
public void testPrivateConstantsChanged() throws Exception {
runTest("jps-plugin/testData/incremental/pureKotlin/privateConstantsChanged/");