diff options
author | aclement <aclement> | 2005-08-18 07:52:18 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-08-18 07:52:18 +0000 |
commit | 5242ef35b0b8dcc158069807a1226a318f0b86d5 (patch) | |
tree | 051f28ce6046ea218d64d81ac2b702c68c2c5c13 /tests/src | |
parent | 7951b5c0e225d188310e10f8d1bd91f77dc44465 (diff) | |
download | aspectj-5242ef35b0b8dcc158069807a1226a318f0b86d5.tar.gz aspectj-5242ef35b0b8dcc158069807a1226a318f0b86d5.zip |
test for pr93356 and generic binary weaving itds
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 9d112b4a2..7876299cf 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -225,6 +225,26 @@ <message kind="warning" line="9" text="should match"/> </compile> </ajc-test> + + <ajc-test dir="java5/varargs" title="Varargs with .. in pointcut" vm="1.5"> + <compile files="pr93356.aj" options="-1.5"> + <message kind="warning" line="5" text="a"/> + <message kind="warning" line="5" text="b"/> + <message kind="warning" line="5" text="c"/> + <message kind="warning" line="5" text="d"/> + <message kind="warning" line="5" text="e"/> + <message kind="warning" line="5" text="k"/> + <message kind="warning" line="5" text="l"/> + + <message kind="warning" line="4" text="f"/> + <message kind="warning" line="4" text="g"/> + <message kind="warning" line="4" text="h"/> + <message kind="warning" line="4" text="i"/> + <message kind="warning" line="4" text="j"/> + + <message kind="warning" line="7" text="f"/> + </compile> + </ajc-test> <ajc-test dir="java5/varargs" title="star varargs pattern" vm="1.5"> <compile files="StarVarargsPattern.aj" options="-1.5"> @@ -2870,6 +2890,43 @@ <!-- end of generic decps --> + <!-- generics/itds and binary weaving --> + + <ajc-test dir="java5/generics/itds/binaryweaving" vm="1.5" title="binary weaving ITDs - 1"> + <compile files="BaseClass.java" outjar="code.jar" options="-1.5,-Xreweavable"/> + <compile files="A1.aj" inpath="code.jar" options="-1.5,-Xreweavable"/> + <run class="BaseClass"> + <stderr> + <line text="Advice from A1 ran successfully"/> + </stderr> + </run> + </ajc-test> + + <ajc-test dir="java5/generics/itds/binaryweaving" vm="1.5" title="binary weaving ITDs - 2"> + <compile files="BaseClass.java,A1.aj" outjar="code.jar" options="-1.5,-Xreweavable"/> + <compile files="A2.aj" inpath="code.jar" options="-1.5,-Xreweavable"/> + <run class="BaseClass"> + <stderr> + <line text="Advice from A1 ran successfully"/> + <line text="Advice from A2 ran successfully"/> + </stderr> + </run> + </ajc-test> + + <ajc-test dir="java5/generics/itds/binaryweaving" vm="1.5" title="binary weaving ITDs - 3"> + <compile files="BaseClass.java,A1.aj,A2.aj" outjar="code.jar" options="-1.5,-Xreweavable"/> + <compile files="A3.aj" inpath="code.jar" options="-1.5,-Xreweavable"/> + <run class="BaseClass"> + <stderr> + <line text="Advice from A1 ran successfully"/> + <line text="Advice from A2 ran successfully"/> + <line text="Advice from A3 ran successfully"/> + </stderr> + </run> + </ajc-test> + + <!-- end of generics/itds and binary weaving --> + <!-- generics and pointcuts --> <ajc-test dir="java5/generics/pointcuts" title="handler pcd and generics / type vars"> |