File tree Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,6 @@ void testFailedBackupAndRestore() throws Exception {
9292
9393 @ Test
9494 public void memoryToDisk () throws Exception {
95- if (!SQLiteJDBCLoader .isNativeMode ()) {
96- return ; // skip this test in pure-java mode
97- }
98-
9995 try (Connection conn = DriverManager .getConnection ("jdbc:sqlite:" );
10096 Statement stmt = conn .createStatement ()) {
10197 stmt .executeUpdate ("create table sample(id integer primary key autoincrement, name)" );
Original file line number Diff line number Diff line change 1212import java .sql .Statement ;
1313import java .util .Properties ;
1414import org .junit .jupiter .api .AfterEach ;
15- import org .junit .jupiter .api .BeforeAll ;
1615import org .junit .jupiter .api .BeforeEach ;
1716import org .junit .jupiter .api .Test ;
1817import org .junit .jupiter .api .io .TempDir ;
@@ -26,14 +25,6 @@ public class SavepointTest {
2625 private Connection conn1 , conn2 ;
2726 private Statement stat1 , stat2 ;
2827
29- @ BeforeAll
30- public static void forName () throws Exception {
31- System .out .println (
32- "running in "
33- + (SQLiteJDBCLoader .isNativeMode () ? "native" : "pure-java" )
34- + " mode" );
35- }
36-
3728 @ BeforeEach
3829 public void connect (@ TempDir File tempDir ) throws Exception {
3930 File tmpFile = File .createTempFile ("test-trans" , ".db" , tempDir );
Original file line number Diff line number Diff line change 99import java .util .Properties ;
1010import java .util .Set ;
1111import org .junit .jupiter .api .AfterEach ;
12- import org .junit .jupiter .api .BeforeAll ;
1312import org .junit .jupiter .api .BeforeEach ;
1413import org .junit .jupiter .api .Test ;
1514import org .junit .jupiter .api .io .TempDir ;
@@ -26,14 +25,6 @@ public class TransactionTest {
2625
2726 boolean done = false ;
2827
29- @ BeforeAll
30- public static void forName () throws Exception {
31- System .out .println (
32- "running in "
33- + (SQLiteJDBCLoader .isNativeMode () ? "native" : "pure-java" )
34- + " mode" );
35- }
36-
3728 @ BeforeEach
3829 public void connect (@ TempDir File tempDir ) throws Exception {
3930 File tmpFile = File .createTempFile ("test-trans" , ".db" , tempDir );
You can’t perform that action at this time.
0 commit comments