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

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

Issue 29349000: Issue 4240 - Put braces on each and every block (Closed)
Patch Set: Created Aug. 2, 2016, 10:59 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/FilterEngineTest.java
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineTest.java
index c1c74ba74fbae17b0e906f136177d9ae0c4ed077..d34bf16de232b9510c53292c1ab3579cad4c25a3 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineTest.java
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineTest.java
@@ -46,7 +46,9 @@ public class FilterEngineTest extends FilterEngineGenericTest
public void testAddRemoveFilters()
{
while (filterEngine.getListedFilters().size() > 0)
- filterEngine.getListedFilters().get(0).removeFromList();
+ {
+ filterEngine.getListedFilters().get(0).removeFromList();
+ }
assertEquals(0, filterEngine.getListedFilters().size());
Filter filter = filterEngine.getFilter("foo");
@@ -76,7 +78,9 @@ public class FilterEngineTest extends FilterEngineGenericTest
public void testAddRemoveSubscriptions()
{
while (filterEngine.getListedSubscriptions().size() > 0)
- filterEngine.getListedSubscriptions().get(0).removeFromList();
+ {
+ filterEngine.getListedSubscriptions().get(0).removeFromList();
+ }
assertEquals(0, filterEngine.getListedSubscriptions().size());
Subscription subscription = filterEngine.getSubscription("foo");

Powered by Google App Engine
This is Rietveld