Skip to content

Commit

Permalink
Reduce the number of cards tested in import/export tests
Browse files Browse the repository at this point in the history
There is no need to have so many cards tested in the test, just
a few will do to prove the point.
  • Loading branch information
Branden Archer authored and Branden Archer committed Jul 20, 2016
1 parent 5965b82 commit a32415b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/test/java/protect/card_locker/ImportExportTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private void clearDatabase()
@Test
public void multipleCardsExportImport() throws IOException
{
final int NUM_CARDS = 1000;
final int NUM_CARDS = 10;

for(DataFormat format : DataFormat.values())
{
Expand Down Expand Up @@ -144,7 +144,7 @@ public void multipleCardsExportImport() throws IOException
@Test
public void importExistingCardsNotReplace() throws IOException
{
final int NUM_CARDS = 1000;
final int NUM_CARDS = 10;

for(DataFormat format : DataFormat.values())
{
Expand Down Expand Up @@ -177,7 +177,7 @@ public void importExistingCardsNotReplace() throws IOException
@Test
public void corruptedImportNothingSaved() throws IOException
{
final int NUM_CARDS = 1000;
final int NUM_CARDS = 10;

for(DataFormat format : DataFormat.values())
{
Expand Down

0 comments on commit a32415b

Please sign in to comment.