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

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

Issue 29347315: Issue 4231 - Fix unstable FilterEngineTest.testSetRemoveFilterChangeCallback (Closed)
Patch Set: patchset 2 + patchset 3 + applied Eyeo's codestyle Created Aug. 8, 2016, 8:09 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: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineGenericTest.java
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineGenericTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineGenericTest.java
index a50df6105ad31e5c688b6c2e1c4f86ce2ba7d862..1351d54b4fe989d24f8c14a005176e7b4ccd284c 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineGenericTest.java
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineGenericTest.java
@@ -22,16 +22,17 @@ import org.adblockplus.libadblockplus.LazyWebRequest;
public abstract class FilterEngineGenericTest extends BaseJsTest
{
- protected FilterEngine filterEngine;
+ protected FilterEngine filterEngine;
- @Override
- protected void setUp() throws Exception
- {
- super.setUp();
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
- jsEngine.setWebRequest(new LazyWebRequest());
- jsEngine.setDefaultLogSystem();
+ jsEngine.setWebRequest(new LazyWebRequest());
+ jsEngine.setDefaultLogSystem();
+ jsEngine.setFileSystem(new LazyFileSystem());
- filterEngine = new FilterEngine(jsEngine);
- }
+ filterEngine = new FilterEngine(jsEngine);
+ }
}

Powered by Google App Engine
This is Rietveld