new 'justify' tool + rename ImageUtils -> img2aa
[nikiroo-utils.git] / src / be / nikiroo / utils / test / Test.java
CommitLineData
80383c14
NR
1package be.nikiroo.utils.test;
2
80500544
NR
3import be.nikiroo.utils.Cache;
4import be.nikiroo.utils.Downloader;
9e50696e
NR
5import be.nikiroo.utils.main.img2aa;
6import be.nikiroo.utils.main.justify;
80500544 7
80383c14
NR
8/**
9 * Tests for nikiroo-utils.
10 *
11 * @author niki
12 */
13public class Test extends TestLauncher {
db31c358
NR
14 /**
15 * Start the tests.
16 *
17 * @param args
18 * the arguments (which are passed as-is to the other test
19 * classes)
20 */
80383c14
NR
21 public Test(String[] args) {
22 super("Nikiroo-utils", args);
23
86057589 24 addSeries(new ProgressTest(args));
80383c14 25 addSeries(new BundleTest(args));
16d59378 26 addSeries(new IOUtilsTest(args));
32ae2079 27 addSeries(new VersionTest(args));
db31c358 28 addSeries(new SerialTest(args));
8537d55a 29 addSeries(new SerialServerTest(args));
620f7329
NR
30 addSeries(new StringUtilsTest(args));
31 addSeries(new TempFilesTest(args));
80500544
NR
32
33 // TODO: test cache and downloader
34 Cache cache = null;
35 Downloader downloader = null;
ce060f5a
NR
36
37 // To include the sources:
9e50696e
NR
38 img2aa siu;
39 justify ssu;
80383c14
NR
40 }
41
42 /**
43 * Main entry point of the program.
44 *
45 * @param args
46 * the arguments passed to the {@link TestLauncher}s.
47 */
48 static public void main(String[] args) {
49 System.exit(new Test(args).launch());
50 }
51}