aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-03-12 02:10:40 +0000
committerjhugunin <jhugunin>2003-03-12 02:10:40 +0000
commitad5377fcb2342ae792702a6641421620fceee244 (patch)
tree7705ecf82c4370c21ffe969887b7cadcd1bbf857 /weaver/testsrc
parent0fb5f693794e571ab693813cbc80578b2bc7b470 (diff)
downloadaspectj-ad5377fcb2342ae792702a6641421620fceee244.tar.gz
aspectj-ad5377fcb2342ae792702a6641421620fceee244.zip
implemented fastMatch method along with some basic tests of
weave performance with and without it
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/bcel/ZipTestCase.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/bcel/ZipTestCase.java b/weaver/testsrc/org/aspectj/weaver/bcel/ZipTestCase.java
index c39dad22a..ecc961a75 100644
--- a/weaver/testsrc/org/aspectj/weaver/bcel/ZipTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/bcel/ZipTestCase.java
@@ -51,6 +51,7 @@ public class ZipTestCase extends TestCase {
weaver.addLibraryJarFile(new File(aspectjar));
}
}
+ weaver.addLibraryJarFile(new File("testdata/Regex.jar")); //???
Collection woven = weaver.weave(outFile);
@@ -76,11 +77,24 @@ public class ZipTestCase extends TestCase {
zipTest("testdata/Regex.jar", "testdata/megatraceNoweave.jar", true);
}
- // this is something we test every now and again.
+
public void testBig() throws IOException {
System.out.println("could take 4 seconds...");
zipTest("../lib/bcel/bcel.jar", null);
}
+
+
+ public void testBigWithEasyNoTrace() throws IOException {
+ System.out.println("could take 4 seconds...");
+ zipTest("../lib/bcel/bcel.jar", "testdata/megatrace0easy.jar");
+ }
+
+ // this is something we test every now and again.
+ public void xtestBigWithHardNoTrace() throws IOException {
+ System.out.println("could take 24 seconds...");
+ zipTest("../lib/bcel/bcel.jar", "testdata/megatrace0hard.jar");
+ }
+
public void xtestBigWithAspects() throws IOException {
System.out.println("could take 40 seconds...");