From 182a63af41f9408447b4df14176fc847608cf8ed Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Thu, 9 Jun 2016 10:40:44 +1000 Subject: [PATCH] Ensure tests for proper multirepo support are not run. They are here so that when we support multiple repos in a more robust manner, we can use these tests to show that it was successful. --- .../java/org/fdroid/fdroid/ProperMultiRepoUpdaterTest.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/test/java/org/fdroid/fdroid/ProperMultiRepoUpdaterTest.java b/app/src/test/java/org/fdroid/fdroid/ProperMultiRepoUpdaterTest.java index da7105e42..b0e992854 100644 --- a/app/src/test/java/org/fdroid/fdroid/ProperMultiRepoUpdaterTest.java +++ b/app/src/test/java/org/fdroid/fdroid/ProperMultiRepoUpdaterTest.java @@ -3,12 +3,10 @@ package org.fdroid.fdroid; import android.util.Log; -import org.fdroid.fdroid.RepoUpdater.UpdateException; import org.fdroid.fdroid.data.Apk; import org.fdroid.fdroid.data.ApkProvider; import org.fdroid.fdroid.data.Repo; import org.fdroid.fdroid.data.RepoProvider; -import org.junit.Test; import java.util.List; @@ -22,10 +20,11 @@ uncommented and all these tests will be required to pass: @Config(constants = BuildConfig.class) @RunWith(RobolectricGradleTestRunner.class) */ +@SuppressWarnings("unused") public class ProperMultiRepoUpdaterTest extends MultiRepoUpdaterTest { private static final String TAG = "ProperMultiRepoSupport"; - @Test + /*@Test public void testCorrectConflictingThenMainThenArchive() throws UpdateException { assertEmpty(); if (updateConflicting() && updateMain() && updateArchive()) { @@ -71,7 +70,7 @@ public class ProperMultiRepoUpdaterTest extends MultiRepoUpdaterTest { if (updateMain() && updateConflicting() && updateArchive()) { assertExpected(); } - } + }*/ /** * Check that all of the expected apps and apk versions are available in the database. This