aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2009-02-03 17:33:41 +0000
committeraclement <aclement>2009-02-03 17:33:41 +0000
commit4343691ba5248e7dc221763203230c8244c568be (patch)
tree6e720694e4b2f0c8ecb2f5be88ef3c90e1c53ede
parente842cc97fab075b691acd2a73a1c4a7ee32b554f (diff)
downloadaspectj-4343691ba5248e7dc221763203230c8244c568be.tar.gz
aspectj-4343691ba5248e7dc221763203230c8244c568be.zip
263323: broken aspect weaving
-rw-r--r--tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java32
1 files changed, 28 insertions, 4 deletions
diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
index c61202b2f..a06426e48 100644
--- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
+++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
@@ -275,19 +275,43 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
List l = getCompilerErrorMessages(p);
assertEquals("Unexpected compiler error", 0, l.size());
}
-
- /*public void testNPEGenericCtor_pr260944() {
+/*
+ public void testImports() {
AjdeInteractionTestbed.VERBOSE = true;
- String p = "pr260944";
+ String p = "importProb";
initialiseProject(p);
build(p);
checkWasFullBuild();
alter(p, "inc1");
+ addProjectSourceFileChanged(p, getProjectRelativePath(p, "src/p/Code.java"));
+ addProjectSourceFileChanged(p, getProjectRelativePath(p, "src/q/Asp.java"));
+ build(p);
+ checkWasntFullBuild();
+ List l = getCompilerErrorMessages(p);
+ assertEquals("Unexpected compiler error", 0, l.size());
+ }
+*/
+ public void testBuildingBrokenCode_pr263323() {
+ AjdeInteractionTestbed.VERBOSE = true;
+ String p = "brokenCode";
+ initialiseProject(p);
+ build(p);
+ checkWasFullBuild();
+ alter(p, "inc1"); // break the aspect
+ build(p);
+ checkWasntFullBuild();
+ alter(p, "inc2"); // whitespace change on affected file
build(p);
checkWasntFullBuild();
List l = getCompilerErrorMessages(p);
assertEquals("Unexpected compiler error", 0, l.size());
- }*/
+ }
+
+ /*
+ * public void testNPEGenericCtor_pr260944() { AjdeInteractionTestbed.VERBOSE = true; String p = "pr260944";
+ * initialiseProject(p); build(p); checkWasFullBuild(); alter(p, "inc1"); build(p); checkWasntFullBuild(); List l =
+ * getCompilerErrorMessages(p); assertEquals("Unexpected compiler error", 0, l.size()); }
+ */
public void testItdProb() {
AjdeInteractionTestbed.VERBOSE = true;