New TempFiles and Image now uses it instead of mem
[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 addSeries(new TempFilesTest(args));
30
31 // TODO: test cache and downloader
32 Cache cache = null;
33 Downloader downloader = null;
34 }
35
36 /**
37 * Main entry point of the program.
38 *
39 * @param args
40 * the arguments passed to the {@link TestLauncher}s.
41 */
42 static public void main(String[] args) {
43 System.exit(new Test(args).launch());
44 }
45 }