diff options
-rw-r--r-- | ajde.core/testsrc/org/aspectj/ajde/core/tests/InpathTests.java | 4 | ||||
-rw-r--r-- | ajde.core/testsrc/org/aspectj/ajde/core/tests/ResourceCopyTests.java | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ajde.core/testsrc/org/aspectj/ajde/core/tests/InpathTests.java b/ajde.core/testsrc/org/aspectj/ajde/core/tests/InpathTests.java index 4bcd6d1af..d634dcd2b 100644 --- a/ajde.core/testsrc/org/aspectj/ajde/core/tests/InpathTests.java +++ b/ajde.core/testsrc/org/aspectj/ajde/core/tests/InpathTests.java @@ -254,8 +254,8 @@ public class InpathTests extends AjdeCoreTestCase { try { assertTrue( - "outjar older than injar", - (outjarFile.lastModified() > dirFile.lastModified())); + "outjar older than injar: outjarLastMod="+outjarFile.lastModified()+" injarLastMod="+dirFile.lastModified(), + (outjarFile.lastModified() >= dirFile.lastModified())); // Go through the output jar file, for each element, remove it from // the expectedOutputJarContents - when we finish, the expectedOutputJarContents diff --git a/ajde.core/testsrc/org/aspectj/ajde/core/tests/ResourceCopyTests.java b/ajde.core/testsrc/org/aspectj/ajde/core/tests/ResourceCopyTests.java index 84f21a405..422e194e0 100644 --- a/ajde.core/testsrc/org/aspectj/ajde/core/tests/ResourceCopyTests.java +++ b/ajde.core/testsrc/org/aspectj/ajde/core/tests/ResourceCopyTests.java @@ -201,7 +201,9 @@ public class ResourceCopyTests extends AjdeCoreTestCase { HashSet resources = new HashSet(); try { - assertTrue("outjar older than injar",(outjarFile.lastModified() > injarFile.lastModified())); + assertTrue( + "outjar older than injar: outjarLastMod="+outjarFile.lastModified()+" injarLastMod="+injarFile.lastModified(), + (outjarFile.lastModified() >= injarFile.lastModified())); byte[] inManifest = listJarResources(injarFile,resources); listSourceResources(indirName,resources); |