include CacheMemory in test
[nikiroo-utils.git] / src / be / nikiroo / utils / test / Test.java
CommitLineData
80383c14
NR
1package be.nikiroo.utils.test;
2
80500544 3import be.nikiroo.utils.Cache;
348b1820 4import be.nikiroo.utils.CacheMemory;
80500544 5import be.nikiroo.utils.Downloader;
5247b37b 6import be.nikiroo.utils.main.bridge;
9e50696e
NR
7import be.nikiroo.utils.main.img2aa;
8import be.nikiroo.utils.main.justify;
80500544 9
80383c14
NR
10/**
11 * Tests for nikiroo-utils.
12 *
13 * @author niki
14 */
15public class Test extends TestLauncher {
db31c358
NR
16 /**
17 * Start the tests.
18 *
19 * @param args
20 * the arguments (which are passed as-is to the other test
21 * classes)
22 */
80383c14
NR
23 public Test(String[] args) {
24 super("Nikiroo-utils", args);
25
86057589 26 addSeries(new ProgressTest(args));
80383c14 27 addSeries(new BundleTest(args));
16d59378 28 addSeries(new IOUtilsTest(args));
32ae2079 29 addSeries(new VersionTest(args));
db31c358 30 addSeries(new SerialTest(args));
8537d55a 31 addSeries(new SerialServerTest(args));
620f7329
NR
32 addSeries(new StringUtilsTest(args));
33 addSeries(new TempFilesTest(args));
348b1820 34
80500544
NR
35 // TODO: test cache and downloader
36 Cache cache = null;
348b1820 37 CacheMemory memcache = null;
80500544 38 Downloader downloader = null;
ce060f5a
NR
39
40 // To include the sources:
9e50696e
NR
41 img2aa siu;
42 justify ssu;
5247b37b 43 bridge aa;
80383c14
NR
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}