You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2016/02/06 16:51:17 UTC
[28/34] jena git commit: Rename.
Rename.
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/fc44bd2e
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/fc44bd2e
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/fc44bd2e
Branch: refs/heads/master
Commit: fc44bd2ebdc14d56128e4c301a4c2bc5bc8fef5a
Parents: 89013dd
Author: Andy Seaborne <an...@apache.org>
Authored: Fri Feb 5 15:19:22 2016 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Fri Feb 5 19:17:33 2016 +0000
----------------------------------------------------------------------
.../jena/sparql/transaction/TS_Transaction.java | 2 +-
.../transaction/TestTransactionDSGWithLock.java | 49 --------------------
.../TestTransactionDSGWithLockNoAbort.java | 49 ++++++++++++++++++++
3 files changed, 50 insertions(+), 50 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/fc44bd2e/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TS_Transaction.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TS_Transaction.java b/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TS_Transaction.java
index 98bb374..c8e872c 100644
--- a/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TS_Transaction.java
+++ b/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TS_Transaction.java
@@ -24,7 +24,7 @@ import org.junit.runners.Suite.SuiteClasses ;
@RunWith(Suite.class)
@SuiteClasses( {
- TestTransactionDSGWithLock.class,
+ TestTransactionDSGWithLockNoAbort.class,
TestTransactionDSGWithLockWithAbort.class,
})
http://git-wip-us.apache.org/repos/asf/jena/blob/fc44bd2e/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TestTransactionDSGWithLock.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TestTransactionDSGWithLock.java b/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TestTransactionDSGWithLock.java
deleted file mode 100644
index a8e2d9b..0000000
--- a/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TestTransactionDSGWithLock.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.jena.sparql.transaction;
-
-import org.apache.jena.query.Dataset ;
-import org.apache.jena.query.DatasetFactory ;
-import org.apache.jena.sparql.core.DatasetGraph ;
-import org.apache.jena.sparql.core.DatasetGraphFactory ;
-import org.apache.jena.sparql.core.DatasetGraphWithLock ;
-import org.junit.Ignore ;
-import org.junit.Test ;
-
-/** Version with abortImplemented == false (the default). */
-public class TestTransactionDSGWithLock extends AbstractTestTransactionLifecycle
-{
- @Override
- protected Dataset create()
- {
- DatasetGraph dsg = DatasetGraphFactory.create() ;
- DatasetGraphWithLock dsgl = new DatasetGraphWithLock(dsg, false) ;
- return DatasetFactory.wrap(dsgl) ;
- }
-
- // Tests that don't make sense because they abort a write transaction.
- // (Using org.junit.Assume would be better?)
- @Test @Override @Ignore public void transaction_err_10() {}
- @Test @Override @Ignore public void transaction_err_12() {}
-
- @Test @Override @Ignore public void transaction_w02() {}
- @Test @Override @Ignore public void transaction_w04() {}
- @Test @Override @Ignore public void transaction_w05() {}
- }
-
http://git-wip-us.apache.org/repos/asf/jena/blob/fc44bd2e/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TestTransactionDSGWithLockNoAbort.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TestTransactionDSGWithLockNoAbort.java b/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TestTransactionDSGWithLockNoAbort.java
new file mode 100644
index 0000000..7d28b5c
--- /dev/null
+++ b/jena-arq/src/test/java/org/apache/jena/sparql/transaction/TestTransactionDSGWithLockNoAbort.java
@@ -0,0 +1,49 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jena.sparql.transaction;
+
+import org.apache.jena.query.Dataset ;
+import org.apache.jena.query.DatasetFactory ;
+import org.apache.jena.sparql.core.DatasetGraph ;
+import org.apache.jena.sparql.core.DatasetGraphFactory ;
+import org.apache.jena.sparql.core.DatasetGraphWithLock ;
+import org.junit.Ignore ;
+import org.junit.Test ;
+
+/** Version with abortImplemented == false (the default). */
+public class TestTransactionDSGWithLockNoAbort extends AbstractTestTransactionLifecycle
+{
+ @Override
+ protected Dataset create()
+ {
+ DatasetGraph dsg = DatasetGraphFactory.create() ;
+ DatasetGraphWithLock dsgl = new DatasetGraphWithLock(dsg, false) ;
+ return DatasetFactory.wrap(dsgl) ;
+ }
+
+ // Tests that don't make sense because they abort a write transaction.
+ // (Using org.junit.Assume would be better?)
+ @Test @Override @Ignore public void transaction_err_10() {}
+ @Test @Override @Ignore public void transaction_err_12() {}
+
+ @Test @Override @Ignore public void transaction_w02() {}
+ @Test @Override @Ignore public void transaction_w04() {}
+ @Test @Override @Ignore public void transaction_w05() {}
+ }
+