now mostly streamified!
[nikiroo-utils.git] / src / be / nikiroo / utils / test_code / Test.java
CommitLineData
fbcc2a2a 1package be.nikiroo.utils.test_code;
80383c14 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;
fbcc2a2a 9import be.nikiroo.utils.test.TestLauncher;
80500544 10
80383c14
NR
11/**
12 * Tests for nikiroo-utils.
13 *
14 * @author niki
15 */
16public class Test extends TestLauncher {
db31c358
NR
17 /**
18 * Start the tests.
19 *
20 * @param args
21 * the arguments (which are passed as-is to the other test
22 * classes)
23 */
80383c14
NR
24 public Test(String[] args) {
25 super("Nikiroo-utils", args);
26
d2219aa0
NR
27 // setDetails(true);
28
86057589 29 addSeries(new ProgressTest(args));
80383c14 30 addSeries(new BundleTest(args));
16d59378 31 addSeries(new IOUtilsTest(args));
32ae2079 32 addSeries(new VersionTest(args));
db31c358 33 addSeries(new SerialTest(args));
8537d55a 34 addSeries(new SerialServerTest(args));
620f7329
NR
35 addSeries(new StringUtilsTest(args));
36 addSeries(new TempFilesTest(args));
f3502fbd 37 addSeries(new CryptUtilsTest(args));
6ef54b36 38 addSeries(new BufferedInputStreamTest(args));
4098af70 39 addSeries(new NextableInputStreamTest(args));
6ef54b36 40 addSeries(new ReplaceInputStreamTest(args));
a26188d3 41 addSeries(new BufferedOutputStreamTest(args));
c8ce09c4 42 addSeries(new ReplaceOutputStreamTest(args));
348b1820 43
80500544
NR
44 // TODO: test cache and downloader
45 Cache cache = null;
348b1820 46 CacheMemory memcache = null;
80500544 47 Downloader downloader = null;
ce060f5a
NR
48
49 // To include the sources:
9e50696e
NR
50 img2aa siu;
51 justify ssu;
5247b37b 52 bridge aa;
80383c14
NR
53 }
54
55 /**
56 * Main entry point of the program.
57 *
58 * @param args
59 * the arguments passed to the {@link TestLauncher}s.
60 */
61 static public void main(String[] args) {
62 System.exit(new Test(args).launch());
63 }
64}