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; | |
5247b37b | 5 | import be.nikiroo.utils.main.bridge; |
9e50696e NR |
6 | import be.nikiroo.utils.main.img2aa; |
7 | import be.nikiroo.utils.main.justify; | |
80500544 | 8 | |
80383c14 NR |
9 | /** |
10 | * Tests for nikiroo-utils. | |
11 | * | |
12 | * @author niki | |
13 | */ | |
14 | public class Test extends TestLauncher { | |
db31c358 NR |
15 | /** |
16 | * Start the tests. | |
17 | * | |
18 | * @param args | |
19 | * the arguments (which are passed as-is to the other test | |
20 | * classes) | |
21 | */ | |
80383c14 NR |
22 | public Test(String[] args) { |
23 | super("Nikiroo-utils", args); | |
24 | ||
86057589 | 25 | addSeries(new ProgressTest(args)); |
80383c14 | 26 | addSeries(new BundleTest(args)); |
16d59378 | 27 | addSeries(new IOUtilsTest(args)); |
32ae2079 | 28 | addSeries(new VersionTest(args)); |
db31c358 | 29 | addSeries(new SerialTest(args)); |
8537d55a | 30 | addSeries(new SerialServerTest(args)); |
620f7329 NR |
31 | addSeries(new StringUtilsTest(args)); |
32 | addSeries(new TempFilesTest(args)); | |
3f277541 | 33 | |
80500544 NR |
34 | // TODO: test cache and downloader |
35 | Cache cache = null; | |
36 | Downloader downloader = null; | |
ce060f5a NR |
37 | |
38 | // To include the sources: | |
9e50696e NR |
39 | img2aa siu; |
40 | justify ssu; | |
5247b37b | 41 | bridge aa; |
80383c14 NR |
42 | } |
43 | ||
44 | /** | |
45 | * Main entry point of the program. | |
46 | * | |
47 | * @param args | |
48 | * the arguments passed to the {@link TestLauncher}s. | |
49 | */ | |
50 | static public void main(String[] args) { | |
51 | System.exit(new Test(args).launch()); | |
52 | } | |
53 | } |