forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
97 additions
and
27 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 |
---|---|---|
|
@@ -25,47 +25,104 @@ | |
*/ | ||
public class TypicalPersons { | ||
|
||
public static final Person ALICE = new PersonBuilder().withName("Alice Pauline") | ||
.withAddress("123, Jurong West Ave 6, #08-111").withEmail("[email protected]") | ||
.withPhone("94351253").withNric("S1234567A") | ||
public static final Person ALICE = new PersonBuilder() | ||
.withName("Alice Pauline") | ||
.withAddress("123, Jurong West Ave 6, #08-111") | ||
.withEmail("[email protected]") | ||
.withPhone("94351253") | ||
.withNric("S1234567A") | ||
.withRemark("she likes puppies") | ||
.withTags("friends").build(); | ||
public static final Person BENSON = new PersonBuilder().withName("Benson Meier") | ||
.withTags("friends") | ||
.withAppointment("02-11-2024 09:19") | ||
.build(); | ||
public static final Person BENSON = new PersonBuilder() | ||
.withName("Benson Meier") | ||
.withAddress("311, Clementi Ave 2, #02-25") | ||
.withEmail("[email protected]").withPhone("98765432").withNric("S1234567B") | ||
.withEmail("[email protected]") | ||
.withPhone("98765432") | ||
.withNric("S1234567B") | ||
.withRemark("He can't handle his alcohol") | ||
.withTags("owesMoney", "friends").build(); | ||
public static final Person CARL = new PersonBuilder().withName("Carl Kurz").withPhone("95352563") | ||
.withTags("owesMoney", "friends") | ||
.withAppointment("29-10-2024 20:24") | ||
.build(); | ||
public static final Person CARL = new PersonBuilder() | ||
.withName("Carl Kurz") | ||
.withPhone("95352563") | ||
.withNric("S1234567C") | ||
.withEmail("[email protected]").withAddress("wall street").build(); | ||
public static final Person DANIEL = new PersonBuilder().withName("Daniel Meier").withPhone("87652533") | ||
.withEmail("[email protected]") | ||
.withAddress("wall street") | ||
.withAppointment("01-11-2024 20:45") | ||
.build(); | ||
public static final Person DANIEL = new PersonBuilder() | ||
.withName("Daniel Meier") | ||
.withPhone("87652533") | ||
.withNric("S1234567D") | ||
.withEmail("[email protected]").withAddress("10th street").withTags("friends").build(); | ||
public static final Person ELLE = new PersonBuilder().withName("Elle Meyer").withPhone("9482224") | ||
.withEmail("[email protected]") | ||
.withAddress("10th street") | ||
.withTags("friends") | ||
.withAppointment("08-11-2024 10:10") | ||
.build(); | ||
public static final Person ELLE = new PersonBuilder() | ||
.withName("Elle Meyer") | ||
.withPhone("9482224") | ||
.withNric("S1234567E") | ||
.withEmail("[email protected]").withAddress("michegan ave").build(); | ||
public static final Person FIONA = new PersonBuilder().withName("Fiona Kunz").withPhone("9482427") | ||
.withEmail("[email protected]") | ||
.withAddress("michegan ave") | ||
.withAppointment("10-11-2024 05:31") | ||
.build(); | ||
public static final Person FIONA = new PersonBuilder() | ||
.withName("Fiona Kunz") | ||
.withPhone("9482427") | ||
.withNric("S1234567F") | ||
.withEmail("[email protected]").withAddress("little tokyo").build(); | ||
public static final Person GEORGE = new PersonBuilder().withName("George Best").withPhone("9482442") | ||
.withEmail("[email protected]") | ||
.withAddress("little tokyo") | ||
.withAppointment("08-11-2024 13:22") | ||
.build(); | ||
public static final Person GEORGE = new PersonBuilder() | ||
.withName("George Best") | ||
.withPhone("9482442") | ||
.withNric("S1234567G") | ||
.withEmail("[email protected]").withAddress("4th street").build(); | ||
.withEmail("[email protected]") | ||
.withAddress("4th street") | ||
.withAppointment("07-11-2024 22:33") | ||
.build(); | ||
|
||
// Manually added | ||
public static final Person HOON = new PersonBuilder().withName("Hoon Meier").withPhone("8482424") | ||
public static final Person HOON = new PersonBuilder() | ||
.withName("Hoon Meier") | ||
.withPhone("8482424") | ||
.withNric("S1234567H") | ||
.withEmail("[email protected]").withAddress("little india").build(); | ||
public static final Person IDA = new PersonBuilder().withName("Ida Mueller").withPhone("8482131") | ||
.withEmail("[email protected]") | ||
.withAddress("little india") | ||
.withAppointment("12-11-2024 06:22") | ||
.build(); | ||
public static final Person IDA = new PersonBuilder() | ||
.withName("Ida Mueller") | ||
.withPhone("8482131") | ||
.withNric("S1234567I") | ||
.withEmail("[email protected]").withAddress("chicago ave").build(); | ||
.withEmail("[email protected]") | ||
.withAddress("chicago ave") | ||
.withAppointment("22-10-2024 01:14") | ||
.build(); | ||
|
||
// Manually added - Person's details found in {@code CommandTestUtil} | ||
public static final Person AMY = new PersonBuilder().withName(VALID_NAME_AMY).withPhone(VALID_PHONE_AMY) | ||
.withEmail(VALID_EMAIL_AMY).withNric(VALID_NRIC_AMY).withAddress(VALID_ADDRESS_AMY) | ||
.withTags(VALID_TAG_FRIEND).build(); | ||
public static final Person BOB = new PersonBuilder().withName(VALID_NAME_BOB).withPhone(VALID_PHONE_BOB) | ||
.withEmail(VALID_EMAIL_BOB).withNric(VALID_NRIC_BOB) | ||
.withAddress(VALID_ADDRESS_BOB).withTags(VALID_TAG_HUSBAND, VALID_TAG_FRIEND) | ||
public static final Person AMY = new PersonBuilder() | ||
.withName(VALID_NAME_AMY) | ||
.withPhone(VALID_PHONE_AMY) | ||
.withEmail(VALID_EMAIL_AMY) | ||
.withNric(VALID_NRIC_AMY) | ||
.withAddress(VALID_ADDRESS_AMY) | ||
.withTags(VALID_TAG_FRIEND) | ||
.withAppointment("23-10-2024 22:50") | ||
.build(); | ||
public static final Person BOB = new PersonBuilder() | ||
.withName(VALID_NAME_BOB) | ||
.withPhone(VALID_PHONE_BOB) | ||
.withEmail(VALID_EMAIL_BOB) | ||
.withNric(VALID_NRIC_BOB) | ||
.withAddress(VALID_ADDRESS_BOB) | ||
.withTags(VALID_TAG_HUSBAND, VALID_TAG_FRIEND) | ||
.withAppointment("16-11-2024 20:44") | ||
.build(); | ||
|
||
public static final String KEYWORD_MATCHING_MEIER = "Meier"; // A keyword that matches MEIER | ||
|