01: package org.ontoware.rdfreactor.generator;
02:
03: import org.junit.Test;
04: import org.ontoware.rdf2go.Reasoning;
05:
06: public class TemplateTest {
07:
08: public static final String outdir = "./src/test/java";
09:
10: @Test
11: public void testGeneration() throws Exception {
12: CodeGenerator.generate(
13: // "./src/test/resources/simpleSchema.n3",
14: "./src/test/resources/testTemplate.n3", outdir,
15: "com.example", Reasoning.rdfs, true, "");
16: }
17:
18: }
|