summaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-20 22:49:11 +0000
committerjhugunin <jhugunin>2002-12-20 22:49:11 +0000
commit2c8295af23b94a7eaff57abf206f52abdc1dd02e (patch)
treef7030f3b5e06a565d67024546778e34e65b96c9b /weaver/testsrc
parent9081949c3aca2636eab2598b57ddbda16563dcee (diff)
downloadaspectj-2c8295af23b94a7eaff57abf206f52abdc1dd02e.tar.gz
aspectj-2c8295af23b94a7eaff57abf206f52abdc1dd02e.zip
fixed rules for overriding/inheriting pointcuts
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/bcel/IdWeaveTestCase.java54
1 files changed, 27 insertions, 27 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/bcel/IdWeaveTestCase.java b/weaver/testsrc/org/aspectj/weaver/bcel/IdWeaveTestCase.java
index 031bf1c8d..6372b386d 100644
--- a/weaver/testsrc/org/aspectj/weaver/bcel/IdWeaveTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/bcel/IdWeaveTestCase.java
@@ -76,32 +76,32 @@ public class IdWeaveTestCase extends WeaveTestCase {
}
// this test requires that Trace has been unzipped and placed in the correct place
- public void testTraceId() throws IOException {
- String saveClassDir = classDir;
- try {
- classDir = "testdata/dummyAspect.jar";
-
-
-
- final List l = new ArrayList();
- BcelAdvice p = new BcelAdvice(null, makePointcutAll(), null, 0, -1, -1, null, null) {
- public void implementOn(Shadow shadow) {
- l.add(shadow);
- }
- };
- boolean tempRunTests = runTests;
- runTests = false;
- weaveTest(new String[] {"DummyAspect"}, "Id", p);
- runTests = tempRunTests;
-
- checkShadowSet(l, new String[] {
- "constructor-execution(void DummyAspect.<init>())",
- // XXX waiting on parser stuff
- //"advice-execution(void DummyAspect.ajc_before_1(java.lang.Object))",
- });
- } finally {
- classDir = saveClassDir;
- }
- }
+// public void testTraceId() throws IOException {
+// String saveClassDir = classDir;
+// try {
+// classDir = "testdata/dummyAspect.jar";
+//
+//
+//
+// final List l = new ArrayList();
+// BcelAdvice p = new BcelAdvice(null, makePointcutAll(), null, 0, -1, -1, null, null) {
+// public void implementOn(Shadow shadow) {
+// l.add(shadow);
+// }
+// };
+// boolean tempRunTests = runTests;
+// runTests = false;
+// weaveTest(new String[] {"DummyAspect"}, "Id", p);
+// runTests = tempRunTests;
+//
+// checkShadowSet(l, new String[] {
+// "constructor-execution(void DummyAspect.<init>())",
+// // XXX waiting on parser stuff
+// //"advice-execution(void DummyAspect.ajc_before_1(java.lang.Object))",
+// });
+// } finally {
+// classDir = saveClassDir;
+// }
+// }
}