diff --git a/src/main/java/seedu/address/logic/parser/AddressBookParser.java b/src/main/java/seedu/address/logic/parser/AddressBookParser.java index 7b5b2e6365e..95ceec836c1 100644 --- a/src/main/java/seedu/address/logic/parser/AddressBookParser.java +++ b/src/main/java/seedu/address/logic/parser/AddressBookParser.java @@ -15,7 +15,6 @@ import seedu.address.logic.commands.DeleteCommand; import seedu.address.logic.commands.EditCommand; import seedu.address.logic.commands.ExitCommand; -import seedu.address.logic.commands.FindCommand; import seedu.address.logic.commands.HelpCommand; import seedu.address.logic.commands.ListCommand; import seedu.address.logic.parser.exceptions.ParseException; diff --git a/src/test/java/seedu/address/logic/parser/AddressBookParserTest.java b/src/test/java/seedu/address/logic/parser/AddressBookParserTest.java index b9ccf4c9302..08ae9a62fab 100644 --- a/src/test/java/seedu/address/logic/parser/AddressBookParserTest.java +++ b/src/test/java/seedu/address/logic/parser/AddressBookParserTest.java @@ -20,7 +20,6 @@ import seedu.address.logic.commands.EditCommand.EditPersonDescriptor; import seedu.address.logic.commands.ExitCommand; import seedu.address.logic.commands.FindByNameCommand; -import seedu.address.logic.commands.FindCommand; import seedu.address.logic.commands.HelpCommand; import seedu.address.logic.commands.ListCommand; import seedu.address.logic.parser.exceptions.ParseException; @@ -69,13 +68,13 @@ public void parseCommand_exit() throws Exception { assertTrue(parser.parseCommand(ExitCommand.COMMAND_WORD + " 3") instanceof ExitCommand); } -// @Test -// public void parseCommand_find() throws Exception { -// List keywords = Arrays.asList("foo", "bar", "baz"); -// FindCommand command = (FindCommand) parser.parseCommand( -// FindCommand.COMMAND_WORD + " " + keywords.stream().collect(Collectors.joining(" "))); -// assertEquals(new FindCommand(new NameContainsKeywordsPredicate(keywords)), command); -// } + // @Test + // public void parseCommand_find() throws Exception { + // List keywords = Arrays.asList("foo", "bar", "baz"); + // FindCommand command = (FindCommand) parser.parseCommand( + // FindCommand.COMMAND_WORD + " " + keywords.stream().collect(Collectors.joining(" "))); + // assertEquals(new FindCommand(new NameContainsKeywordsPredicate(keywords)), command); + // } @Test public void parseCommand_findByName() throws Exception {