Version 4.7.0
[fanfix.git] / src / be / nikiroo / utils / test / IOUtilsTest.java
1 package be.nikiroo.utils.test;
2
3 import java.io.InputStream;
4
5 import be.nikiroo.utils.IOUtils;
6
7 class IOUtilsTest extends TestLauncher {
8 public IOUtilsTest(String[] args) {
9 super("IOUtils test", args);
10
11 addTest(new TestCase("openResource") {
12 @Override
13 public void test() throws Exception {
14 InputStream in = IOUtils.openResource("VERSION");
15 assertNotNull(
16 "The VERSION file is supposed to be present in the binaries",
17 in);
18 in.close();
19 }
20 });
21 }
22 }