12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
-
- <suite>
-
- <ajc-test dir="bugs1612/pr339974" title="itit npe">
- <compile files="City.java TrafficCalculator.java" options="-1.5">
- <message kind="error" text="The nested type TrafficCalculator cannot hide an enclosing type"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs1612/pr342605" title="noimporterror">
- <compile files="Code.java" options="-1.5 -noImportError"/>
- <run class="Code"/>
- </ajc-test>
-
- <ajc-test dir="bugs1612/pr342323" title="clashing local types">
- <compile files="Runner.java Bean.java Azpect.java" options="-1.5"/>
- <run class="ppp.Runner">
- <stdout>
- <line text="Calling regular method"/>
- <line text="class"/>
- <line text="Calling itd method"/>
- <line text="aspect foo"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs1612/pr338175" title="itit">
- <compile files="pack1/Aspect.java pack2/Java.java pack2/Java2.java" options="-1.5">
- <message kind="error" text="Duplicate nested type ITIT"/>
- <message kind="error" text="can't determine modifiers"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs1612/pr292239" title="throws clause">
- <compile files="Code.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'method-execution(void mypackage.Code.n())' in Type 'mypackage.Code' (Code.java:19) advised by afterThrowing advice from 'mypackage.Azpect' (Code.java:9)"/>
- </compile>
- <run class="mypackage.Code">
- <stdout>
- <line text="caught it"/>
- <line text="done"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs1612/pr292239" title="throws clause - 2">
- <compile files="Code2.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'method-execution(void mypackage.Code2.n2())' in Type 'mypackage.Code2' (Code2.java:17) advised by afterThrowing advice from 'mypackage.Azpect' (Code2.java:7)"/>
- </compile>
- <run class="mypackage.Code2">
- <stdout>
- <line text="caught it: execution(void mypackage.Code2.n2())"/>
- <line text="done"/>
- </stdout>
- </run>
- </ajc-test>
- <!--
-
-
- <ajc-test dir="bugs1611/pr336136" title="itit">
- <compile files="Country_Roo_Op4j.java">
- <message kind="error" text="The import com.foo cannot be resolved" line="1"/>
- <message kind="error" text="The import org.javaruntype cannot be resolved" line="3"/>
- <message kind="error" text="The import org.op4j cannot be resolved" line="4"/>
- <message kind="error" text="The import org.op4j cannot be resolved" line="5"/>
- <message kind="error" text="Country cannot be resolved to a type" line="9"/>
- <message kind="error" text="Function cannot be resolved to a type" line="11"/>
- <message kind="error" text="can't determine modifiers of missing type Country_Roo_Op4j$Keys"/>
- </compile>"
- </ajc-test>
-
- -->
-
-
- </suite>
|