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

se-edu / addressbook-level4 / 3871
94%

Build:
DEFAULT BRANCH: master
Ran 23 Dec 2017 06:49AM UTC
Jobs 1
Files 93
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
3871

Pull #763

travis-ci

web-flow
AddCommandParser: add check to ensure preamble is empty

AddCommandParser accepts an invalid command format, in which the 
preamble is not empty. For instance an invalid command that is accepted 
would be, "add formattingProblem123 n/John Doe p/98765432 
e/johnd@example.com a/311, Clementi Ave 2, #2-25 
t/friends" where "formattingProblem123" is an invalid argument without 
prefixes.

A check to ensure that the preamble is empty is more user-friendly as 
the user is notified of the invalid input.

Let's add a check to ensure that argMultimap.getPreamble() is empty.
Pull Request #763: AddCommandParser accepts invalid command format #738

2 of 2 new or added lines in 1 file covered. (100.0%)

1429 of 1550 relevant lines covered (92.19%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3871.1 23 Dec 2017 06:49AM UTC 0
92.19
Travis Job 3871.1
Source Files on build 3871
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #3871
  • Pull Request #763
  • PR Base - master (#3856)
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