]> source.dussan.org Git - aspectj.git/commitdiff
a way to run the pointcut parser tests under 1.5 and have the weaver5 types visible...
authoracolyer <acolyer>
Tue, 29 Nov 2005 20:46:58 +0000 (20:46 +0000)
committeracolyer <acolyer>
Tue, 29 Nov 2005 20:46:58 +0000 (20:46 +0000)
weaver5/java5-testsrc/AllWeaver5Tests.java [new file with mode: 0644]

diff --git a/weaver5/java5-testsrc/AllWeaver5Tests.java b/weaver5/java5-testsrc/AllWeaver5Tests.java
new file mode 100644 (file)
index 0000000..f0ef453
--- /dev/null
@@ -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;
+       }
+
+}