123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
-
- <suite>
-
-
- <ajc-test dir="bugs167/pr296533" title="generic aspect signatures">
- <compile files="testing/AbstractCache.aj testing/Resource.java testing/ResourceCache.aj testing/ResourceManager.java testing/TestRunner.java" options="-1.5"/>
- <run class="testing.TestRunner">
- <stdout>
- <line text="Cache hits: 5"/>
- <line text="Cache hits: 2"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr296501" title="optimizing string anno value binding">
- <compile files="StringBinding.java" options="-1.5"/>
- <run class="StringBinding">
- <stdout>
- <line text="hello world"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr296484" title="optimizing annotation binding">
- <compile files="AnnoBinding.java" options="-1.5"/>
- <run class="AnnoBinding"/>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr296484" title="optimizing annotation binding - 2">
- <compile files="Perf.java" options="-1.5"/>
- <run class="Perf"/>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr295092" title="perthis ltw">
- <compile files="AbstractAspect.aj" options="-1.5" outjar="aspects.jar"/>
- <compile files="Wibble.java"/>
- <run class="Wibble" ltw="aop.xml" classpath="aspects.jar"/>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr296054" title="npe on broken code">
- <compile files="Demo.java AnnotAspect.aj" options="-1.5 -emacssym">
- <message kind="error" text="The value for"/>
- <message kind="error" text="cannot convert"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr296040" title="broken generated code">
- <compile files="ErrorClass.java" options="-1.5" classpath="gc10rc4.jar"/>
- <run class="ErrorClass"/>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr293457" title="hierarchy builder npe">
- <compile files="com/citi/gdos/smart/applib/service/cache/CachingIntroduction.aj org/springmodules/cache/annotations/Cacheable.java" options="-1.5 -emacssym">
- <message kind="warning" text="no match for this type name: Setter"/>
- <message kind="error" text="Setter cannot be resolved to a type"/>
- <message kind="error" text="The attribute modelId is undefined for the"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="features167/timers/one" title="timers - 1">
- <compile files="Code.java Code2.java" outjar="code.jar" options="-1.5 -Xlint:ignore"/>
- <compile files="Asp.java" options="-1.5 -Xlint:ignore" outjar="asp.jar"/>
- <run class="Code2" ltw="aop.xml" classpath="code.jar;asp.jar">
- <stderr>
- <line text="info AspectJ"/>
- <line text="info register"/>
- <line text="info using"/>
- <line text="info register"/>
- <line text="info Pointcut match"/>
- <line text="info Time"/>
- <line text="info ---"/>
- <line text="info processing"/>
- <line text="info Pointcut fast"/>
- <line text="info Time"/>
- <line text="info ---"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="features167/timers/one" title="timers - 2">
- <compile files="Code.java Code2.java Asp.java" options="-1.5 -timers -Xset:timersPerJoinpoint=8,timersPerFastMatchCall=3">
- <!-- <line text="info AspectJ"/>
- <line text="info register"/>
- <line text="info using"/>
- <line text="info register"/>
- <line text="info processing"/>
- <line text="info Pointcut fast"/>
- <line text="info Time"/>
- <line text="info -"/>
- <line text="info Pointcut match"/>
- <line text="info Time"/>
- <line text="info -"/>
- -->
- </compile>
- </ajc-test>
-
-
- <ajc-test dir="bugs167/pr293510" title="execution fastmatch - 1">
- <compile files="CaseOne.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'method-execution(void pkg.C.m())' in Type 'pkg.C' (CaseOne.java:10) advised by before advice from 'pkg.X' (CaseOne.java:14)"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr293510" title="execution fastmatch - 2">
- <compile files="CaseTwo.java" options="-1.5 -showWeaveInfo">
- <message kind="weave" text="Join point 'method-execution(void pkg.C.m())' in Type 'pkg.C' (CaseTwo.java:9) advised by before advice from 'pkg.X' (CaseTwo.java:13)"/>
- </compile>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr293203" title="anno matching">
- <compile files="Foo.java" options="-1.5"/>
- <run class="Foo">
- <stdout>
- <line text="advice"/>
- <line text="advice"/>
- <line text="advice"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr288064" title="outer class names - scala">
- <compile files="Main.java Outer.java Aspect.java" options="-1.5"/>
- <run class="test.Main">
- <stdout>
- <line text="advice"/>
- <line text="method"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="bugs167/pr288064" title="outer class names - scala - ltw">
- <compile files="Main.java Outer.java" outjar="app.jar" options="-1.5"/>
- <compile files="Aspect.java" outjar="asp.jar" options="-Xlint:ignore -1.5"/>
- <run class="test.Main" classpath="app.jar;asp.jar" ltw="aop.xml">
- <stdout>
- <line text="advice"/>
- <line text="method"/>
- </stdout>
- </run>
- </ajc-test>
-
- </suite>
|