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

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

Issue 29524565: Issue 5556 - remove LogSystem setters (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Patch Set: address comments Created Aug. 24, 2017, 1:38 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: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java
index efafe5d54e93366c1c4981ecc4f07aafd22986a1..3e1d643cda6ae942d1876cd6969aab0e71581507 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java
@@ -27,12 +27,9 @@ public class ConsoleJsObjectTest extends BaseJsTest
protected MockLogSystem mockLogSystem;
@Override
- protected void setUp() throws Exception
+ protected LogSystem createLogSystem()
{
- super.setUp();
-
- mockLogSystem = new MockLogSystem();
- jsEngine.setLogSystem(mockLogSystem);
+ return mockLogSystem = new MockLogSystem();
}
@Test

Powered by Google App Engine
This is Rietveld