Version 4.0.0: java.awt dependencies move
[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
6 /**
7 * Tests for nikiroo-utils.
8 *
9 * @author niki
10 */
11 public class Test extends TestLauncher {
12 /**
13 * Start the tests.
14 *
15 * @param args
16 * the arguments (which are passed as-is to the other test
17 * classes)
18 */
19 public Test(String[] args) {
20 super("Nikiroo-utils", args);
21
22 addSeries(new ProgressTest(args));
23 addSeries(new BundleTest(args));
24 addSeries(new IOUtilsTest(args));
25 addSeries(new VersionTest(args));
26 addSeries(new SerialTest(args));
27 addSeries(new SerialServerTest(args));
28 addSeries(new StringUtilsTest(args));
29
30 // TODO: test cache and downloader
31 Cache cache = null;
32 Downloader downloader = null;
33 }
34
35 /**
36 * Main entry point of the program.
37 *
38 * @param args
39 * the arguments passed to the {@link TestLauncher}s.
40 */
41 static public void main(String[] args) {
42 System.exit(new Test(args).launch());
43 }
44 }