forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'AY2425S1-CS2103T-T15-3:master' into master
- Loading branch information
Showing
4 changed files
with
0 additions
and
97 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
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 |
---|---|---|
|
@@ -34,11 +34,9 @@ public class CommandTestUtil { | |
public static final String VALID_NAME_AMY = "Amy Bee"; | ||
public static final String VALID_NAME_BOB = "Bob Choo"; | ||
public static final String VALID_ID_AMY = "P12345"; | ||
public static final String VALID_ID_WITH_SPECIAL_CHAR_AMY = "P12345/"; | ||
public static final String VALID_ID_BOB = "P54321"; | ||
public static final String VALID_ID_WITH_SPECIAL_CHAR_BOB = "P54321/"; | ||
public static final String VALID_WARD_AMY = "A1"; | ||
public static final String VALID_WARD_WITH_SPECIAL_CHAR_AMY = "A1!"; | ||
public static final String VALID_WARD_BOB = "B3"; | ||
public static final String VALID_WARD_WITH_SPECIAL_CHAR_BOB = "B3!"; | ||
public static final String VALID_DIAGNOSIS_AMY = "Celiac Disease"; | ||
|
@@ -62,20 +60,6 @@ public class CommandTestUtil { | |
|
||
public static final String APPOINTMENT_DESC_AMY = " " + PREFIX_APPOINTMENT + VALID_APPOINTMENT_AMY; | ||
public static final String APPOINTMENT_DESC_BOB = " " + PREFIX_APPOINTMENT + VALID_APPOINTMENT_BOB; | ||
|
||
|
||
/* | ||
public static final String VALID_PHONE_AMY = "11111111"; | ||
public static final String VALID_PHONE_BOB = "22222222"; | ||
public static final String VALID_EMAIL_AMY = "[email protected]"; | ||
public static final String VALID_EMAIL_BOB = "[email protected]"; | ||
public static final String VALID_ADDRESS_AMY = "Block 312, Amy Street 1"; | ||
public static final String VALID_ADDRESS_BOB = "Block 123, Bobby Street 3"; | ||
public static final String VALID_TAG_HUSBAND = "husband"; | ||
public static final String VALID_TAG_FRIEND = "friend"; | ||
*/ | ||
|
||
public static final String NAME_DESC_AMY = " " + PREFIX_NAME + VALID_NAME_AMY; | ||
public static final String NAME_DESC_BOB = " " + PREFIX_NAME + VALID_NAME_BOB; | ||
public static final String ID_DESC_AMY = " " + PREFIX_ID + VALID_ID_AMY; | ||
|
@@ -86,22 +70,17 @@ public class CommandTestUtil { | |
public static final String DIAGNOSIS_DESC_BOB = " " + PREFIX_DIAGNOSIS + VALID_DIAGNOSIS_BOB; | ||
public static final String MEDICATION_DESC_AMY = " " + PREFIX_MEDICATION + VALID_MEDICATION_AMY; | ||
public static final String MEDICATION_DESC_BOB = " " + PREFIX_MEDICATION + VALID_MEDICATION_BOB; | ||
|
||
public static final String INVALID_NAME_DESC = " " + PREFIX_NAME + "James&"; // '&' not allowed in names | ||
public static final String INVALID_ID_DESC = " " + PREFIX_ID + "P12D^5"; // '^' not allowed in id | ||
public static final String INVALID_WARD_DESC = " " + PREFIX_WARD + ""; // No empty string allowed | ||
public static final String INVALID_DIAGNOSIS_DESC = " " + PREFIX_DIAGNOSIS + "$<>"; // Only a-z and .()/- allowed | ||
public static final String INVALID_MEDICATION_DESC = " " + PREFIX_MEDICATION + "$<>"; // Only a-z and .()/- allowed | ||
|
||
// Only a-z and .()/- allowed | ||
public static final String INVALID_APPOINTMENT_DESC = " " + PREFIX_APPOINTMENT + "\t"; | ||
public static final String INVALID_START_DATETIME = "10/11/2024"; // Only 0-9 and - allowed | ||
public static final String INVALID_END_DATETIME = "10-11-202?"; // Only 0-9 and - allowed | ||
public static final String INVALID_START_DATETIME_DESC = " " + PREFIX_START + INVALID_START_DATETIME; | ||
public static final String INVALID_END_DATETIME_DESC = " " + PREFIX_END + INVALID_END_DATETIME; | ||
|
||
|
||
|
||
public static final String PREAMBLE_WHITESPACE = "\t \r \n"; | ||
public static final String PREAMBLE_NON_EMPTY = "NonEmptyPreamble"; | ||
|
||
|
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