Expanded test with constants unchanged. Now it has class-level and package-level constants mixed in one file.
Original commit: ca647a9ff4
This commit is contained in:
@@ -86,9 +86,9 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
|||||||
doTest("jps-plugin/testData/incremental/classSignatureUnchanged/");
|
doTest("jps-plugin/testData/incremental/classSignatureUnchanged/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("constantUnchanged")
|
@TestMetadata("constantsUnchanged")
|
||||||
public void testConstantUnchanged() throws Exception {
|
public void testConstantsUnchanged() throws Exception {
|
||||||
doTest("jps-plugin/testData/incremental/constantUnchanged/");
|
doTest("jps-plugin/testData/incremental/constantsUnchanged/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("dependencyClassReferenced")
|
@TestMetadata("dependencyClassReferenced")
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
package test
|
|
||||||
|
|
||||||
val CONST = "foo"
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
package test
|
|
||||||
|
|
||||||
val CONST = "foo"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
package test
|
|
||||||
|
|
||||||
deprecated(CONST + CONST)
|
|
||||||
class Usage
|
|
||||||
+2
@@ -1,4 +1,6 @@
|
|||||||
Cleaning output files:
|
Cleaning output files:
|
||||||
|
out/production/module/test/Klass$object.class
|
||||||
|
out/production/module/test/Klass.class
|
||||||
out/production/module/test/TestPackage-const-*.class
|
out/production/module/test/TestPackage-const-*.class
|
||||||
out/production/module/test/TestPackage.class
|
out/production/module/test/TestPackage.class
|
||||||
End of files
|
End of files
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
val CONST = "foo"
|
||||||
|
|
||||||
|
class Klass {
|
||||||
|
class object {
|
||||||
|
val CONST = "bar"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
val CONST = "foo"
|
||||||
|
|
||||||
|
class Klass {
|
||||||
|
class object {
|
||||||
|
val CONST = "bar"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
deprecated(CONST + Klass.CONST)
|
||||||
|
class Usage
|
||||||
Reference in New Issue
Block a user