Commit | Line | Data |
---|---|---|
866e5b51 FC |
1 | package org.eclipse.linuxtools.ctf.core.tests.types; |
2 | ||
3 | import org.junit.runner.JUnitCore; | |
4 | import org.junit.runner.RunWith; | |
5 | import org.junit.runners.Suite; | |
6 | ||
7 | /** | |
8 | * The class <code>TestAll</code> builds a suite that can be used to run all of | |
9 | * the tests within its package as well as within any subpackages of its | |
10 | * package. | |
11 | * | |
12 | * @author ematkho | |
13 | * @version $Revision: 1.0 $ | |
14 | */ | |
15 | @RunWith(Suite.class) | |
16 | @Suite.SuiteClasses({ StructDefinitionTest.class, IntegerDeclarationTest.class, | |
17 | EnumDefinitionTest.class, SequenceDeclarationTest.class, | |
18 | StructDeclarationTest.class, DefinitionTest.class, | |
19 | IntegerDefinitionTest.class, SequenceDefinitionTest.class, | |
20 | ArrayDefinitionTest.class, EnumDeclarationTest.class, | |
21 | StringDeclarationTest.class, ArrayDeclarationTest.class, | |
22 | VariantDefinitionTest.class, VariantDeclarationTest.class, | |
23 | StringDefinitionTest.class, EventDeclarationTest.class, }) | |
24 | public class TestAll { | |
25 | ||
26 | /** | |
27 | * Launch the test. | |
28 | * | |
29 | * @param args | |
30 | * the command line arguments | |
31 | */ | |
32 | public static void main(String[] args) { | |
33 | JUnitCore.runClasses(new Class[] { TestAll.class }); | |
34 | } | |
35 | } |