Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java |
index 2f70397516025a2098f8da3e1061c9bf8adf9676..4e4dd0d51b2c1cf8f666d36ad5ef80db1662dbb3 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java |
@@ -17,6 +17,7 @@ |
package org.adblockplus.libadblockplus.tests; |
+import org.adblockplus.libadblockplus.WebRequest; |
import org.adblockplus.libadblockplus.android.AndroidWebRequest; |
import org.adblockplus.libadblockplus.FilterEngine; |
import org.adblockplus.libadblockplus.JsValue; |
@@ -30,11 +31,9 @@ import java.util.List; |
public class AndroidWebRequestTest extends BaseJsTest |
{ |
@Override |
- protected void setUp() throws Exception |
+ protected WebRequest createWebRequest() |
{ |
- super.setUp(); |
- |
- jsEngine.setWebRequest(new AndroidWebRequest(true, true)); |
+ return new AndroidWebRequest(true, true); |
} |
@Test |