diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-03-30 22:00:49 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-03-30 22:00:49 +0200 |
commit | 499e77db6c4d535cd3cb0023230618565624b744 (patch) | |
tree | 83cf6ca8d62f4affb24993c71e59d5fa240b003c /test | |
parent | fa90e150b74ce2e46128738fea40dbb8e6d182c3 (diff) |
It appears to be working, will continue tomorrow
Diffstat (limited to 'test')
3 files changed, 6 insertions, 4 deletions
diff --git a/test/eu/equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java b/test/eu/equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java index d233ddf..91409b5 100644 --- a/test/eu/equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java +++ b/test/eu/equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java @@ -11,6 +11,7 @@ import org.junit.rules.ExpectedException; import com.fasterxml.jackson.databind.ObjectMapper; +import eu.equalparts.cardbase.Cardbase; import eu.equalparts.cardbase.cards.Card; /** @@ -39,8 +40,7 @@ public class ReferenceCardContainerTest { @Before public void setUp() throws Exception { - uut = new ReferenceCardContainer() { - }; + uut = new Cardbase(); } /*********************************************************************************** diff --git a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerSortTest.java b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerSortTest.java index 2a4a3ba..990cad5 100644 --- a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerSortTest.java +++ b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerSortTest.java @@ -13,6 +13,7 @@ import org.junit.Test; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; +import eu.equalparts.cardbase.Cardbase; import eu.equalparts.cardbase.cards.Card; /** @@ -38,7 +39,7 @@ public class StandaloneCardContainerSortTest { @Before public void setUp() throws Exception { - uut = new StandaloneCardContainer() {}; + uut = new Cardbase(); int[] cardCounts = {1, 2, 3, 8, 1, 15, 1, 1}; for (int i = 0; i < testCards.size(); i++) { uut.addCard(testCards.get(i), cardCounts[i]); diff --git a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java index f33341e..2d44c10 100644 --- a/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java +++ b/test/eu/equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java @@ -16,6 +16,7 @@ import org.junit.rules.ExpectedException; import com.fasterxml.jackson.databind.ObjectMapper; +import eu.equalparts.cardbase.Cardbase; import eu.equalparts.cardbase.cards.Card; public class StandaloneCardContainerTest { @@ -37,7 +38,7 @@ public class StandaloneCardContainerTest { @Before public void setUp() throws Exception { - uut = new StandaloneCardContainer() {}; + uut = new Cardbase(); } /*********************************************************************************** |