aboutsummaryrefslogtreecommitdiffstats
path: root/aspectj5rt/testsrc/Aspectj5rtModuleTests.java
blob: 6681a2f1142686bcfb96b7e02152f2304629776d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* *******************************************************************
 * 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;
    }

}