• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

se-edu / addressbook-level4 / 4125
94%

Build:
DEFAULT BRANCH: master
Ran 08 Feb 2018 04:39AM UTC
Jobs 1
Files 92
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4125

push

travis-ci

web-flow
[#749] Storage layer needs proper error handling (#816)

XmlSerializableAddressBook does not have a method to convert itself to
an AddressBook object. It implements ReadOnlyAddressBook and has
getPersonList() and getTagList() methods, which the caller uses to
create an AddressBook object.

By implementing ReadOnlyAddressBook, the overridden getPersonList()
and getTagList() methods are unable to throw IllegalValueException to
higher level components for error handling if there's errors in the
.xml save file.

Let's implement a toModelType() method in XmlSerializableAddressBook
to allow the XmlSerializableAddressBook to convert itself to an 
AddressBook and remove it's implementation of ReadOnlyAddressBook.
Let's also override the equals(Object) method in XmlAdaptedPerson,
XmlAdaptedTag and XmlSerializableAddressBook

1455 of 1586 relevant lines covered (91.74%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4125.1 08 Feb 2018 04:39AM UTC 0
91.74
Travis Job 4125.1
Source Files on build 4125
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4125
  • 95611eb4 on github
  • Prev Build on master (#4079)
  • Next Build on master (#4139)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc