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

(-)src/org/aspectj/systemtest/ajc152/Ajc152Tests.java (+2 lines)
Lines 108-113 Link Here
108
  public void testJRockitBooleanReturn_pr148007() { runTest("jrockit boolean fun");}
108
  public void testJRockitBooleanReturn_pr148007() { runTest("jrockit boolean fun");}
109
  public void testJRockitBooleanReturn2_pr148007() { runTest("jrockit boolean fun (no aspects)");}
109
  public void testJRockitBooleanReturn2_pr148007() { runTest("jrockit boolean fun (no aspects)");}
110
  public void testSyntheticAjcMembers_pr147711() { runTest("synthetic ajc$ members"); }
110
  public void testSyntheticAjcMembers_pr147711() { runTest("synthetic ajc$ members"); }
111
  public void testSeparateCallAspectOf_pr148727() { runTest("separate compilation calling aspectOf and hasAspect"); }
112
  public void testIntegratedCallAspectOf_pr148727() { runTest("integrated compilation calling aspectOf and hasAspect"); }
111
  
113
  
112
  public void testDeclareAtMethodRelationship_pr143924() {
114
  public void testDeclareAtMethodRelationship_pr143924() {
113
	  //AsmManager.setReporting("c:/debug.txt",true,true,true,true);
115
	  //AsmManager.setReporting("c:/debug.txt",true,true,true,true);
(-)src/org/aspectj/systemtest/ajc152/ajc152.xml (+22 lines)
Lines 783-786 Link Here
783
        <compile files="TheWholeShow.aj" options="-1.5"/>
783
        <compile files="TheWholeShow.aj" options="-1.5"/>
784
        <run class="TheWholeShow"/>
784
        <run class="TheWholeShow"/>
785
    </ajc-test>    
785
    </ajc-test>    
786
    
787
    <ajc-test dir="bugs152/pr148727"  pr="148727"
788
		title="integrated compilation calling aspectOf and hasAspect"  >
789
	    <compile files="Asp.aj, Client.java" options="-source 1.4"/>
790
        <run class="Client">
791
          <stdout>
792
            <line text="Can call aspectOf? Asp@"/>
793
          </stdout>
794
        </run>
795
    </ajc-test>
796
797
    <ajc-test dir="bugs152/pr148727"  pr="148727"
798
		title="separate compilation calling aspectOf and hasAspect"  >
799
	    <compile files="Asp.aj" outjar="asp.jar"/>
800
	    <compile files="Client.java" classpath="asp.jar" options="-source 1.4"/>
801
        <run class="Client">
802
          <stdout>
803
            <line text="Can call aspectOf? Asp@"/>
804
          </stdout>
805
        </run>
806
    </ajc-test>
807
786
</suite>
808
</suite>
(-)bugs152/pr148727/Asp.aj (+2 lines)
Added Link Here
1
public aspect Asp {
2
}
(-)bugs152/pr148727/Client.java (+6 lines)
Added Link Here
1
public class Client {
2
    public static void main(String argz[]) {
3
        assert(Asp.hasAspect());
4
        System.out.println("Can call aspectOf? "+Asp.aspectOf());
5
    }
6
}

Return to bug 148727