]> source.dussan.org Git - aspectj.git/commitdiff
per clause tests for stack map generation
authoraclement <aclement>
Fri, 16 Dec 2011 00:03:04 +0000 (00:03 +0000)
committeraclement <aclement>
Fri, 16 Dec 2011 00:03:04 +0000 (00:03 +0000)
tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java
tests/src/org/aspectj/systemtest/ajc170/ajc170.xml

index e065a47169607fc276ebf21e21b73971bac13d4b..813d8444b992110b2de8251e8dbf8e297c5cc188 100644 (file)
@@ -21,6 +21,22 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
  */
 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");
index 2b775c1546d49898c2c1b9d49087f5e7aba8684f..816ea2feedebcdbfbca68020add6b8dec548b1f3 100644 (file)
@@ -2,6 +2,26 @@
 
 <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="'&lt;&gt;' operator is not allowed for source level below 1.7"/>