|
2 | 2 |
|
3 | 3 | import com.github.owlcs.ontapi.*;
|
4 | 4 | import com.github.owlcs.ontapi.jena.OntModelFactory;
|
5 |
| -import com.github.owlcs.ontapi.jena.model.OntGraphModel; |
| 5 | +import com.github.owlcs.ontapi.jena.model.OntModel; |
6 | 6 | import com.github.owlcs.ontapi.jena.model.OntStatement;
|
7 | 7 | import com.github.owlcs.ontapi.jena.utils.Graphs;
|
8 | 8 | import com.github.owlcs.ontapi.jena.vocabulary.OWL;
|
@@ -41,7 +41,7 @@ public static void before() {
|
41 | 41 | @Test
|
42 | 42 | public void testGeneralFunctionality() throws Exception {
|
43 | 43 | String uri = "http://test";
|
44 |
| - OntGraphModel g = OntModelFactory.createModel(); |
| 44 | + OntModel g = OntModelFactory.createModel(); |
45 | 45 | g.setID(uri);
|
46 | 46 | StringWriter sw = new StringWriter();
|
47 | 47 | g.write(sw, OntFormat.TURTLE.getID());
|
@@ -103,7 +103,6 @@ public void testJenaFormatsCompileScope() throws Exception {
|
103 | 103 | }
|
104 | 104 | }
|
105 | 105 |
|
106 |
| - |
107 | 106 | @Test
|
108 | 107 | public void testFactoriesTestScope() {
|
109 | 108 | String loadFactory = "com.github.owlcs.ontapi.OntologyFactoryImpl";
|
@@ -155,7 +154,8 @@ public void testOWLFormatsTestScope() throws Exception {
|
155 | 154 | OWLStorer storer = factory.createStorer();
|
156 | 155 | OWLDocumentFormat format = lang.getFormatFactory().get();
|
157 | 156 | ByteArrayOutputStream out = new ByteArrayOutputStream();
|
158 |
| - logger.info("FORMAT: {{}-{}:'{}'}", factory.getClass().getSimpleName(), format.getClass().getSimpleName(), format.getKey()); |
| 157 | + logger.info("FORMAT: {{}-{}:'{}'}", |
| 158 | + factory.getClass().getSimpleName(), format.getClass().getSimpleName(), format.getKey()); |
159 | 159 | storer.storeOntology(o, new StreamDocumentTarget(out), format);
|
160 | 160 | logger.debug("{}", new String(out.toByteArray(), StandardCharsets.UTF_8));
|
161 | 161 | }
|
|
0 commit comments