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

pantsbuild / pants / 5393 / 2
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: automation/release/2.33.0
DEFAULT BRANCH: main
Ran 20 Jun 2015 01:35AM UTC
Files 332
Run time 13s
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

20 Jun 2015 01:35AM UTC coverage: 67.276%. Remained the same
CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'"

push

travis-ci

Eric Ayers
In junit-runner, fix an NPE in testFailure() for different scenarios

In AntJunitXmlReportListener, there are cases where `testFailed()` is invoked without a class or invoked without `testStarted()` being called.

Some of these scenarios are outlined in http://junit.org/javadoc/latest/org/junit/runner/notification/RunListener.html

Testing Done:
CI is running at https://travis-ci.org/pantsbuild/pants/builds/67211843

Added a unit test.

Also ran this in our repo. It got rid of the exceptions reported in issue #1234 popping onto the console of the form:

```
                    1) Test mechanism
                     java.lang.NullPointerException
                        at com.twitter.common.junit.runner.ConsoleRunner$StreamCapturingListener.testStarted(ConsoleRunner.java:205)
                        at com.twitter.common.junit.runner.ForwardingListener$3.fire(ForwardingListener.java:60)
                        at com.twitter.common.junit.runner.ForwardingListener.fire(ForwardingListener.java:34)
                        at com.twitter.common.junit.runner.ForwardingListener.testStarted(ForwardingListener.java:58)
                        at com.twitter.common.junit.runner.AbortableListener.testStarted(AbortableListener.java:29)

```

Bugs closed: 1234, 1703

Reviewed at https://rbcommons.com/s/twitter/r/2385/

13367 of 19869 relevant lines covered (67.28%)

0.67 hits per line

Source Files on job 5393.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5393
  • Travis Job 5393.2
  • e11cabc8 on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#5391.2)
  • Next Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#5399.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc