diff --git a/android/samples/benchmark/src/androidTest/java/com/tencent/wcdb/benchmark/concurrent/WCDBConcurrentTest.java b/android/samples/benchmark/src/androidTest/java/com/tencent/wcdb/benchmark/concurrent/WCDBConcurrentTest.java index df0d2eb21..506e8fdb2 100644 --- a/android/samples/benchmark/src/androidTest/java/com/tencent/wcdb/benchmark/concurrent/WCDBConcurrentTest.java +++ b/android/samples/benchmark/src/androidTest/java/com/tencent/wcdb/benchmark/concurrent/WCDBConcurrentTest.java @@ -25,6 +25,7 @@ import com.tencent.wcdb.DatabaseUtils; import com.tencent.wcdb.database.SQLiteDatabase; import com.tencent.wcdb.database.SQLiteDirectCursor; +import com.tencent.wcdb.database.SQLiteGlobal; import org.junit.After; import org.junit.Before; @@ -35,7 +36,7 @@ public class WCDBConcurrentTest extends ConcurrentTest { @Override @Before public void doBefore() { - SQLiteDatabase.loadLib(); + SQLiteGlobal.loadLib(); super.doBefore(); } diff --git a/android/samples/benchmark/src/androidTest/java/com/tencent/wcdb/benchmark/single/WCDBSingleThreadedTest.java b/android/samples/benchmark/src/androidTest/java/com/tencent/wcdb/benchmark/single/WCDBSingleThreadedTest.java index 5645b9abf..056c9e115 100644 --- a/android/samples/benchmark/src/androidTest/java/com/tencent/wcdb/benchmark/single/WCDBSingleThreadedTest.java +++ b/android/samples/benchmark/src/androidTest/java/com/tencent/wcdb/benchmark/single/WCDBSingleThreadedTest.java @@ -24,6 +24,7 @@ import com.tencent.wcdb.DatabaseUtils; import com.tencent.wcdb.database.SQLiteDatabase; +import com.tencent.wcdb.database.SQLiteGlobal; import org.junit.After; import org.junit.Before; @@ -34,7 +35,7 @@ public class WCDBSingleThreadedTest extends SingleThreadedTest { @Override @Before public void doBefore() { - SQLiteDatabase.loadLib(); + SQLiteGlobal.loadLib(); super.doBefore(); }