You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by en...@apache.org on 2014/03/16 18:32:14 UTC
git commit: CLEREZZA-894 Added the test before execution
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 <en...@apache.org>
Authored: Sun Mar 16 17:32:10 2014 +0000
Committer: enridaga <en...@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();