diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-03-23 11:55:22 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-03-23 11:55:22 +0700 |
commit | 63d5e3e893bd149245465de1610716930998dec8 (patch) | |
tree | 420989784f87ec0c449b4a759ba8582157cffa39 /tests | |
parent | 8c15d83a466843b5dba8ba454329baaca0080cc5 (diff) | |
download | aspectj-63d5e3e893bd149245465de1610716930998dec8.tar.gz aspectj-63d5e3e893bd149245465de1610716930998dec8.zip |
Fix more LTW tests
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml | 31 | ||||
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml | 2 |
2 files changed, 30 insertions, 3 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml index 975b35cd8..6e66e388e 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml @@ -221,7 +221,7 @@ <line text="Main.test1" /> <line text="Main.test2" /> </stdout> - <stderr> + <stderr ordered="no"> <line text="info AspectJ Weaver Version" /> <line text="info register classloader" /> <line text="info using" /> @@ -229,6 +229,33 @@ <line text="debug weaving 'ConcreteAspect'" /> <line text="debug generating class 'ConcreteAspect'" /> <line text="debug weaving 'Main'" /> + + <!-- In full LTW mode with weaver option '-debug' in aop.xml, the weaver prints this --> + <line text="debug cannot weave 'org.aspectj.lang.Signature'" /> + <line text="debug cannot weave 'org.aspectj.runtime.reflect.Factory'" /> + <line text="debug cannot weave 'org.aspectj.lang.JoinPoint$StaticPart'" /> + <line text="debug cannot weave 'org.aspectj.lang.JoinPoint$EnclosingStaticPart'" /> + <line text="debug cannot weave 'org.aspectj.lang.JoinPoint'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.MethodSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.CodeSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.MemberSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.ConstructorSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.FieldSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.AdviceSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.CatchClauseSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.LockSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.UnlockSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.InitializerSignature'" /> + <line text="debug cannot weave 'org.aspectj.lang.reflect.SourceLocation'" /> + <line text="debug cannot weave 'org.aspectj.runtime.reflect.MethodSignatureImpl'" /> + <line text="debug cannot weave 'org.aspectj.runtime.reflect.CodeSignatureImpl'" /> + <line text="debug cannot weave 'org.aspectj.runtime.reflect.MemberSignatureImpl'" /> + <line text="debug cannot weave 'org.aspectj.runtime.reflect.SignatureImpl'" /> + <line text="debug cannot weave 'org.aspectj.runtime.reflect.SignatureImpl$Cache'" /> + <line text="debug cannot weave 'org.aspectj.runtime.reflect.JoinPointImpl$StaticPartImpl'" /> + <line text="debug cannot weave 'org.aspectj.runtime.reflect.SourceLocationImpl'" /> + <line text="debug cannot weave 'org.aspectj.lang.NoAspectBoundException'" /> + <line text="AbstractSuperAspect.before_test1" /> </stderr> </run> @@ -244,7 +271,7 @@ text="this affected type is not exposed to the weaver: TestITDMethod" /> </compile> <run class="TestITDMethod" options="test" - ltw="aop-abstractaspect.xml"> + ltw="aop-abstractaspect.xml" usefullltw="true"> <stdout> <line text="TestITDMethod.main" /> </stdout> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml index 11049dcf9..aade93bf6 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml @@ -13,7 +13,7 @@ <ajc-test dir="bugs1612/xmldefs" title="xml defined advice"> <compile files="Hello.java JavaHelper.java"/> - <run class="Hello" ltw="aop.xml"> + <run class="Hello" ltw="aop.xml" usefullltw="true"> <stdout> <line text="Hello"/> <line text="in advice"/> |