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

apache / commons-lang / 1367
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: feature/LANG-1677-support-field-exclusion-in-ReflectionDiffBuilder
DEFAULT BRANCH: master
Ran 06 Oct 2018 10:16AM UTC
Jobs 1
Files 124
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
1367

Pull #366

travis-ci

web-flow
Update concurrent tests to JUnit Jupiter

Upgrade the tests in the concurrent package to use JUnit Jupiter as
part of the effort to remove the dependency on the Vintage Engine.

While most of these changes are drop-in replacements with no functional
benefit, there are some non-obvious changes worth mentioning.

Unlike org.junit.Test, org.junit.jupiter.api.Test does not have an
"expected" argument. Instead, an explicit call to
org.junit.jupiter.api.Assertions.assertThrows is used. This call allows
the test to pinpoint the exact statement that is expected to throw the
exception and allows making the tests a bit stricter by preventing
false-positives that could occur if the setup code would throw the
expected exception instead of the statement that was supposed to throw
it.

Another notable change was performed in MemoizerTest.
JUnit Jupiter does not support JUnit 4's runners, and EasyMock has no
equivalent @Extension, so a setup method was added and the mock was
explicitly initialized.

It's also worth noting this is a minimal patch for migrating the
package's tests to Jupiter. There are several tests that can be made
made more elegant with Jupiter's new features, but that work is left
for subsequent patches.
Pull Request #366: Update concurrent tests to JUnit Jupiter

14446 of 15166 relevant lines covered (95.25%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1367.1 06 Oct 2018 10:15AM UTC 0
95.25
Travis Job 1367.1
Source Files on build 1367
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1367
  • Pull Request #366
  • PR Base - master (#1366)
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