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

Write tests for import and export function #200

Merged

Conversation

jitwei98
Copy link
Collaborator

No description provided.

FileUtilTest.java: Write test for isValidXmlFilename()
ExportCommandParserTest.java: Remove irrelevant comment
…FilteredAddressBook() throw NullPointerException

#addPersonsToAddressBook(): test if model is equal to the expected model after executing addPersonsToAddressBook()
…rough the addressbook instead of the filteredPersonList
…icateAddressBookChanged when addPersonsToAddressBook adds at least one person
ModelManager.java#importPersonsFromAddressBook(): Use orElseThrow instead of orElse
@jitwei98 jitwei98 added the priority.high Must do label Nov 12, 2018
@jitwei98 jitwei98 added this to the v1.4 milestone Nov 12, 2018
@jitwei98 jitwei98 self-assigned this Nov 12, 2018
@jitwei98 jitwei98 changed the title Jitwei98/tests for v1.4 Write tests for import and export function Nov 12, 2018
@coveralls
Copy link

Coverage Status

Coverage increased (+2.3%) to 80.127% when pulling d1424a4 on jitwei98:jitwei98/tests-for-v1.4 into 7fcdf59 on CS2113-AY1819S1-W12-1:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants