diff options
author | Andy Clement <aclement@pivotal.io> | 2019-01-30 16:55:38 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-01-30 16:55:38 -0800 |
commit | 2b24e7377da7c849fe7f9f4fa06a701664f9d27d (patch) | |
tree | 64c36c8fcf29633af7a5e2f7405b94cbec629ca8 /tests/src/test/resources/org/aspectj/systemtest/ajc187 | |
parent | d60de8d0b3e62eb36b612a824bb9345d865c0155 (diff) | |
download | aspectj-2b24e7377da7c849fe7f9f4fa06a701664f9d27d.tar.gz aspectj-2b24e7377da7c849fe7f9f4fa06a701664f9d27d.zip |
mavenizing tests - wip
Diffstat (limited to 'tests/src/test/resources/org/aspectj/systemtest/ajc187')
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc187/ajc187.xml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc187/ajc187.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc187/ajc187.xml new file mode 100644 index 000000000..dfa22f696 --- /dev/null +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc187/ajc187.xml @@ -0,0 +1,67 @@ +<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]> + +<suite> + +<ajc-test dir="bugs187/476245" title="compile error"> +<compile files="Testing.java" options="-1.8"/> +</ajc-test> + +<ajc-test dir="bugs187/307147" title="missing joinpoint"> +<compile files="Test.java TestAspect.aj ITDAspect.aj" options="-1.8"/> +<run class="test.Test"> +<stdout> +<line text="Around call(void test.Test.function())"/> +<line text="Normal function"/> +<line text="Around call(void test.Test.privateMethod())"/> +<line text="private method"/> +<line text="Around call(void test.Test.publicMethod())"/> +<line text="public method"/> +<line text="Around call(void test.Test.itdFunction())"/> +<line text="ITD function"/> +<line text="Around call(void test.Test.privateMethod())"/> +<line text="private method"/> +<line text="Around call(void test.Test.publicMethod())"/> +<line text="public method"/> +</stdout></run> +</ajc-test> + +<ajc-test dir="bugs187/307147_2" title="missing joinpoint 2"> +<compile files="Test.java TestAspect.aj ITDAspect.aj" options="-1.8"/> +<run class="test.Test"> +<stdout> +<line text="ITD function"/> +<line text="Around call(void test.Test.privateMethod(String))"/> +<line text="Captured Foo"/> +<line text="hello FOO"/> +</stdout></run> +</ajc-test> + +<ajc-test dir="bugs187/475152" title="infinite loop"> +<compile files="AbstractAspect.aj, BaseAspect.aj, TestClass.java, AjTarget.java, TestAspect.aj" options="-1.8"/> +</ajc-test> + +<ajc-test dir="bugs187/469889" title="broken java"> +<!-- +<compile files="A.java B.java AbstractA.java BImpl.java Main.java" options="-1.8"/> +--> +<compile files="Code.java" options="-1.8"/> +<run class="Code"> +<stdout> +<line text="B"/> +</stdout> +</run> +</ajc-test> + + +<ajc-test dir="bugs187/470633" title="lambda"> +<compile files="Maps.java" options="-1.8"/> +</ajc-test> + +<ajc-test dir="bugs187/474165" title="anno conversion"> +<compile files="B.java" options="-XhasMember -1.8 -showWeaveInfo"> +<message kind="weave" text="Extending interface set for type 'B' (B.java) to include 'java.io.Serializable' (B.java)"/> +</compile> +<run class="B"></run> +</ajc-test> + +</suite> |