diff options
Diffstat (limited to 'WordPress/src/androidTest/java/org/wordpress/android/database/WordPressDBTest.java')
-rw-r--r-- | WordPress/src/androidTest/java/org/wordpress/android/database/WordPressDBTest.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/WordPress/src/androidTest/java/org/wordpress/android/database/WordPressDBTest.java b/WordPress/src/androidTest/java/org/wordpress/android/database/WordPressDBTest.java new file mode 100644 index 000000000..0e8b7de50 --- /dev/null +++ b/WordPress/src/androidTest/java/org/wordpress/android/database/WordPressDBTest.java @@ -0,0 +1,17 @@ +package org.wordpress.android.database; + +import android.content.Context; +import android.test.InstrumentationTestCase; +import android.test.RenamingDelegatingContext; + +public class WordPressDBTest extends InstrumentationTestCase { + protected Context testContext; + protected Context targetContext; + + @Override + protected void setUp() { + // Run tests in an isolated context + targetContext = new RenamingDelegatingContext(getInstrumentation().getTargetContext(), "test_"); + testContext = getInstrumentation().getContext(); + } +} |