| 1 | package be.nikiroo.utils.test; |
| 2 | |
| 3 | /** |
| 4 | * Tests for nikiroo-utils. |
| 5 | * |
| 6 | * @author niki |
| 7 | */ |
| 8 | public class Test extends TestLauncher { |
| 9 | /** |
| 10 | * Start the tests. |
| 11 | * |
| 12 | * @param args |
| 13 | * the arguments (which are passed as-is to the other test |
| 14 | * classes) |
| 15 | */ |
| 16 | public Test(String[] args) { |
| 17 | super("Nikiroo-utils", args); |
| 18 | |
| 19 | addSeries(new ProgressTest(args)); |
| 20 | addSeries(new BundleTest(args)); |
| 21 | addSeries(new IOUtilsTest(args)); |
| 22 | addSeries(new VersionTest(args)); |
| 23 | addSeries(new SerialTest(args)); |
| 24 | addSeries(new StringUtilsTest(args)); |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Main entry point of the program. |
| 29 | * |
| 30 | * @param args |
| 31 | * the arguments passed to the {@link TestLauncher}s. |
| 32 | */ |
| 33 | static public void main(String[] args) { |
| 34 | System.exit(new Test(args).launch()); |
| 35 | } |
| 36 | } |