public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ public void testParserProblemSubArrayPatterns_pr148508() {
+ runTest("parser problem for array subtypes");
+ }
+
+ public void testVarargs_pr265418() {
+ runTest("varargs");
+ }
+
public void testIncorrectDateResolution_pr265360() {
runTest("incorrect resolution of Date");
}
-
+
public void testDualPreClinit_pr233032() {
runTest("dual preClinit");
}
<suite>
+ <ajc-test dir="bugs164/pr265418" title="varargs">
+ <compile files="A.java" options="-1.5"/>
+ <run class="A">
+ <stdout>
+ <line text="varargs call(void A.a(Object[]))"/>
+ <line text="varargs call(void A.b(String[]))"/>
+ <line text="varargs call(void A.c(Integer[]))"/>
+ <line text="arrays call(void A.d(Object[]))"/>
+ <line text="arrays call(void A.e(String[]))"/>
+ <line text="arrays call(void A.f(Integer[]))"/>
+ </stdout>
+ </run>
+ </ajc-test>
+
+ <ajc-test dir="bugs164" title="parser problem for array subtypes">
+ <compile files="PR148508.java"/>
+ <run class="PR148508">
+ </run>
+ </ajc-test>
+
+
<ajc-test dir="bugs164/pr265360" title="incorrect resolution of Date">
<compile files="Foo.java Main.java" options="-1.5">
<message kind="warning" text="no match for this type name: Date "/>
<message kind="warning" test="advice defined in"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="bugs164/pr233032" title="dual preClinit">
<compile files="A.java" options="-1.5"/>
<run class="A"/>