@Override
 protected StringFile createStringFile() {
   String dir = ConfigTest.getTestingDir();
   clearDirectory(dir);
   Location loc = Location.create(dir);
   fn = loc.getPath("xyz", "node");
   FileOps.delete(fn);
   return FileFactory.createStringFileDisk(fn);
 }
Beispiel #2
0
  @BeforeClass
  public static void beforeClass() {
    graphData = ConfigTest.getTestingDataRoot() + "/Data/solver-data.ttl";
    graph = TDBFactory.createDatasetGraph().getDefaultGraph();
    Model m = ModelFactory.createModelForGraph(graph);
    FileManager.get().readModel(m, graphData);

    pmap = new PrefixMappingImpl();
    pmap.setNsPrefix("", "http://example/");
  }