AY2324S1-CS2103T-T08-1 / tp

MIT License
0 stars 5 forks source link

Update Model and Logic to support View commands #130

Closed yanghengtang closed 1 year ago

yanghengtang commented 1 year ago
  1. The following attributes, together with its getter and setter, have been added to Model interface
    • selectedAppointment
    • selectedDoctor
    • selectedPatient
  2. Logic interface will also have getters for all the attributes in Model
  3. CommandResult will have the following attributes, together with getters, two new constructors
    • showAppointment
    • showDoctor
    • showPatient

All these will be used in the implementation of the View command.

codecov[bot] commented 1 year ago

Codecov Report

Merging #130 (79634e1) into master (6796bcc) will increase coverage by 0.23%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #130      +/-   ##
============================================
+ Coverage     81.99%   82.23%   +0.23%     
- Complexity      712      729      +17     
============================================
  Files           105      105              
  Lines          2088     2116      +28     
  Branches        214      214              
============================================
+ Hits           1712     1740      +28     
  Misses          344      344              
  Partials         32       32              
Files Coverage Δ
...rc/main/java/seedu/address/logic/LogicManager.java 100.00% <100.00%> (ø)
...va/seedu/address/logic/commands/CommandResult.java 100.00% <100.00%> (ø)
src/main/java/seedu/address/model/Model.java 100.00% <ø> (ø)
...rc/main/java/seedu/address/model/ModelManager.java 95.87% <100.00%> (+0.58%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more