浏览代码

formatted

tags/V1_6_10RC1
aclement 14 年前
父节点
当前提交
41cc31ad1b
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7
    7
      weaver/testsrc/org/aspectj/weaver/bcel/TjpWeaveTestCase.java

+ 7
- 7
weaver/testsrc/org/aspectj/weaver/bcel/TjpWeaveTestCase.java 查看文件

@@ -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);
}

正在加载...
取消
保存