diff options
Diffstat (limited to 'test/eu')
-rw-r--r-- | test/eu/equalparts/cardbase/cli/CardbaseCLITest.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/test/eu/equalparts/cardbase/cli/CardbaseCLITest.java b/test/eu/equalparts/cardbase/cli/CardbaseCLITest.java index e84c13c..44b5d01 100644 --- a/test/eu/equalparts/cardbase/cli/CardbaseCLITest.java +++ b/test/eu/equalparts/cardbase/cli/CardbaseCLITest.java @@ -355,7 +355,48 @@ public class CardbaseCLITest { assertEquals("Incorrect state for exit flag.", true, uut.exit); } + /*********************************************************************************** + * sets() tests, happy path + ***********************************************************************************/ + // mock MTG universe + + /*********************************************************************************** + * set() tests, happy path + ***********************************************************************************/ + // mock MTG universe + /*********************************************************************************** + * glance() tests, happy path + ***********************************************************************************/ + @Test + public void glanceIsPrinted() throws Exception { + uut.savePrompt = true; + + uut.exit(); + + assertEquals("Incorrect state for exit flag.", false, uut.exit); + assertEquals("Incorrect state for save flag.", false, uut.savePrompt); + + uut.exit(); + + assertEquals("Incorrect state for exit flag.", true, uut.exit); + } + + /*********************************************************************************** + * peruse() tests, happy path + ***********************************************************************************/ + + /*********************************************************************************** + * undo() tests, happy path + ***********************************************************************************/ + + /*********************************************************************************** + * remove() tests, happy path + ***********************************************************************************/ + + /*********************************************************************************** + * add() tests, happy path + ***********************************************************************************/ } |