|
|
@@ -4,22 +4,32 @@ |
|
|
|
<suite> |
|
|
|
|
|
|
|
<ajc-test dir="features160/weavingJavaxPackage" title="weave javax classes - no"> |
|
|
|
<compile files="A.java" /> |
|
|
|
<compile files="A.java B.java" /> |
|
|
|
<compile files="X.aj" outjar="code.jar"/> |
|
|
|
<run class="javax.foo.A" classpath="code.jar" ltw="aop1.xml"> |
|
|
|
<stderr> |
|
|
|
<line text="AspectJ Weaver Version"/> |
|
|
|
<line text="register classloader"/> |
|
|
|
<line text="using configuration"/> |
|
|
|
<line text="register aspect X"/> |
|
|
|
<line text="not being woven"/> |
|
|
|
</stderr> |
|
|
|
<stdout> |
|
|
|
<line text="Method running"/> |
|
|
|
<line text="(A) method running"/> |
|
|
|
<line text="(B) method running"/> |
|
|
|
</stdout> |
|
|
|
</run> |
|
|
|
</ajc-test> |
|
|
|
|
|
|
|
<ajc-test dir="features160/weavingJavaxPackage" title="weave javax classes - yes"> |
|
|
|
<compile files="A.java" /> |
|
|
|
<compile files="A.java B.java" /> |
|
|
|
<compile files="X.aj" outjar="code.jar"/> |
|
|
|
<run class="javax.foo.A" classpath="code.jar" ltw="aop2.xml"> |
|
|
|
<stdout> |
|
|
|
<line text="advised"/> |
|
|
|
<line text="Method running"/> |
|
|
|
<line text="(A) method running"/> |
|
|
|
<line text="advised"/> |
|
|
|
<line text="(B) method running"/> |
|
|
|
</stdout> |
|
|
|
</run> |
|
|
|
</ajc-test> |