e0dfa0fab817788d5100db16451a1df74aeae99b
[nikiroo-utils.git] / src / be / nikiroo / utils / test / Test.java
1 package be.nikiroo.utils.test;
2
3 import be.nikiroo.utils.Cache;
4 import be.nikiroo.utils.Downloader;
5 import be.nikiroo.utils.main.img2aa;
6 import be.nikiroo.utils.main.justify;
7
8 /**
9 * Tests for nikiroo-utils.
10 *
11 * @author niki
12 */
13 public class Test extends TestLauncher {
14 /**
15 * Start the tests.
16 *
17 * @param args
18 * the arguments (which are passed as-is to the other test
19 * classes)
20 */
21 public Test(String[] args) {
22 super("Nikiroo-utils", args);
23
24 addSeries(new ProgressTest(args));
25 addSeries(new BundleTest(args));
26 addSeries(new IOUtilsTest(args));
27 addSeries(new VersionTest(args));
28 addSeries(new SerialTest(args));
29 addSeries(new SerialServerTest(args));
30 addSeries(new StringUtilsTest(args));
31 addSeries(new TempFilesTest(args));
32
33 // TODO: test cache and downloader
34 Cache cache = null;
35 Downloader downloader = null;
36
37 // To include the sources:
38 img2aa siu;
39 justify ssu;
40 }
41
42 /**
43 * Main entry point of the program.
44 *
45 * @param args
46 * the arguments passed to the {@link TestLauncher}s.
47 */
48 static public void main(String[] args) {
49 System.exit(new Test(args).launch());
50 }
51 }