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. | |
51209785 | 11 | * |
866e5b51 FC |
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, | |
51209785 | 22 | FloatDefinitionTest.class, FloatDeclarationTest.class, |
866e5b51 FC |
23 | VariantDefinitionTest.class, VariantDeclarationTest.class, |
24 | StringDefinitionTest.class, EventDeclarationTest.class, }) | |
25 | public class TestAll { | |
26 | ||
27 | /** | |
28 | * Launch the test. | |
51209785 | 29 | * |
866e5b51 FC |
30 | * @param args |
31 | * the command line arguments | |
32 | */ | |
33 | public static void main(String[] args) { | |
34 | JUnitCore.runClasses(new Class[] { TestAll.class }); | |
35 | } | |
36 | } |