1 package be
.nikiroo
.utils
.test_code
;
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 import be
.nikiroo
.utils
.test
.TestLauncher
;
12 * Tests for nikiroo-utils.
16 public class Test
extends TestLauncher
{
21 * the arguments (which are passed as-is to the other test
24 public Test(String
[] args
) {
25 super("Nikiroo-utils", args
);
27 addSeries(new ProgressTest(args
));
28 addSeries(new BundleTest(args
));
29 addSeries(new IOUtilsTest(args
));
30 addSeries(new VersionTest(args
));
31 addSeries(new SerialTest(args
));
32 addSeries(new SerialServerTest(args
));
33 addSeries(new StringUtilsTest(args
));
34 addSeries(new TempFilesTest(args
));
35 addSeries(new CryptUtilsTest(args
));
36 addSeries(new NextableInputStreamTest(args
));
38 // TODO: test cache and downloader
40 CacheMemory memcache
= null;
41 Downloader downloader
= null;
43 // To include the sources:
50 * Main entry point of the program.
53 * the arguments passed to the {@link TestLauncher}s.
55 static public void main(String
[] args
) {
56 System
.exit(new Test(args
).launch());