Closed zi-yii closed 3 weeks ago
Attention: Patch coverage is 50.76923%
with 64 lines
in your changes missing coverage. Please review.
Files with missing lines | Coverage Δ | Complexity Δ | |
---|---|---|---|
src/main/java/seedu/address/logic/Messages.java | 88.88% <100.00%> (+1.38%) |
3.00 <0.00> (ø) |
|
...a/seedu/address/logic/parser/AddCommandParser.java | 100.00% <100.00%> (ø) |
5.00 <0.00> (ø) |
|
.../seedu/address/logic/parser/AddressBookParser.java | 100.00% <100.00%> (ø) |
14.00 <0.00> (+1.00) |
|
...in/java/seedu/address/logic/parser/ParserUtil.java | 92.85% <ø> (-4.93%) |
15.00 <0.00> (ø) |
|
...c/main/java/seedu/address/model/person/Person.java | 97.36% <100.00%> (+0.14%) |
20.00 <1.00> (+1.00) |
|
.../address/model/person/insurance/InsurancePlan.java | 66.66% <ø> (-6.07%) |
5.00 <0.00> (-2.00) |
|
.../java/seedu/address/model/util/SampleDataUtil.java | 20.00% <ø> (ø) |
1.00 <0.00> (ø) |
|
.../java/seedu/address/storage/JsonAdaptedPerson.java | 100.00% <100.00%> (ø) |
12.00 <0.00> (+1.00) |
|
...java/seedu/address/logic/commands/EditCommand.java | 97.50% <93.75%> (+0.06%) |
13.00 <1.00> (ø) |
|
src/main/java/seedu/address/ui/PersonCard.java | 0.00% <0.00%> (ø) |
0.00 <0.00> (ø) |
|
... and 5 more |
fixes #52
Found some error with the saving of added insurance date when trying to implement UI.
For the storage, when a client is first added to the address book, insurance plans will be shown as "No added plans". If insurance plans are added, they will be stored as a string.
For example if both basic and travel insurance plans are added to client A, insurance plans will be saved and displayed as "Basic Insurance plan, Travel Insurance plan" (the order depends on which insurance plan is added first).