jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cla...@apache.org
Subject [1/3] git commit: Changed TDBGraphTest to use in memory TDB Fixed a bug in SecuredPrefixMappingTest Remvoed java 6 declaration in POM
Date Fri, 03 Oct 2014 18:48:58 GMT
Repository: jena
Updated Branches:
  refs/heads/master e5838ac47 -> 84fdb96cc


Changed TDBGraphTest to use in memory TDB
Fixed a bug in SecuredPrefixMappingTest
Remvoed java 6 declaration in POM

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

Branch: refs/heads/master
Commit: b1baaa0a9e318944d58afd4adf42880600e7e02d
Parents: 913b225
Author: claude <claude@xenei.com>
Authored: Fri Oct 3 18:58:02 2014 +0100
Committer: claude <claude@xenei.com>
Committed: Fri Oct 3 18:58:02 2014 +0100

----------------------------------------------------------------------
 jena-security/pom.xml                                         | 7 -------
 .../apache/jena/security/graph/SecuredPrefixMappingTest.java  | 2 +-
 .../java/org/apache/jena/security/graph/TDBGraphTest.java     | 4 +---
 3 files changed, 2 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/b1baaa0a/jena-security/pom.xml
----------------------------------------------------------------------
diff --git a/jena-security/pom.xml b/jena-security/pom.xml
index a12be26..3772f41 100644
--- a/jena-security/pom.xml
+++ b/jena-security/pom.xml
@@ -67,13 +67,6 @@
 	<build>
 		<plugins>
 			<plugin>
-				<artifactId>maven-compiler-plugin</artifactId>
-				<configuration>
-					<source>1.6</source>
-					<target>1.6</target>
-				</configuration>
-			</plugin>
-			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-javadoc-plugin</artifactId>
 				<!--  <version>2.9</version> -->

http://git-wip-us.apache.org/repos/asf/jena/blob/b1baaa0a/jena-security/src/test/java/org/apache/jena/security/graph/SecuredPrefixMappingTest.java
----------------------------------------------------------------------
diff --git a/jena-security/src/test/java/org/apache/jena/security/graph/SecuredPrefixMappingTest.java
b/jena-security/src/test/java/org/apache/jena/security/graph/SecuredPrefixMappingTest.java
index 5e1c086..d354501 100644
--- a/jena-security/src/test/java/org/apache/jena/security/graph/SecuredPrefixMappingTest.java
+++ b/jena-security/src/test/java/org/apache/jena/security/graph/SecuredPrefixMappingTest.java
@@ -62,7 +62,7 @@ public class SecuredPrefixMappingTest
 			if (m.isAnnotationPresent(Test.class))
 			{
 				// lock test must come last
-				if (!m.getName().equals("lockTest"))
+				if (m.getName().equals("testLock"))
 				{
 					lockTest = m;
 				}

http://git-wip-us.apache.org/repos/asf/jena/blob/b1baaa0a/jena-security/src/test/java/org/apache/jena/security/graph/TDBGraphTest.java
----------------------------------------------------------------------
diff --git a/jena-security/src/test/java/org/apache/jena/security/graph/TDBGraphTest.java
b/jena-security/src/test/java/org/apache/jena/security/graph/TDBGraphTest.java
index 6d4779a..13b8fba 100644
--- a/jena-security/src/test/java/org/apache/jena/security/graph/TDBGraphTest.java
+++ b/jena-security/src/test/java/org/apache/jena/security/graph/TDBGraphTest.java
@@ -44,8 +44,7 @@ public class TDBGraphTest extends MemGraphTest
 	protected Graph createGraph() throws IOException
 	{
 		TDB.init();
-		f = new File(System.getProperty("java.io.tmpdir") + "/TDBTest");
-		dsGraph = TDBFactory.createDatasetGraph(f.getCanonicalPath());
+		dsGraph = TDBFactory.createDataset().asDatasetGraph();
 		return dsGraph.getDefaultGraph();
 	}
 
@@ -54,7 +53,6 @@ public class TDBGraphTest extends MemGraphTest
 	{
 		TDB.sync(dsGraph);
 		dsGraph.close();
-		f.delete();
 		TDB.closedown();
 	}
 


Mime
View raw message