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