clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enrid...@apache.org
Subject git commit: CLEREZZA-894 Added the test before execution
Date Sun, 16 Mar 2014 17:32:14 GMT
Repository: clerezza
Updated Branches:
  refs/heads/master 9b0528a86 -> 8f0949651


CLEREZZA-894 Added the test before execution


Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/8f094965
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/8f094965
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/8f094965

Branch: refs/heads/master
Commit: 8f094965172c74ab09627845d36aeaac29372516
Parents: 9b0528a
Author: enridaga <enridaga@apache.org>
Authored: Sun Mar 16 17:32:10 2014 +0000
Committer: enridaga <enridaga@apache.org>
Committed: Sun Mar 16 17:32:10 2014 +0000

----------------------------------------------------------------------
 .../virtuoso/storage/access/DataAccessTest.java | 24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/8f094965/clerezza-virtuoso/rdf.virtuoso.storage/src/test/java/rdf/virtuoso/storage/access/DataAccessTest.java
----------------------------------------------------------------------
diff --git a/clerezza-virtuoso/rdf.virtuoso.storage/src/test/java/rdf/virtuoso/storage/access/DataAccessTest.java
b/clerezza-virtuoso/rdf.virtuoso.storage/src/test/java/rdf/virtuoso/storage/access/DataAccessTest.java
index ba21e9c..725cf60 100644
--- a/clerezza-virtuoso/rdf.virtuoso.storage/src/test/java/rdf/virtuoso/storage/access/DataAccessTest.java
+++ b/clerezza-virtuoso/rdf.virtuoso.storage/src/test/java/rdf/virtuoso/storage/access/DataAccessTest.java
@@ -24,12 +24,20 @@ public class DataAccessTest {
 	
 	@Before
 	public void before() throws ClassNotFoundException, SQLException {
+		if (TestUtils.SKIP) {
+			log.warn("SKIPPED");
+			return;
+		}
 		da = TestUtils.getProvider().createDataAccess();
 		da.clearGraph( "urn:x-test:DataAccessTest" );
 	}
 
 	@After
 	public void after() {
+		if (TestUtils.SKIP) {
+			log.warn("SKIPPED");
+			return;
+		}
 		da.clearGraph( "urn:x-test:DataAccessTest" );
 		da.close();
 		da = null;
@@ -61,24 +69,40 @@ public class DataAccessTest {
 
 	@Test
 	public void test_Uri_Uri_Uri(){
+		if (TestUtils.SKIP) {
+			log.warn("SKIPPED");
+			return;
+		}
 		Triple t = new TripleImpl(new UriRef("urn:subject"), new UriRef("urn:predicate"), new UriRef("urn:object"));
 		testTriple(t);
 	}
 
 	@Test
 	public void test_Uri_Uri_PlainLiteral(){
+		if (TestUtils.SKIP) {
+			log.warn("SKIPPED");
+			return;
+		}
 		Triple t = new TripleImpl(new UriRef("urn:subject"), new UriRef("urn:predicate"), new PlainLiteralImpl("Lorem
Ipsum"));
 		testTriple(t);
 	}
 	
 	@Test
 	public void test_Uri_Uri_BNode(){
+		if (TestUtils.SKIP) {
+			log.warn("SKIPPED");
+			return;
+		}
 		Triple t = new TripleImpl(new UriRef("urn:subject"), new UriRef("urn:predicate"), new BNode());
 		testTriple(t);
 	}
 	
 	@Test
 	public void testRenew(){
+		if (TestUtils.SKIP) {
+			log.warn("SKIPPED");
+			return;
+		}
 		int i = 100;
 		while(i>0){
 			test_Uri_Uri_Uri();


Mime
View raw message