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

CS2113-AY1819S1-W13-1 / main / 55
78%

Build:
DEFAULT BRANCH: master
Ran 04 Oct 2018 04:40PM UTC
Jobs 1
Files 100
Run time 7s
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
55

Pull #18

travis-ci

web-flow
PersonListPanelTest#createXmlFileWithPersons(): Fix incorrect path

createXmlFileWithPersons() saves the location of the temporarily
generated .xml file to:

    src/test/data/sandboxmanyPersons.xml

instead of:

    src/test/data/sandbox/manyPersons.xml

It is likely that the original author of the test intended the saving
location to be the latter, given that it has always resolved to the
latter until we revamped the path handling logic in AddressBook to use
java.nio.file.Path API, which introduced this discrepancy (commit
9eac635d9).

Saving the temporary .xml file to the 'sandbox' folder is also ideal as
the folder is git-ignored, so even if JVM crashes and does not clean
up the temporary file, students would not accidentally commit this
potentially _enormous_ .xml file into the repository.

Let's fix the incorrect path.
Pull Request #18: Merge from upstream se-edu/AB4

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

1474 of 1659 relevant lines covered (88.85%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 55.1 04 Oct 2018 04:40PM UTC 0
88.85
Travis Job 55.1
Source Files on build 55
  • Tree
  • List 0
  • Changed 8
  • Source Changed 8
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #55
  • Pull Request #18
  • PR Base - master (#54)
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

© 2025 Coveralls, Inc