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

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

Issue 29819555: Fix libadblockplus-android tests
Patch Set: Fixed indentation issues. Created Aug. 27, 2018, 8:03 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/UpdaterTest.java
diff --git a/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java b/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java
deleted file mode 100644
index d27df60e7d9cf6e7a042ad4464d1b3732bfb6678..0000000000000000000000000000000000000000
--- a/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * This file is part of Adblock Plus <https://adblockplus.org/>,
- * Copyright (C) 2006-present eyeo GmbH
- *
- * Adblock Plus is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
- * published by the Free Software Foundation.
- *
- * Adblock Plus is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * 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 org.adblockplus.libadblockplus.AppInfo;
-import org.adblockplus.libadblockplus.MockWebRequest;
-import org.adblockplus.libadblockplus.Platform;
-
-public class UpdaterTest extends BaseFilterEngineTest
-{
- protected MockWebRequest mockWebRequest;
-
- @Override
- protected void setUp() throws Exception
- {
- AppInfo appInfo = AppInfo
- .builder()
- .setName("test")
- .setVersion("1.0.1")
- .build();
- mockWebRequest = new MockWebRequest();
- platform = new Platform(null, mockWebRequest,
- getContext().getFilesDir().getAbsolutePath());
- platform.setUpJsEngine(appInfo);
- filterEngine = platform.getFilterEngine();
- }
-}

Powered by Google App Engine
This is Rietveld