aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org
diff options
context:
space:
mode:
authoraclement <aclement>2006-05-30 09:30:01 +0000
committeraclement <aclement>2006-05-30 09:30:01 +0000
commit7235e9d089fa2b12b835cbaab7c253cb1de0b563 (patch)
tree1f7de35ee9fd95e98d109c46239a891985acc0ee /tests/src/org
parent91f54fd96f209fe138228040673a59f9cf210a92 (diff)
downloadaspectj-7235e9d089fa2b12b835cbaab7c253cb1de0b563.tar.gz
aspectj-7235e9d089fa2b12b835cbaab7c253cb1de0b563.zip
tests for 122253
Diffstat (limited to 'tests/src/org')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/ajc152.xml64
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
index 18111ec69..4230c07f9 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
+++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
@@ -14,6 +14,70 @@
</stderr>
</run>
</ajc-test>
+
+ <ajc-test dir="bugs152/pr122253" title="aspects14 - persingleton">
+ <compile files="Singleton.java"/>
+ <run class="Singleton">
+ <stderr>
+ <line text="hasAspect? true : true"/>
+ <line text="aspectOf? SingletonInstance : SingletonInstance"/>
+ <line text="hasAspect? true : true"/>
+ <line text="aspectOf? SingletonInstance : SingletonInstance"/>
+ </stderr>
+ </run>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr122253" title="aspects14 - percflow">
+ <compile files="PerCflow.java"/>
+ <run class="PerCflow">
+ <stderr>
+ <line text="before"/>
+ <line text="hasAspect? false : false"/>
+ <line text="aspectOf? null : null"/>
+ <line text="during"/>
+ <line text="hasAspect? true : true"/>
+ <line text="aspectOf? PerCflowInstance : PerCflowInstance"/>
+ <line text="after"/>
+ <line text="hasAspect? false : false"/>
+ <line text="aspectOf? null : null"/>
+ </stderr>
+ </run>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr122253" title="aspects14 - perthis">
+ <compile files="PerThis.java"/>
+ <run class="PerThis">
+ <stderr>
+ <line text="before"/>
+ <line text="hasAspect? false : false"/>
+ <line text="aspectOf? null : null"/>
+ <line text="during"/>
+ <line text="hasAspect? true : true"/>
+ <line text="aspectOf? PerThisInstance : PerThisInstance"/>
+ <line text="after"/>
+ <line text="hasAspect? false : false"/>
+ <line text="aspectOf? null : null"/>
+ </stderr>
+ </run>
+ </ajc-test>
+
+ <ajc-test dir="bugs152/pr122253" title="aspects14 - pertypewithin">
+ <compile files="PerTypeWithin.java"/>
+ <run class="PerTypeWithin">
+ <stderr>
+ <line text="before"/>
+ <line text="hasAspect? false : false"/>
+ <line text="aspectOf? null : null"/>
+ <line text="during"/>
+ <line text="hasAspect? true : true"/>
+ <line text="aspectOf? PerTypeWithinInstance : PerTypeWithinInstance"/>
+ <line text="after"/>
+ <line text="hasAspect? false : false"/>
+ <line text="aspectOf? null : null"/>
+ </stderr>
+ </run>
+ </ajc-test>
+
<ajc-test dir="bugs152/pr126355" title="bizarre generic error with itds">
<compile files="Pair.java" options="-1.5"/>