01: package org.ontoware.rdf2go;
02:
03: import java.io.IOException;
04: import java.io.InputStream;
05:
06: import org.junit.Assert;
07: import org.junit.Test;
08: import org.ontoware.rdf2go.testdata.TestData;
09:
10: public class TestTestData {
11:
12: @Test
13: public void testTestData() {
14: InputStream in = TestData.getFoafAsStream();
15: Assert.assertNotNull("test data stream should not be null", in);
16: try {
17: Assert.assertTrue(in.read() != -1);
18: } catch (IOException e) {
19: Assert.fail();
20: }
21: }
22:
23: }
|