Version 1.3.1: new Version class
[nikiroo-utils.git] / src / be / nikiroo / utils / test / IOUtilsTest.java
CommitLineData
16d59378
NR
1package be.nikiroo.utils.test;
2
3import java.io.InputStream;
4
5import be.nikiroo.utils.IOUtils;
6
32ae2079 7class IOUtilsTest extends TestLauncher {
16d59378
NR
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 });
16d59378
NR
21 }
22}