summaryrefslogtreecommitdiffstats
path: root/ajde/testsrc
diff options
context:
space:
mode:
authoraclement <aclement>2004-08-05 13:11:36 +0000
committeraclement <aclement>2004-08-05 13:11:36 +0000
commit4295fcd68c0fc746a7788da28a6ed7ae5274d34a (patch)
treea31ffca3957a4d58c0e4f28160457bc9ac459932 /ajde/testsrc
parentc122603db40dcbcfe8ff19ef312943d794b38c20 (diff)
downloadaspectj-4295fcd68c0fc746a7788da28a6ed7ae5274d34a.tar.gz
aspectj-4295fcd68c0fc746a7788da28a6ed7ae5274d34a.zip
No really, this *is* the last fix that will make the build work.
Diffstat (limited to 'ajde/testsrc')
-rw-r--r--ajde/testsrc/org/aspectj/ajde/SavedModelConsistencyTest.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/ajde/testsrc/org/aspectj/ajde/SavedModelConsistencyTest.java b/ajde/testsrc/org/aspectj/ajde/SavedModelConsistencyTest.java
index faa095054..689381523 100644
--- a/ajde/testsrc/org/aspectj/ajde/SavedModelConsistencyTest.java
+++ b/ajde/testsrc/org/aspectj/ajde/SavedModelConsistencyTest.java
@@ -49,14 +49,15 @@ public class SavedModelConsistencyTest extends AjdeTestCase {
assertTrue(testFile.exists());
IProgramElement nodePreBuild = model.findElementForSourceLine(testFile.getAbsolutePath(), 5);
-// System.err.println(nodePreBuild.getKind());
+ //System.err.println(nodePreBuild.getKind());
doSynchronousBuild(CONFIG_FILE_PATH);
IProgramElement nodePostBuild = model.findElementForSourceLine(testFile.getAbsolutePath(), 5);
-// System.err.println(nodePostBuild.getKind());
+ //System.err.println(nodePostBuild.getKind());
- assertTrue(nodePreBuild.getKind().equals(nodePostBuild.getKind()));
+ assertTrue("Nodes should be identical: Prebuild kind = "+nodePreBuild.getKind()+
+ " Postbuild kind = "+nodePostBuild.getKind(),nodePreBuild.getKind().equals(nodePostBuild.getKind()));
}
@@ -88,7 +89,7 @@ public class SavedModelConsistencyTest extends AjdeTestCase {
// System.err.println(preBuildKinds);
// System.err.println(postBuildKinds);
- assertTrue(preBuildKinds.equals(postBuildKinds));
+ assertTrue("Lists should be the same: PRE"+preBuildKinds.toString()+" POST"+postBuildKinds.toString(),preBuildKinds.equals(postBuildKinds));
}