diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-11-15 14:36:19 +0100 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2015-11-15 14:36:19 +0100 |
commit | 848b6b82eb318abcf4eeb2054bcb79bb2dd51bab (patch) | |
tree | 7027c5b997bc256c08078aa85f31b81605fb20b8 /test/eu/equalparts/cardbase/cli | |
parent | 3ce7986bbb8c3daf12cca4819dabbe28354e3708 (diff) |
Passing all tests, but it is nasty, need to refactor now
Diffstat (limited to 'test/eu/equalparts/cardbase/cli')
-rw-r--r-- | test/eu/equalparts/cardbase/cli/CardbaseCLITest.java | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/test/eu/equalparts/cardbase/cli/CardbaseCLITest.java b/test/eu/equalparts/cardbase/cli/CardbaseCLITest.java index 5756337..9a98469 100644 --- a/test/eu/equalparts/cardbase/cli/CardbaseCLITest.java +++ b/test/eu/equalparts/cardbase/cli/CardbaseCLITest.java @@ -7,10 +7,7 @@ import java.io.File; import java.io.PrintStream; import java.util.Scanner; -import org.junit.After; -import org.junit.AfterClass; import org.junit.Before; -import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -44,24 +41,11 @@ public class CardbaseCLITest { @Rule public TemporaryFolder tempFolder = new TemporaryFolder(); - @BeforeClass - public static void setUpBeforeClass() throws Exception { - - } - - @AfterClass - public static void tearDownAfterClass() throws Exception { - } - @Before public void setUp() throws Exception { uut = new CardbaseCLI(TEST_REMOTE); testOutput.reset(); } - - @After - public void tearDown() throws Exception { - } /*********************************************************************************** * Start up tests, happy path @@ -1065,7 +1049,7 @@ public class CardbaseCLITest { } finally { System.setOut(console); } - assertEquals("Wrong glance.", "20 Cunning Strike (FRF, 150)\nTotal: 20" + EOL, testOutput.toString()); + assertEquals("Wrong glance.", "20 Cunning Strike (FRF, 150)\nTotal: 20" + EOL, testOutput.toString()); } /* |