org.aspectj/aspectj5rt/testsrc/Aspectj5rtModuleTests.java
2005-06-08 23:35:21 +00:00

33 lines
1.1 KiB
Java

/* *******************************************************************
* 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;
}
}