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

se-edu / addressbook-level4 / 4125 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 08 Feb 2018 04:39AM UTC
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

08 Feb 2018 04:35AM UTC coverage: 91.74% (-0.2%) from 91.987%
4125.1

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

Source Files on job 4125.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4125
  • Travis Job 4125.1
  • 95611eb4 on github
  • Prev Job for on master (#4079.1)
  • Next Job for on master (#4139.1)
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