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

Add test case and fix deficiency #161

Merged
merged 5 commits into from Nov 7, 2019

Conversation

ChrisKheng
Copy link
Member

No description provided.

@ChrisKheng ChrisKheng added this to the v1.4 milestone Nov 7, 2019
@@ -0,0 +1,3 @@
Full Name,NUS Email Address,Personal Email Address,Mobile Number,Faculty/School,Year of Study,Choice of Deparment,Time slots
John Doe,john@u.nus.edu,john@hotmail.com,99999999,NUS,1,Department A,"09/10/2019 18:30-19:00, 10/10/2019 19:00-19:30, 11/10/2019 20:00-20:30"
John Toh,john@u.nus.edu,john@hotmail.com,99999999,NUS,1,Department B,"09/10/2019 18:30-19:00, 10/10/2019 19:00-19:30, 11/10/2019 20:00-20:30"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Failed checkstyle: error - prohibited \r\n line ending, use \n instead.

return schedulesList;
}

@Override
public List<List<String>> getTitlesLists() {
Collections.sort(schedulesList);
List<List<String>> titlesLists = new LinkedList<>();
for (Schedule schedule : schedulesList) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually can just do Collections.sort once in the setSchedules() method, instead of 3 times over here.

}

// ========================================= Helper methods =================================================
/**
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it better to leave helper methods in the CommandTestUtil class? Theres a section for convenience methods in the class.

@mirozo mirozo merged commit 6b05417 into AY1920S1-CS2103-F09-1:master Nov 7, 2019
@ChrisKheng ChrisKheng deleted the v1.4_fix_2 branch November 8, 2019 00:44
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.

None yet

2 participants