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

CS2113-AY1819S2-T09-1 / main / 319
92%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2019 08:14AM UTC
Jobs 1
Files 106
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
319

push

travis-ci

web-flow
[#78] Logic: fix `FindCommandParser#getKeywordsPredicate(...)` (#79)

The logic flow in splitting the keywords for `find` command is incorrect.

The current behaviour is
1. Get the argument after find `PREFIX`
2. Form an `object` with the argument
3. Convert the `object` into `String`
4. Split the `String` by whitespaces

The expected behaviour should be:
1. Split each argument by whitespaces after the `PREFIX`
2. Form individual `object` for every `String`
3. Convert each individual `object `to `String`
4. Form the search `keywords` using each `String`

Let’s update `FindCommandParser#getKeywordsPredicate(…)` to
follow the expected behaviour. 

  [1/3] Logic/ParserUtil: add more helper methods
  [2/3] Logic: Fix `FindCommandParser#getKeywordsPredicate(...)`
  [3/3] test/parser: add unit tests to `FindCommandParserTest`

1744 of 2129 relevant lines covered (81.92%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 319.1 15 Mar 2019 08:14AM UTC 0
81.92
Travis Job 319.1
Source Files on build 319
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #319
  • 54592ed6 on github
  • Prev Build on master (#307)
  • Next Build on master (#322)
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