]> source.dussan.org Git - aspectj.git/commitdiff
innertype intertype
authoraclement <aclement>
Thu, 25 Nov 2010 21:47:07 +0000 (21:47 +0000)
committeraclement <aclement>
Thu, 25 Nov 2010 21:47:07 +0000 (21:47 +0000)
tests/model/expected/pr141730_4.txt
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java

index cad32e4a65731b0129140a6c20d810257506ae87..575115e3dbb732537f019553349c193a5fe22bb6 100644 (file)
       NewClass  [class] TEST_SANDBOX\NewClass.java:3:
 === END OF MODEL REPORT =========
 === RELATIONSHIPS REPORT ========= After a batch build
-(targets=1) <bar*MyBar.aj'MyBar`declare parents (declared on) /,<foo(MyFoo.class[MyFoo
 (targets=1) <bar*MyBar.aj'MyBar`declare \@type (annotates) {MyFoo.java
 (targets=1) {MyFoo.java (annotated by) <bar*MyBar.aj'MyBar`declare \@type
-(targets=1) /,<foo(MyFoo.class[MyFoo (aspect declarations) <bar*MyBar.aj'MyBar`declare parents
+(targets=1) <bar*MyBar.aj'MyBar`declare parents (declared on) /;<foo(MyFoo.class[MyFoo
+(targets=1) /;<foo(MyFoo.class[MyFoo (aspect declarations) <bar*MyBar.aj'MyBar`declare parents
 === END OF RELATIONSHIPS REPORT ==
 === Properties of the model and relationships map =====
 import reference=4
index 353aedb3bfd505b8fd6b1ee1dabc82ac430549f7..c9f66b101a66ab5557a65a925cbb234872601262 100644 (file)
@@ -103,15 +103,15 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
                checkWasntFullBuild();
        }
 
-       // public void testIncrementalITDInners() throws Exception {
-       // String p = "prInner";
-       // initialiseProject(p);
-       // build(p);
-       // checkWasFullBuild();
-       // alter(p, "inc1");
-       // build(p);
-       // checkWasntFullBuild();
-       // }
+       public void testIncrementalITDInners() throws Exception {
+               String p = "prInner";
+               initialiseProject(p);
+               build(p);
+               checkWasFullBuild();
+               alter(p, "inc1");
+               build(p);
+               checkWasntFullBuild();
+       }
 
        /*
         * public void testIncrementalAspectWhitespace() throws Exception { AjdeInteractionTestbed.VERBOSE = true; String p = "xxx";
@@ -3668,7 +3668,7 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
                        pw.flush();
                } catch (Exception e) {
                }
-               List l = getModelFor(p).getRelationshipMap().get("=inpathHandles/,<codep(Code.class[Code");
+               List l = getModelFor(p).getRelationshipMap().get("=inpathHandles/;<codep(Code.class[Code");
                assertNotNull(l);
        }
 
@@ -3689,7 +3689,7 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
 
                // This build will weave a declare parents into the inpath class codep.Code
                build(p);
-               assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles/,<codep(Code.class[Code"));
+               assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles/;<codep(Code.class[Code"));
 
                IProgramElement root = getModelFor(p).getHierarchy().getRoot();
 
@@ -3697,7 +3697,7 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
                // damage phantom handle based relationships
                alter(p, "inc1");
                build(p);
-               assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles/,<codep(Code.class[Code"));
+               assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles/;<codep(Code.class[Code"));
                assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles<p{B.java[B"));
 
                // This alteration removes B.java, the build should not damage phantom handle based relationships
@@ -3705,7 +3705,7 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
                                + File.separatorChar + "p" + File.separatorChar + "B.java";
                (new File(fileB)).delete();
                build(p);
-               assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles/,<codep(Code.class[Code"));
+               assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles/;<codep(Code.class[Code"));
                assertNull(getModelFor(p).getRelationshipMap().get("=inpathHandles<p{B.java[B"));
        }
 
@@ -3741,7 +3741,7 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
                        pw.flush();
                } catch (Exception e) {
                }
-               List<IRelationship> l = getModelFor(p).getRelationshipMap().get("=inpathHandles/,wibble<codep(Code.class[Code");
+               List<IRelationship> l = getModelFor(p).getRelationshipMap().get("=inpathHandles/;wibble<codep(Code.class[Code");
                assertNotNull(l);
        }
 
@@ -3770,7 +3770,7 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
 
                // This build will weave a declare parents into the inpath class codep.A and codep.B
                build(p);
-               assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles2/,<codep(A.class[A"));
+               assertNotNull(getModelFor(p).getRelationshipMap().get("=inpathHandles2/;<codep(A.class[A"));
 
                // Not let us delete one of the inpath .class files
                assertTrue(new File(inpathDir, "codep" + File.separator + "A.class").delete());