forked from AY2324S2-CS2103T-T15-1/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/AY2324S2-CS2103T-T15-1/tp
- Loading branch information
Showing
29 changed files
with
245 additions
and
89 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
title: "mediCLI" | ||
title: "MediCLI" | ||
theme: minima | ||
|
||
header_pages: | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
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 |
---|---|---|
|
@@ -9,5 +9,5 @@ | |
"z" : 99 | ||
} | ||
}, | ||
"addressBookFilePath" : "medicli.json" | ||
"addressBookFilePath" : "addressbook.json" | ||
} |
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 |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
"y" : 100 | ||
} | ||
}, | ||
"addressBookFilePath" : "medicli.json" | ||
"addressBookFilePath" : "addressbook.json" | ||
} |
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
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
60 changes: 60 additions & 0 deletions
60
src/test/java/seedu/address/testutil/addressbookinvalid.json
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,60 @@ | ||
{ | ||
"persons" : [ { | ||
"type" : "PATIENT", | ||
"nric" : "S1234567A", | ||
"name" : "John Doe", | ||
"dob" : "2002-01-30", | ||
"phone" : "92624417", | ||
"tags" : [ ] | ||
}, { | ||
"type" : "PATIENT", | ||
"nric" : "S0123456A", | ||
"name" : "David Li", | ||
"dob" : "2003-04-28", | ||
"phone" : "87438807", | ||
"tags" : [ ] | ||
}, { | ||
"type" : "DOCTOR", | ||
"nric" : "S1234567s", | ||
"name" : "John Doe", | ||
"dob" : "2003-01-30", | ||
"phone" : "98765432", | ||
"tags" : [ ] | ||
} ], | ||
"appointments" : [ { | ||
"doctorNric" : "s1234567s", | ||
"patientNric" : "s1234567a", | ||
"appointmentDateTime" : "2024-06-06 15:00", | ||
"appointmentId" : "a48433956" | ||
}, { | ||
"doctorNric" : "s1234567s", | ||
"patientNric" : "s1234567a", | ||
"appointmentDateTime" : "2024-06-07 13:00", | ||
"appointmentId" : "a14526721" | ||
}, { | ||
"doctorNric" : "s1234567s", | ||
"patientNric" : "s1234567a", | ||
"appointmentDateTime" : "2025-05-05 19:00", | ||
"appointmentId" : "a56366553" | ||
}, { | ||
"doctorNric" : "s1234567s", | ||
"patientNric" : "s1234567a", | ||
"appointmentDateTime" : "2020-07-07 10:00", | ||
"appointmentId" : "a11259511" | ||
}, { | ||
"doctorNric" : "s1234567s", | ||
"patientNric" : "s1234567a", | ||
"appointmentDateTime" : "2024-05-04 02:00", | ||
"appointmentId" : "a20170899" | ||
}, { | ||
"doctorNric" : "s1234567s", | ||
"patientNric" : "s1234567a", | ||
"appointmentDateTime" : "2024-05-03 02:03", | ||
"appointmentId" : "a50992029" | ||
}, { | ||
"doctorNric" : "s1234567s", | ||
"patientNric" : "s1234567a", | ||
"appointmentDateTime" : "2024kadlka", | ||
"appointmentId" : "a13027485" | ||
} ] | ||
} |
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,45 @@ | ||
package seedu.address.ui; | ||
|
||
import static org.junit.jupiter.api.Assertions.assertTrue; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import seedu.address.model.person.Person; | ||
|
||
public class AppointmentCardTest { | ||
|
||
private static final int INDEX = 1; | ||
|
||
private AppointmentCard appointmentCard; | ||
private Person samplePerson; | ||
|
||
@Test | ||
public void constructor_validPerson_correctFields() { | ||
assertTrue(true); | ||
} | ||
|
||
@Test | ||
public void constructor_nullPerson_throwsNullPointerException() { | ||
assertTrue(true); | ||
} | ||
|
||
@Test | ||
public void display() { | ||
assertTrue(true); | ||
} | ||
|
||
@Test | ||
public void equals() { | ||
assertTrue(true); | ||
} | ||
|
||
@Test | ||
public void equals_nullObject_returnsFalse() { | ||
assertTrue(true); | ||
} | ||
|
||
@Test | ||
public void hashCode_validHashCode() { | ||
assertTrue(true); | ||
} | ||
} |