View | Details | Raw Unified | Return to bug 134471
Collapse All | Expand All

(-)src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java (+11 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 testPr134471() {
826
		configureNonStandardCompileOptions("-showWeaveInfo");
827
		initialiseProject("PR134471");
828
		build("PR134471");
829
		List firstBuildMessages = MyTaskListManager.getWeavingMessages();
830
		assertTrue("Should be at least one weave info message, but there were none",firstBuildMessages.size()>0);
831
		alter("PR134471","inc1");
832
		build("PR134471");
833
		List secondBuildMessages = MyTaskListManager.getWeavingMessages();
834
		assertTrue("Should be at least one weave info message, but there were none",secondBuildMessages.size()>0);
835
	}
825
	
836
	
826
	// other possible tests:
837
	// other possible tests:
827
	// - memory usage (freemem calls?)
838
	// - memory usage (freemem calls?)
(-)multiIncremental/PR134471/base/pkg/A.aj (+11 lines)
Added Link Here
1
package pkg;
2
3
public aspect A {
4
5
	pointcut p() : call(* pkg.*.*(..));
6
	
7
	before() : p() {
8
		    
9
	} 
10
}
11
(-)multiIncremental/PR134471/base/pkg/C.java (+12 lines)
Added Link Here
1
package pkg;
2
3
public class C {
4
	
5
	public void method(){
6
		new C().method2();
7
	}
8
	
9
	public void method2() {
10
		
11
	}
12
}
(-)multiIncremental/PR134471/inc1/pkg/A.aj (+11 lines)
Added Link Here
1
package pkg;
2
3
public aspect A {
4
5
	pointcut p() : call(* pkg.*.*(..));
6
	
7
	before() : p() {
8
		     
9
	} 
10
}
11

Return to bug 134471