From a359f60e11e22c4511ba8f6c0654b24771daee91 Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Fri, 8 Mar 2019 21:14:10 +0300 Subject: [PATCH] add a test which shows a superiority of the hashed-based stamp approach GitOrigin-RevId: f0da9d6be7655ca4ee0e35d3b2a4898689ce6751 --- .../common/nothingChanged/TheSameContent.java.new | 5 +++++ .../incremental/common/nothingChanged/build.log | 0 .../common/nothingChanged/src/TheSameContent.java | 5 +++++ jps/jps-builders/testSrc/org/jetbrains/ether/CommonTest.java | 4 ++++ 4 files changed, 14 insertions(+) create mode 100644 java/java-tests/testData/compileServer/incremental/common/nothingChanged/TheSameContent.java.new create mode 100644 java/java-tests/testData/compileServer/incremental/common/nothingChanged/build.log create mode 100644 java/java-tests/testData/compileServer/incremental/common/nothingChanged/src/TheSameContent.java diff --git a/java/java-tests/testData/compileServer/incremental/common/nothingChanged/TheSameContent.java.new b/java/java-tests/testData/compileServer/incremental/common/nothingChanged/TheSameContent.java.new new file mode 100644 index 000000000000..cd7130c690f4 --- /dev/null +++ b/java/java-tests/testData/compileServer/incremental/common/nothingChanged/TheSameContent.java.new @@ -0,0 +1,5 @@ +package v; + +class TheSameContent { + void nothingToRebuild() {} +} \ No newline at end of file diff --git a/java/java-tests/testData/compileServer/incremental/common/nothingChanged/build.log b/java/java-tests/testData/compileServer/incremental/common/nothingChanged/build.log new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/java/java-tests/testData/compileServer/incremental/common/nothingChanged/src/TheSameContent.java b/java/java-tests/testData/compileServer/incremental/common/nothingChanged/src/TheSameContent.java new file mode 100644 index 000000000000..cd7130c690f4 --- /dev/null +++ b/java/java-tests/testData/compileServer/incremental/common/nothingChanged/src/TheSameContent.java @@ -0,0 +1,5 @@ +package v; + +class TheSameContent { + void nothingToRebuild() {} +} \ No newline at end of file diff --git a/jps/jps-builders/testSrc/org/jetbrains/ether/CommonTest.java b/jps/jps-builders/testSrc/org/jetbrains/ether/CommonTest.java index 656866cedd21..e01e189799ef 100644 --- a/jps/jps-builders/testSrc/org/jetbrains/ether/CommonTest.java +++ b/jps/jps-builders/testSrc/org/jetbrains/ether/CommonTest.java @@ -177,6 +177,10 @@ public class CommonTest extends IncrementalTestCase { doTest(); } + public void testNothingChanged() { + doTest(); + } + // Disabled because now several classes with the same qName in different modules are not supporter // //public void testConflictingClasses() {