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 (+14 lines)
Lines 846-851 Link Here
846
				  decisions.indexOf(expect)!=-1);
846
				  decisions.indexOf(expect)!=-1);
847
	}
847
	}
848
	
848
	
849
	public void testPr134541() {
850
		initialiseProject("PR134541");
851
		build("PR134541");
852
		assertEquals("[Xlint:adviceDidNotMatch] should be associated with line 5",5,
853
				((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine());
854
		alter("PR134541","inc1");
855
		build("PR134541");
856
		checkWasntFullBuild(); // we've only added a white space therefore we 
857
		                       // shouldn't be doing a full build
858
		assertEquals("[Xlint:adviceDidNotMatch] should now be associated with line 7",7,
859
				((IMessage)MyTaskListManager.getWarningMessages().get(0)).getSourceLocation().getLine());
860
	}
861
	
862
	
849
	// other possible tests:
863
	// other possible tests:
850
	// - memory usage (freemem calls?)
864
	// - memory usage (freemem calls?)
851
	// - relationship map
865
	// - relationship map
(-)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