Browse Source

formatted

tags/V1_6_10RC1
aclement 14 years ago
parent
commit
41cc31ad1b
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      weaver/testsrc/org/aspectj/weaver/bcel/TjpWeaveTestCase.java

+ 7
- 7
weaver/testsrc/org/aspectj/weaver/bcel/TjpWeaveTestCase.java View File

} }


public void testStaticTjp() throws IOException { 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); Advice.ThisJoinPointStaticPart, -1, -1, null, null);


weaveTest("HelloWorld", "StaticTjpBeforeHelloWorld", munger); weaveTest("HelloWorld", "StaticTjpBeforeHelloWorld", munger);
} }


public void testEnclosingStaticTjp() throws IOException { 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); Advice.ThisEnclosingJoinPointStaticPart, -1, -1, null, null);


weaveTest("HelloWorld", "StaticEnclosingTjpBeforeHelloWorld", munger); weaveTest("HelloWorld", "StaticEnclosingTjpBeforeHelloWorld", munger);
} }


public void testTjp() throws IOException { 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); weaveTest("HelloWorld", "TjpBeforeHelloWorld", munger);
} }

Loading…
Cancel
Save