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

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

Issue 29819555: Fix libadblockplus-android tests
Patch Set: Added missing files, removed a whitespace Created Aug. 16, 2018, 12:27 p.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