package org.aspectj.systemtest.ajc162;
import java.io.File;
-import java.io.PrintWriter;
import junit.framework.Test;
-import org.aspectj.asm.AsmManager;
import org.aspectj.testing.XMLBasedAjcTestCase;
public class Ajc162Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// what I want for the hid is:
// <somethingIndicatingBinary>"[Asp.class}Asp&before"
-/*
- public void testBinaryAspectModeling() throws Exception {
- runTest("binary aspects model");
- AsmManager.dumptree(AsmManager.getDefault().getHierarchy().getRoot(), 0);
- PrintWriter pw = new PrintWriter(System.out);
- AsmManager.getDefault().dumprels(pw);
- pw.flush();
- }
-*/
+ /*
+ * public void testBinaryAspectModeling() throws Exception { runTest("binary aspects model");
+ * AsmManager.dumptree(AsmManager.getDefault().getHierarchy().getRoot(), 0); PrintWriter pw = new PrintWriter(System.out);
+ * AsmManager.getDefault().dumprels(pw); pw.flush(); }
+ */
public void testPerClause() {
runTest("ltw perclause");
}
+ public void testNullDelegateForArray_pr247683() {
+ runTest("null delegate for array");
+ }
+
public void testPerClause2() {
runTest("ltw perclause - 2");
}
}
// public void testParamAnnosPipelining_pr241847() { runTest("param annos pipelining");}
- // public void testParamAnnoInner_pr241861() { runTest("param annotation inner class"); }
+ // public void testParamAnnoInner_pr241861() {
+ // runTest("param annotation inner class");
+ // }
+ //
+ // public void testParamAnnoInner_pr241861_2() {
+ // runTest("param annotation inner class - 2");
+ // }
+ //
+ // public void testParamAnnoInner_pr241861_3() {
+ // runTest("param annotation inner class - 3");
+ // }
+
public void testAnnotationDecp_pr239441() {
runTest("annotation decp");
}
<!-- AspectJ v1.6.2 Tests -->
<suite>
+
+ <ajc-test dir="bugs162/pr247683" title="null delegate for array">
+ <compile options="-1.5" files="A.java"/>
+ </ajc-test>
+
<ajc-test dir="bugs162/IntoBinary" title="binary aspects model">
<compile options="-1.5 -emacssym" files="Clazz.java" aspectpath="binaryaspect.jar"/>
</ajc-test>
</compile>
</ajc-test>
+ <ajc-test dir="bugs162/pr241861" title="param annotation inner class - 2">
+ <compile files="X.java" options="-1.5 -showWeaveInfo">
+ <message kind="weave" text="fubar"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs162/pr241861" title="param annotation inner class - 3">
+ <compile files="Y.java" options="-1.5 -showWeaveInfo">
+ <message kind="weave" text="fubar"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs162/pr240693" title="privileged generics">
<compile files="PayloadClass.java SomeInterface.java GenericClassInAdvice.java" options="-1.5">
</compile>