From 499e77db6c4d535cd3cb0023230618565624b744 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Wed, 30 Mar 2016 22:00:49 +0200 Subject: It appears to be working, will continue tomorrow --- .../equalparts/cardbase/cardstorage/ReferenceCardContainerTest.java | 4 ++-- .../cardbase/cardstorage/StandaloneCardContainerSortTest.java | 3 ++- .../equalparts/cardbase/cardstorage/StandaloneCardContainerTest.java | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'test/eu') 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(); } /*********************************************************************************** -- cgit v1.2.3