*/
public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ public void testPerThis() {
+ runTest("perthis");
+ }
+
+ public void testPerTarget() {
+ runTest("pertarget");
+ }
+
+ public void testPerCflow() {
+ runTest("percflow");
+ }
+
+ public void testPerTypeWithin() {
+ runTest("pertypewithin");
+ }
+
// not specifying -1.7
public void testDiamond1() {
runTest("diamond 1");
<suite>
+ <ajc-test dir="bugs170/language" title="perthis">
+ <compile files="PerThis.java" options="-1.7">
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs170/language" title="pertarget">
+ <compile files="PerTarget.java" options="-1.7">
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs170/language" title="percflow">
+ <compile files="PerCflow.java" options="-1.7">
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs170/language" title="pertypewithin">
+ <compile files="PerTypeWithin.java" options="-1.7">
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs170/language" title="diamond 1">
<compile files="Diamond.java" options="-1.5">
<message kind="error" line="11" text="'<>' operator is not allowed for source level below 1.7"/>