1 package be
.nikiroo
.utils
.test
;
3 import java
.io
.InputStream
;
5 import be
.nikiroo
.utils
.IOUtils
;
7 public class IOUtilsTest
extends TestLauncher
{
9 public IOUtilsTest(String
[] args
) {
10 super("IOUtils test", args
);
12 addTest(new TestCase("openResource") {
14 public void test() throws Exception
{
15 InputStream in
= IOUtils
.openResource("VERSION");
17 "The VERSION file is supposed to be present in the binaries",
23 addTest(new TestCase("getVersion") {
25 public void test() throws Exception
{
26 assertNotNull("The VERSION is not defined",
27 IOUtils
.getVersion());