-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Description
Make tests for the JSON reader as follows:
- Test edge cases:
- Invalid JSON strings don't break constructor
-
For
getReleasesmethod:- Missing or null fields in the JSON
- Empty
releasesarray - Invalid or unexpected JSON structure
-
For
getCDStubsmethod:- Missing or null fields in the JSON
- Empty
cdstubsarray - Invalid or unexpected JSON structure
-
For
createTableModelmethod:- Empty input arrays
- Null input arrays
- Invalid data in the input array
-
For
getReleasesAsTableModelmethod:- Empty or null
MusicBrainzRelease[]
- Empty or null
-
For
getCDStubsAsTableModelmethod:- Empty or null
MusicBrainzCDStub[]
- Empty or null
-
Error handling:
- Invalid or unexpected JSON structures
- Missing required fields in the JSON
You MAY make changes to other classes if deemed necessary.
Reactions are currently unavailable