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

apache / commons-lang / 960
95%

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2017 12:40PM UTC
Jobs 2
Files 135
Run time 56s
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
960

Pull #293

travis-ci

web-flow
Improve tests for CharUtils illegal usages

CharUtilsTest has several instances of the following pattern:

    try {
        CharUtils.someMethod("illegal input");
    } catch (final IllegalArgumentException ex) {}

This pattern is not very useful for testing, as the test would pass
whether an IllegalArgumentException is thrown or not. This patch
enhances the test by explicitly failing it if the exception is not
thrown:

    try {
        CharUtils.someMethod("illegal input");
        fail("An IllegalArgumentException should have been thrown");
    } catch (final IllegalArgumentException ex) {}
Pull Request #293: Char utils test

14322 of 15044 relevant lines covered (95.2%)

24416.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 960.1 30 Sep 2017 12:41PM UTC 0
95.23
Travis Job 960.1
2 960.2 30 Sep 2017 12:40PM UTC 0
95.19
Travis Job 960.2
Source Files on build 960
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #960
  • Pull Request #293
  • PR Base - master (#959)
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