From a32415b4d2ffaded6a9f73ec67643363d3e0ad40 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Fri, 15 Jul 2016 17:53:18 -0400 Subject: [PATCH] Reduce the number of cards tested in import/export tests There is no need to have so many cards tested in the test, just a few will do to prove the point. --- app/src/test/java/protect/card_locker/ImportExportTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/test/java/protect/card_locker/ImportExportTest.java b/app/src/test/java/protect/card_locker/ImportExportTest.java index 0950d4b59..682b6c796 100644 --- a/app/src/test/java/protect/card_locker/ImportExportTest.java +++ b/app/src/test/java/protect/card_locker/ImportExportTest.java @@ -109,7 +109,7 @@ public class ImportExportTest @Test public void multipleCardsExportImport() throws IOException { - final int NUM_CARDS = 1000; + final int NUM_CARDS = 10; for(DataFormat format : DataFormat.values()) { @@ -144,7 +144,7 @@ public class ImportExportTest @Test public void importExistingCardsNotReplace() throws IOException { - final int NUM_CARDS = 1000; + final int NUM_CARDS = 10; for(DataFormat format : DataFormat.values()) { @@ -177,7 +177,7 @@ public class ImportExportTest @Test public void corruptedImportNothingSaved() throws IOException { - final int NUM_CARDS = 1000; + final int NUM_CARDS = 10; for(DataFormat format : DataFormat.values()) {