Commit | Line | Data |
---|---|---|
80383c14 NR |
1 | package be.nikiroo.utils.test; |
2 | ||
80500544 NR |
3 | import be.nikiroo.utils.Cache; |
4 | import be.nikiroo.utils.Downloader; | |
5 | ||
80383c14 NR |
6 | /** |
7 | * Tests for nikiroo-utils. | |
8 | * | |
9 | * @author niki | |
10 | */ | |
11 | public class Test extends TestLauncher { | |
db31c358 NR |
12 | /** |
13 | * Start the tests. | |
14 | * | |
15 | * @param args | |
16 | * the arguments (which are passed as-is to the other test | |
17 | * classes) | |
18 | */ | |
80383c14 NR |
19 | public Test(String[] args) { |
20 | super("Nikiroo-utils", args); | |
21 | ||
86057589 | 22 | addSeries(new ProgressTest(args)); |
80383c14 | 23 | addSeries(new BundleTest(args)); |
16d59378 | 24 | addSeries(new IOUtilsTest(args)); |
32ae2079 | 25 | addSeries(new VersionTest(args)); |
db31c358 | 26 | addSeries(new SerialTest(args)); |
8537d55a | 27 | addSeries(new SerialServerTest(args)); |
620f7329 NR |
28 | addSeries(new StringUtilsTest(args)); |
29 | addSeries(new TempFilesTest(args)); | |
80500544 NR |
30 | |
31 | // TODO: test cache and downloader | |
32 | Cache cache = null; | |
33 | Downloader downloader = null; | |
80383c14 NR |
34 | } |
35 | ||
36 | /** | |
37 | * Main entry point of the program. | |
38 | * | |
39 | * @param args | |
40 | * the arguments passed to the {@link TestLauncher}s. | |
41 | */ | |
42 | static public void main(String[] args) { | |
43 | System.exit(new Test(args).launch()); | |
44 | } | |
45 | } |