jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1517161 - in /jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb: migrate/AbstractTestTransaction.java transaction/TestTransactionTDB.java
Date Sat, 24 Aug 2013 16:25:27 GMT
Author: andy
Date: Sat Aug 24 16:25:27 2013
New Revision: 1517161

URL: http://svn.apache.org/r1517161
Log:
AbstractTestTransaction migrated to jena-arq.

Removed:
    jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/migrate/AbstractTestTransaction.java
Modified:
    jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java

Modified: jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java?rev=1517161&r1=1517160&r2=1517161&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java
(original)
+++ jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java
Sat Aug 24 16:25:27 2013
@@ -21,18 +21,17 @@ package com.hp.hpl.jena.tdb.transaction;
 import static com.hp.hpl.jena.query.ReadWrite.READ ;
 import static com.hp.hpl.jena.query.ReadWrite.WRITE ;
 import org.apache.jena.atlas.lib.FileOps ;
-import org.junit.After ;
-import org.junit.Before ;
-import org.junit.Test ;
+import org.apache.jena.atlas.logging.Log ;
+import org.junit.* ;
 
 import com.hp.hpl.jena.graph.Triple ;
 import com.hp.hpl.jena.query.Dataset ;
 import com.hp.hpl.jena.sparql.sse.SSE ;
+import com.hp.hpl.jena.sparql.transaction.AbstractTestTransaction ;
 import com.hp.hpl.jena.tdb.ConfigTest ;
 import com.hp.hpl.jena.tdb.StoreConnection ;
 import com.hp.hpl.jena.tdb.TDBFactory ;
 import com.hp.hpl.jena.tdb.base.file.Location ;
-import com.hp.hpl.jena.tdb.migrate.AbstractTestTransaction ;
 import com.hp.hpl.jena.tdb.sys.SystemTDB ;
 
 public class TestTransactionTDB extends AbstractTestTransaction
@@ -40,6 +39,9 @@ public class TestTransactionTDB extends 
     static boolean nonDeleteableMMapFiles = SystemTDB.isWindows ;
     String DIR = null ; 
     
+    @BeforeClass public static void beforeClassLoggingOff() { Log.disable(SystemTDB.errlog.getName())
; } 
+    @AfterClass public static void afterClassLoggingOn()    { Log.enable(SystemTDB.errlog.getName(),
"info") ; }
+    
     @Before public void before()
     {
         DIR = nonDeleteableMMapFiles ? ConfigTest.getTestingDirUnique() : ConfigTest.getTestingDirDB()
;



Mime
View raw message