Return-Path: X-Original-To: apmail-jena-commits-archive@www.apache.org Delivered-To: apmail-jena-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40883176F1 for ; Sun, 10 May 2015 13:03:32 +0000 (UTC) Received: (qmail 44012 invoked by uid 500); 10 May 2015 13:03:32 -0000 Delivered-To: apmail-jena-commits-archive@jena.apache.org Received: (qmail 43958 invoked by uid 500); 10 May 2015 13:03:32 -0000 Mailing-List: contact commits-help@jena.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jena.apache.org Delivered-To: mailing list commits@jena.apache.org Received: (qmail 43358 invoked by uid 99); 10 May 2015 13:03:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 May 2015 13:03:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CC066E17C0; Sun, 10 May 2015 13:03:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: claude@apache.org To: commits@jena.apache.org Date: Sun, 10 May 2015 13:04:17 -0000 Message-Id: In-Reply-To: <8770754626ac4efbacb4e3ca2e422ee6@git.apache.org> References: <8770754626ac4efbacb4e3ca2e422ee6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [48/50] [abbrv] 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/c004d800 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/c004d800 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/c004d800 Branch: refs/heads/add-contract-tests Commit: c004d800faa51284954ec353f3266bff6cf7fe67 Parents: 608c2b4 Author: Claude Warren Authored: Thu Apr 30 18:17:33 2015 +0100 Committer: Claude Warren Committed: Sat May 9 16:15:32 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/c004d800/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 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