Include 'bridge' in the output JAR
[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.bridge;
6 import be.nikiroo.utils.main.img2aa;
7 import be.nikiroo.utils.main.justify;
8
9 /**
10 * Tests for nikiroo-utils.
11 *
12 * @author niki
13 */
14 public class Test extends TestLauncher {
15 /**
16 * Start the tests.
17 *
18 * @param args
19 * the arguments (which are passed as-is to the other test
20 * classes)
21 */
22 public Test(String[] args) {
23 super("Nikiroo-utils", args);
24
25 addSeries(new ProgressTest(args));
26 addSeries(new BundleTest(args));
27 addSeries(new IOUtilsTest(args));
28 addSeries(new VersionTest(args));
29 addSeries(new SerialTest(args));
30 addSeries(new SerialServerTest(args));
31 addSeries(new StringUtilsTest(args));
32 addSeries(new TempFilesTest(args));
33
34 // TODO: test cache and downloader
35 Cache cache = null;
36 Downloader downloader = null;
37
38 // To include the sources:
39 img2aa siu;
40 justify ssu;
41 bridge aa;
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 }