Skip to content

Commit a32415b

Browse files
Branden ArcherBranden Archer
Branden Archer
authored and
Branden Archer
committed
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.
1 parent 5965b82 commit a32415b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/test/java/protect/card_locker/ImportExportTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private void clearDatabase()
109109
@Test
110110
public void multipleCardsExportImport() throws IOException
111111
{
112-
final int NUM_CARDS = 1000;
112+
final int NUM_CARDS = 10;
113113

114114
for(DataFormat format : DataFormat.values())
115115
{
@@ -144,7 +144,7 @@ public void multipleCardsExportImport() throws IOException
144144
@Test
145145
public void importExistingCardsNotReplace() throws IOException
146146
{
147-
final int NUM_CARDS = 1000;
147+
final int NUM_CARDS = 10;
148148

149149
for(DataFormat format : DataFormat.values())
150150
{
@@ -177,7 +177,7 @@ public void importExistingCardsNotReplace() throws IOException
177177
@Test
178178
public void corruptedImportNothingSaved() throws IOException
179179
{
180-
final int NUM_CARDS = 1000;
180+
final int NUM_CARDS = 10;
181181

182182
for(DataFormat format : DataFormat.values())
183183
{

0 commit comments

Comments
 (0)