forked from nus-cs2103-AY1617S1/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from CS2103AUG2016-F10-C3/C3/support/Collate-tool
Add Collate tool and condense helptest into one function
- Loading branch information
Showing
6 changed files
with
506 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# A0146130WreusedToTest | ||
###### /src/test/java/seedu/gtd/logic/LogicManagerTest.java | ||
``` java | ||
@Test | ||
public void execute_help() throws Exception { | ||
assertCommandBehavior("help", HelpCommand.MESSAGE_USAGE+"/n"+HelpCommand.SHOWING_HELP_MESSAGE); | ||
assertTrue(helpShown); | ||
assertCommandBehavior("help add", AddCommand.MESSAGE_USAGE); | ||
assertCommandBehavior("help select", SelectCommand.MESSAGE_USAGE); | ||
assertCommandBehavior("help delete", DeleteCommand.MESSAGE_USAGE); | ||
assertCommandBehavior("help clear", ClearCommand.MESSAGE_USAGE); | ||
assertCommandBehavior("help find", FindCommand.MESSAGE_USAGE); | ||
assertCommandBehavior("help list", ListCommand.MESSAGE_USAGE); | ||
assertCommandBehavior("help exit", ExitCommand.MESSAGE_USAGE); | ||
} | ||
|
||
``` |
Binary file not shown.
Oops, something went wrong.