]> source.dussan.org Git - aspectj.git/commitdiff
formatted
authoraclement <aclement>
Tue, 17 Aug 2010 18:46:17 +0000 (18:46 +0000)
committeraclement <aclement>
Tue, 17 Aug 2010 18:46:17 +0000 (18:46 +0000)
weaver/testsrc/org/aspectj/weaver/bcel/TjpWeaveTestCase.java

index 4e5ff23635cff2d7004843e69cae3217960c8430..ee6d20e5e145d940186a21a535e723e7424a8c0f 100644 (file)
@@ -41,25 +41,25 @@ public class TjpWeaveTestCase extends WeaveTestCase {
        }
 
        public void testStaticTjp() throws IOException {
-               BcelAdvice munger = new BcelAdvice(AdviceKind.stringToKind("before"), makePointcutAll(), TestUtils
-                               .methodFromString("static void Aspect.ajc_before(org.aspectj.lang.JoinPoint$StaticPart)"),
+               BcelAdvice munger = new BcelAdvice(AdviceKind.stringToKind("before"), makePointcutAll(),
+                               TestUtils.methodFromString("static void Aspect.ajc_before(org.aspectj.lang.JoinPoint$StaticPart)"),
                                Advice.ThisJoinPointStaticPart, -1, -1, null, null);
 
                weaveTest("HelloWorld", "StaticTjpBeforeHelloWorld", munger);
        }
 
        public void testEnclosingStaticTjp() throws IOException {
-               BcelAdvice munger = new BcelAdvice(AdviceKind.stringToKind("before"), makePointcutAll(), TestUtils
-                               .methodFromString("static void Aspect.ajc_before(org.aspectj.lang.JoinPoint$StaticPart)"),
+               BcelAdvice munger = new BcelAdvice(AdviceKind.stringToKind("before"), makePointcutAll(),
+                               TestUtils.methodFromString("static void Aspect.ajc_before(org.aspectj.lang.JoinPoint$StaticPart)"),
                                Advice.ThisEnclosingJoinPointStaticPart, -1, -1, null, null);
 
                weaveTest("HelloWorld", "StaticEnclosingTjpBeforeHelloWorld", munger);
        }
 
        public void testTjp() throws IOException {
-               BcelAdvice munger = new BcelAdvice(AdviceKind.stringToKind("before"), makePointcutAll(), TestUtils
-                               .methodFromString("static void Aspect.ajc_before(org.aspectj.lang.JoinPoint)"), Advice.ThisJoinPoint, -1, -1, null,
-                               null);
+               BcelAdvice munger = new BcelAdvice(AdviceKind.stringToKind("before"), makePointcutAll(),
+                               TestUtils.methodFromString("static void Aspect.ajc_before(org.aspectj.lang.JoinPoint)"), Advice.ThisJoinPoint, -1,
+                               -1, null, null);
 
                weaveTest("HelloWorld", "TjpBeforeHelloWorld", munger);
        }