소스 검색

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

Loading…
취소
저장