blob: b4569a8b10292ca35398838fdf19f643bcbb9985 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
<suite>
<ajc-test dir="features160/weavingJavaxPackage" title="weave javax classes - no">
<compile files="A.java B.java" />
<compile files="X.aj" outjar="code.jar" options="-1.8 -Xlint:ignore"/>
<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="(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 B.java" />
<compile files="X.aj" outjar="code.jar" options="-1.8 -Xlint:ignore"/>
<run class="javax.foo.A" classpath="code.jar" ltw="aop2.xml">
<stdout>
<line text="advised"/>
<line text="(A) method running"/>
<line text="advised"/>
<line text="(B) method running"/>
</stdout>
</run>
</ajc-test>
</suite>
|