Skip to content

Commit

Permalink
Fix test project building
Browse files Browse the repository at this point in the history
  • Loading branch information
John-He-928 committed Jun 6, 2018
1 parent 332bdaf commit 256e516
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -35,7 +36,7 @@ public class WCDBConcurrentTest extends ConcurrentTest {
@Override
@Before
public void doBefore() {
SQLiteDatabase.loadLib();
SQLiteGlobal.loadLib();
super.doBefore();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -34,7 +35,7 @@ public class WCDBSingleThreadedTest extends SingleThreadedTest {
@Override
@Before
public void doBefore() {
SQLiteDatabase.loadLib();
SQLiteGlobal.loadLib();
super.doBefore();
}

Expand Down

0 comments on commit 256e516

Please sign in to comment.