diff --git a/binding/android/CobraTestApp/cobra-test-app/src/androidTest/java/ai/picovoice/cobra/testapp/CobraTest.java b/binding/android/CobraTestApp/cobra-test-app/src/androidTest/java/ai/picovoice/cobra/testapp/CobraTest.java index 7ed9b5f..f509ed0 100644 --- a/binding/android/CobraTestApp/cobra-test-app/src/androidTest/java/ai/picovoice/cobra/testapp/CobraTest.java +++ b/binding/android/CobraTestApp/cobra-test-app/src/androidTest/java/ai/picovoice/cobra/testapp/CobraTest.java @@ -45,18 +45,12 @@ import static org.junit.Assert.*; -public class TestContextImplementation implements TestRule { - @Override - public Statement apply(Statement base, Description description) { - return base; - } -} - @RunWith(AndroidJUnit4.class) public class CobraTest { + public Context testContext; + @Rule - public TestRule testContext = new TestContextImplementation(); Context appContext; AssetManager assetManager; String testResourcesPath;