Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblock-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java

Issue 29857561: Fix libadblockplus-android tests, Part 2
Patch Set: Created Aug. 16, 2018, 11:48 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld