org.aspectj/loadtime5/testsrc/org/aspectj/loadtime/Loadtime5ModuleTests.java

38 lines
1.2 KiB
Java
Raw Normal View History

package org.aspectj.loadtime;
/*******************************************************************************
* 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: (See CVS logs)
*
*******************************************************************************/
import org.aspectj.testing.util.TestUtil;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
*/
public class Loadtime5ModuleTests extends TestCase {
public static Test suite() {
TestSuite suite = new TestSuite(Loadtime5ModuleTests.class.getName());
2005-06-09 01:35:21 +02:00
if (TestUtil.is15VMOrGreater()) {
TestUtil.loadTestsReflectively(suite, "Loadtime515ModuleTests", true);
} else {
suite.addTest(TestUtil.testNamed("all tests require 1.5"));
}
return suite;
}
public static void main(String[] args) {
junit.textui.TestRunner.main(new String[] {Loadtime5ModuleTests.class.getName()});
}
}