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
.Proxy
;
7 import be
.nikiroo
.utils
.main
.bridge
;
8 import be
.nikiroo
.utils
.main
.img2aa
;
9 import be
.nikiroo
.utils
.main
.justify
;
10 import be
.nikiroo
.utils
.test
.TestLauncher
;
11 import be
.nikiroo
.utils
.ui
.UIUtils
;
14 * Tests for nikiroo-utils.
18 public class Test
extends TestLauncher
{
23 * the arguments (which are passed as-is to the other test
26 public Test(String
[] args
) {
27 super("Nikiroo-utils", args
);
31 addSeries(new ProgressTest(args
));
32 addSeries(new BundleTest(args
));
33 addSeries(new IOUtilsTest(args
));
34 addSeries(new VersionTest(args
));
35 addSeries(new SerialTest(args
));
36 addSeries(new SerialServerTest(args
));
37 addSeries(new StringUtilsTest(args
));
38 addSeries(new TempFilesTest(args
));
39 addSeries(new CryptUtilsTest(args
));
40 addSeries(new BufferedInputStreamTest(args
));
41 addSeries(new NextableInputStreamTest(args
));
42 addSeries(new ReplaceInputStreamTest(args
));
43 addSeries(new BufferedOutputStreamTest(args
));
44 addSeries(new ReplaceOutputStreamTest(args
));
46 // TODO: test cache and downloader
48 CacheMemory memcache
= null;
49 Downloader downloader
= null;
51 // To include the sources:
60 * Main entry point of the program.
63 * the arguments passed to the {@link TestLauncher}s.
65 static public void main(String
[] args
) {
66 System
.exit(new Test(args
).launch());