Skip to content

Commit

Permalink
Refine comment in assertCommandBehavior()
Browse files Browse the repository at this point in the history
  • Loading branch information
damithc committed Sep 8, 2016
1 parent 1bb8915 commit 9522d66
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/java/seedu/addressbook/logic/LogicTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,16 @@ public void execute_invalid() throws Exception {
}

/**
* Executes the command and confirms that the result message is correct and both in-memory and persistent data
* were not affected.
* Executes the command and confirms that the result message is correct.
* Both the address book and the last shown list is expected to be empty.
*/
private void assertCommandBehavior(String inputCommand, String expectedMessage) throws Exception {
assertCommandBehavior(inputCommand, expectedMessage, AddressBook.empty(),false, Collections.emptyList());
}

/**
* Executes the command and confirms that the result message is correct and both in-memory and persistent data
* were not affected.
* Confirms that the following three parts of the Logic object's state is as expected:<br>
* Executes the command and confirms that the result message is correct and
* confirms that the following three parts of the Logic object's state is as expected:<br>
* - the internal addressbook is same as {@code expectedAddressBook} <br>
* - the internal last shown list is the same as {@code expectedLastList} <br>
* - the storage file content matches data in {@code expectedAddressBook} <br>
Expand Down

0 comments on commit 9522d66

Please sign in to comment.