summaryrefslogtreecommitdiffstats
path: root/weaver5
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-11-29 20:46:58 +0000
committeracolyer <acolyer>2005-11-29 20:46:58 +0000
commit20e7098a0568e6192fa0e8d92dbdf2d2cccb86b6 (patch)
tree45cfb256ef6ef5daa640955a2d62a24ca96ec8f1 /weaver5
parentbf97cc20ba2315b0e72b239f66c20bc474984789 (diff)
downloadaspectj-20e7098a0568e6192fa0e8d92dbdf2d2cccb86b6.tar.gz
aspectj-20e7098a0568e6192fa0e8d92dbdf2d2cccb86b6.zip
a way to run the pointcut parser tests under 1.5 and have the weaver5 types visible (not linked to main suite...)
Diffstat (limited to 'weaver5')
-rw-r--r--weaver5/java5-testsrc/AllWeaver5Tests.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/weaver5/java5-testsrc/AllWeaver5Tests.java b/weaver5/java5-testsrc/AllWeaver5Tests.java
new file mode 100644
index 000000000..f0ef453c6
--- /dev/null
+++ b/weaver5/java5-testsrc/AllWeaver5Tests.java
@@ -0,0 +1,28 @@
+import org.aspectj.weaver.TestJava5ReflectionBasedReferenceTypeDelegate;
+import org.aspectj.weaver.patterns.ArgsTestCase;
+import org.aspectj.weaver.patterns.ThisOrTargetTestCase;
+import org.aspectj.weaver.tools.Java15PointcutExpressionTest;
+import org.aspectj.weaver.tools.PointcutExpressionTest;
+import org.aspectj.weaver.tools.PointcutParserTest;
+import org.aspectj.weaver.tools.TypePatternMatcherTest;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllWeaver5Tests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Test for default package");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(TestJava5ReflectionBasedReferenceTypeDelegate.class);
+ suite.addTestSuite(Java15PointcutExpressionTest.class);
+ suite.addTestSuite(ArgsTestCase.class);
+ suite.addTestSuite(ThisOrTargetTestCase.class);
+ suite.addTestSuite(PointcutExpressionTest.class);
+ suite.addTestSuite(PointcutParserTest.class);
+ suite.addTestSuite(TypePatternMatcherTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}