View | Details | Raw Unified | Return to bug 134541 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java (+10 lines)
Lines 822-827 Link Here
822
		checkXMLAspectCount("PR131505","pkg.A",1);
822
		checkXMLAspectCount("PR131505","pkg.A",1);
823
	}
823
	}
824
	
824
	
825
	public void testPr134541() {
826
		initialiseProject("PR134541");
827
		build("PR134541");
828
		assertEquals("[Xlint:adviceDidNotMatch] should be associated with line 5",5,
829
				((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine());
830
		alter("PR134541","inc1");
831
		build("PR134541");
832
		assertEquals("[Xlint:adviceDidNotMatch] should now be associated with line 7",7,
833
				((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine());
834
	}
825
	
835
	
826
	// other possible tests:
836
	// other possible tests:
827
	// - memory usage (freemem calls?)
837
	// - memory usage (freemem calls?)
(-)multiIncremental/PR134541/base/A.aj (+8 lines)
Added Link Here
1
public aspect A {
2
	
3
	pointcut p() : execution(* *.*(..));
4
	
5
	before() : p() {
6
	}
7
	
8
}
(-)multiIncremental/PR134541/inc1/A.aj (+10 lines)
Added Link Here
1
public aspect A {
2
	
3
	pointcut p() : execution(* *.*(..));
4
	
5
	
6
	
7
	before() : p() {
8
	}
9
	
10
}

Return to bug 134541