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 | ||
6a493e05 | 22 | /* |
86057589 | 23 | addSeries(new ProgressTest(args)); |
80383c14 | 24 | addSeries(new BundleTest(args)); |
16d59378 | 25 | addSeries(new IOUtilsTest(args)); |
32ae2079 | 26 | addSeries(new VersionTest(args)); |
db31c358 | 27 | addSeries(new SerialTest(args)); |
8537d55a | 28 | addSeries(new SerialServerTest(args)); |
6a493e05 NR |
29 | */addSeries(new StringUtilsTest(args)); |
30 | //addSeries(new TempFilesTest(args)); | |
80500544 NR |
31 | |
32 | // TODO: test cache and downloader | |
33 | Cache cache = null; | |
34 | Downloader downloader = null; | |
80383c14 NR |
35 | } |
36 | ||
37 | /** | |
38 | * Main entry point of the program. | |
39 | * | |
40 | * @param args | |
41 | * the arguments passed to the {@link TestLauncher}s. | |
42 | */ | |
43 | static public void main(String[] args) { | |
44 | System.exit(new Test(args).launch()); | |
45 | } | |
46 | } |