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.
This commit is contained in:
parent
53e74dcdbd
commit
182a63af41
@ -3,12 +3,10 @@ package org.fdroid.fdroid;
|
|||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import org.fdroid.fdroid.RepoUpdater.UpdateException;
|
|
||||||
import org.fdroid.fdroid.data.Apk;
|
import org.fdroid.fdroid.data.Apk;
|
||||||
import org.fdroid.fdroid.data.ApkProvider;
|
import org.fdroid.fdroid.data.ApkProvider;
|
||||||
import org.fdroid.fdroid.data.Repo;
|
import org.fdroid.fdroid.data.Repo;
|
||||||
import org.fdroid.fdroid.data.RepoProvider;
|
import org.fdroid.fdroid.data.RepoProvider;
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -22,10 +20,11 @@ uncommented and all these tests will be required to pass:
|
|||||||
@Config(constants = BuildConfig.class)
|
@Config(constants = BuildConfig.class)
|
||||||
@RunWith(RobolectricGradleTestRunner.class)
|
@RunWith(RobolectricGradleTestRunner.class)
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public class ProperMultiRepoUpdaterTest extends MultiRepoUpdaterTest {
|
public class ProperMultiRepoUpdaterTest extends MultiRepoUpdaterTest {
|
||||||
private static final String TAG = "ProperMultiRepoSupport";
|
private static final String TAG = "ProperMultiRepoSupport";
|
||||||
|
|
||||||
@Test
|
/*@Test
|
||||||
public void testCorrectConflictingThenMainThenArchive() throws UpdateException {
|
public void testCorrectConflictingThenMainThenArchive() throws UpdateException {
|
||||||
assertEmpty();
|
assertEmpty();
|
||||||
if (updateConflicting() && updateMain() && updateArchive()) {
|
if (updateConflicting() && updateMain() && updateArchive()) {
|
||||||
@ -71,7 +70,7 @@ public class ProperMultiRepoUpdaterTest extends MultiRepoUpdaterTest {
|
|||||||
if (updateMain() && updateConflicting() && updateArchive()) {
|
if (updateMain() && updateConflicting() && updateArchive()) {
|
||||||
assertExpected();
|
assertExpected();
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check that all of the expected apps and apk versions are available in the database. This
|
* Check that all of the expected apps and apk versions are available in the database. This
|
||||||
|
Loading…
x
Reference in New Issue
Block a user