aboutsummaryrefslogtreecommitdiffstats
path: root/aspectj5rt/testsrc/org/aspectj/runtime/Aspectj5rtModuleTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'aspectj5rt/testsrc/org/aspectj/runtime/Aspectj5rtModuleTests.java')
-rw-r--r--aspectj5rt/testsrc/org/aspectj/runtime/Aspectj5rtModuleTests.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/aspectj5rt/testsrc/org/aspectj/runtime/Aspectj5rtModuleTests.java b/aspectj5rt/testsrc/org/aspectj/runtime/Aspectj5rtModuleTests.java
new file mode 100644
index 000000000..3eb333fe5
--- /dev/null
+++ b/aspectj5rt/testsrc/org/aspectj/runtime/Aspectj5rtModuleTests.java
@@ -0,0 +1,33 @@
+package org.aspectj.runtime;
+/* *******************************************************************
+ * Copyright (c) 2005 Contributors.
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Wes Isberg initial implementation
+ * ******************************************************************/
+
+// default package
+import org.aspectj.testing.util.TestUtil;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+public class Aspectj5rtModuleTests extends TestCase {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Aspectj5rt module tests");
+ if (TestUtil.is15VMOrGreater()) {
+ TestUtil.loadTestsReflectively(suite, "Aspectj5rt15ModuleTests", true);
+ } else {
+ suite.addTest(TestUtil.skipTest("for aspectj5rt that need 1.5"));
+ }
+ return suite;
+ }
+
+}