You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by cl...@apache.org on 2015/05/23 08:58:17 UTC
[07/25] jena git commit: file graph test
file graph test
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/5bc9578f
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/5bc9578f
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/5bc9578f
Branch: refs/heads/master
Commit: 5bc9578fc31fe58017b80d1a15e41b593ee31074
Parents: f97d604
Author: Claude Warren <cl...@apache.org>
Authored: Thu Apr 30 18:17:33 2015 +0100
Committer: Claude Warren <cl...@apache.org>
Committed: Thu Apr 30 18:17:33 2015 +0100
----------------------------------------------------------------------
.../test/java/org/apache/jena/graph/impl/FileGraph_CS.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/5bc9578f/jena-core/src/test/java/org/apache/jena/graph/impl/FileGraph_CS.java
----------------------------------------------------------------------
diff --git a/jena-core/src/test/java/org/apache/jena/graph/impl/FileGraph_CS.java b/jena-core/src/test/java/org/apache/jena/graph/impl/FileGraph_CS.java
index b7bb6c3..1b4d321 100644
--- a/jena-core/src/test/java/org/apache/jena/graph/impl/FileGraph_CS.java
+++ b/jena-core/src/test/java/org/apache/jena/graph/impl/FileGraph_CS.java
@@ -30,8 +30,8 @@ import org.xenei.junit.contract.ContractImpl;
import org.xenei.junit.contract.ContractSuite;
import org.xenei.junit.contract.IProducer;
-@RunWith(ContractSuite.class)
-@ContractImpl(FileGraph.class)
+//@RunWith(ContractSuite.class)
+//@ContractImpl(FileGraph.class)
public class FileGraph_CS {
protected IProducer<FileGraph> graphProducer;
@@ -52,10 +52,11 @@ public class FileGraph_CS {
File f;
try {
f = File.createTempFile("fgp", ".ttl" );
+ f.delete();
} catch (IOException e) {
throw new RuntimeException( "Can not create file", e );
}
- return new FileGraph( f, false, true );
+ return new FileGraph( f, true, true );
}
@Override