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

apache / commons-lang / 961
95%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2017 12:37PM UTC
Jobs 2
Files 135
Run time 51s
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
961

push

travis-ci

PascalSchumacher
Improve tests for CharUtils illegal usages (closes #293)

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) {}

14322 of 15044 relevant lines covered (95.2%)

24342.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 961.1 01 Oct 2017 12:37PM UTC 0
95.23
Travis Job 961.1
2 961.2 01 Oct 2017 12:37PM UTC 0
95.2
Travis Job 961.2
Source Files on build 961
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #961
  • d65b9d2b on github
  • Prev Build on master (#959)
  • Next Build on master (#962)
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