Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineTest.java |
=================================================================== |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineTest.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineTest.java |
@@ -12,17 +12,16 @@ |
* GNU General Public License for more details. |
* |
* You should have received a copy of the GNU General Public License |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
package org.adblockplus.libadblockplus.tests; |
-import android.util.Log; |
import org.adblockplus.libadblockplus.Filter; |
import org.adblockplus.libadblockplus.FilterEngine; |
import org.adblockplus.libadblockplus.MockFilterChangeCallback; |
import org.adblockplus.libadblockplus.Subscription; |
import org.junit.Test; |
public class FilterEngineTest extends FilterEngineGenericTest |
@@ -316,17 +315,17 @@ |
}); |
assertNotNull(match5); |
assertEquals(Filter.Type.EXCEPTION, match5.getType()); |
} |
@Test |
public void testFirstRunFlag() |
{ |
- assertFalse(filterEngine.isFirstRun()); |
+ assertTrue(filterEngine.isFirstRun()); |
} |
@Test |
public void testSetRemoveFilterChangeCallback() |
{ |
MockFilterChangeCallback mockFilterChangeCallback = new MockFilterChangeCallback(0); |
filterEngine.setFilterChangeCallback(mockFilterChangeCallback); |