Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract logic out and standardise invalid command messages #128

Merged

Conversation

cheahTJ
Copy link

@cheahTJ cheahTJ commented Apr 2, 2024

No description provided.

Copy link

codecov bot commented Apr 2, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 76.16%. Comparing base (7c61b2c) to head (fa3f55e).

Files Patch % Lines
.../seedu/address/logic/commands/ScheduleCommand.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##             code-quality     #128      +/-   ##
==================================================
+ Coverage           76.09%   76.16%   +0.07%     
+ Complexity            563      562       -1     
==================================================
  Files                  84       84              
  Lines                1820     1817       -3     
  Branches              198      198              
==================================================
- Hits                 1385     1384       -1     
+ Misses                369      367       -2     
  Partials               66       66              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cheahTJ cheahTJ self-assigned this Apr 2, 2024
* @return A person, if any, with the corresponding nusId
*/
@Override
public Person filterPersonListWithNusId(NusId nusId) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add some test cases for this method? Two is more than enough

@hjuntan hjuntan merged commit 12da726 into AY2324S2-CS2103T-T15-2:code-quality Apr 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants