Recompile all class usages when constructor is changed

This commit is contained in:
Alexey Tsvetkov
2015-12-24 14:35:18 +03:00
parent 5fcb9ca2bd
commit 94d4dae1fe
17 changed files with 85 additions and 27 deletions
@@ -1165,6 +1165,12 @@ public class ExperimentalIncrementalJpsTestGenerated extends AbstractExperimenta
doTest(fileName);
}
@TestMetadata("secondaryConstructorAdded")
public void testSecondaryConstructorAdded() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("jps-plugin/testData/incremental/classHierarchyAffected/secondaryConstructorAdded/");
doTest(fileName);
}
@TestMetadata("starProjectionUpperBoundChanged")
public void testStarProjectionUpperBoundChanged() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("jps-plugin/testData/incremental/classHierarchyAffected/starProjectionUpperBoundChanged/");
@@ -104,7 +104,7 @@ abstract class AbstractProtoComparisonTest : UsefulTestCase() {
val changes = SmartList<String>()
if (diff.isClassSignatureChanged) {
if (diff.isClassAffected) {
changes.add("CLASS_SIGNATURE")
}