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

CS2113-AY1819S1-W12-3 / main / 435
87%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2018 08:33AM UTC
Jobs 1
Files 136
Run time 6s
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
435

push

travis-ci-com

web-flow
Added test cases for backup and restore (#123)

* Coded the export feature
It takes in a directory and a name and exports the xml file to the location
Directory and name willbe that of default if not specified
Currently does not converts to .csv file

* Updated user guide: changed the command format for export

* Implemented the import feature, currently replaces the whole addressbook.xml file

* Implemented xml to csv converter. Export function now  saves file in .csv format
Bug: since some addresses have commas, they do not show up correctly in .csv file

* Updated ".gitignore"

* Fixed Travis errors

* Added quotation marks to encapsulate every string to fix bug on commas interfering with the excel file.
moved style.xsl to resource/view
Updated .gitignore

* Fixed Travis errors

* Changed prefix names for export and import
Updated user guide prefixes

* Added the implementation for backup and listing of snapshots in the user guide

* Edited "f" to "f/"

* Reimplemented the export feature, CsvParser writes UniquePersonsList to a .csv file

* Fixed Travis errors

* Renamed CsvParser to CsvWriter

* Fixed Travis Errors

* Added conversion of File type to List<Person> in CsvWriter

* Import is now fully implemented. It appends the addressbook with the imported data.
Bug (Major): if .csv file is edited in excel, format of the whole file will change, thus rendering the CsvWrite useless

* Fixed AppVeyor errors

* Fixed AppVeyor errors

* Added .trim() to ExportCommand
Abstracted makeBackup
Made fileName accessible to testcases

* Added JavaDoc for getFileName

* Fixed AppVeyor error

* Added deletion of backup snapshot after backup command has ran

* Fixed error by introducing stubs

* Added JavaDoc to fix some errors

* Catch IOException in line 41 of BackUpCommandTest

* Overload BackUpCommand() to accept a source directory

* Reimplemented backup and restore
does not touch addressbook.xm... (continued)

133 of 133 new or added lines in 8 files covered. (100.0%)

2865 of 3387 relevant lines covered (84.59%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 435.1 30 Oct 2018 08:33AM UTC 0
84.59
Travis Job 435.1
Source Files on build 435
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #435
  • c2297f5f on github
  • Prev Build on master (#433)
  • Next Build on master (#437)
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