Index: adblock-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java |
diff --git a/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java b/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java |
index 1c3ed8ed25b71611065979dc8feceda37510a797..396bb1a3a1f66bfb3332406842be992d55a3b1bd 100644 |
--- a/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java |
+++ b/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java |
@@ -17,6 +17,7 @@ |
package org.adblockplus.libadblockplus.tests; |
+import org.adblockplus.libadblockplus.BaseJsEngineTest; |
import org.adblockplus.libadblockplus.LogSystem; |
import org.adblockplus.libadblockplus.MockLogSystem; |
@@ -27,9 +28,11 @@ public class ConsoleJsObjectTest extends BaseJsEngineTest |
protected MockLogSystem mockLogSystem; |
@Override |
- protected LogSystem createLogSystem() |
+ protected void setUp() throws Exception |
{ |
- return mockLogSystem = new MockLogSystem(); |
+ mockLogSystem = new MockLogSystem(); |
+ setLogSystem(mockLogSystem); |
+ super.setUp(); |
} |
@Test |