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

apache / commons-lang / 1380
95%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2018 04:25PM 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
1380

push

travis-ci

mureinik
Update math tests to JUnit Jupiter

Upgrade the tests in the math 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.

Unlike org.junit.Assert.assertEquals(double, double, double),
org.junit.jupiter.api.Assertions.assertEquals(double, double, double)
does not support deltas of zero, only strictly positive deltas.
This issue will be addressed in JUnit Jupiter 5.4 (see
https://github.com/junit-team/junit5/pull/1613 for details). In the
meanwhile, assertTrue(expected==actual) was used, and TODO comments were
placed in the code to refactor it to assertEquals once JUnit 5.4 is
available.

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
more elegant with Jupiter's new features, but that work is left for
subsequent patches.

14446 of 15166 relevant lines covered (95.25%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1380.1 09 Oct 2018 04:24PM UTC 0
95.25
Travis Job 1380.1
Source Files on build 1380
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1380
  • 47a9ea7c on github
  • Prev Build on master (#1378)
  • Next Build on master (#1382)
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