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

yarpc / yarpc-java / 945 / 1
44%
master: 83%

Build:
Build:
LAST BUILD BRANCH: data-model-update
DEFAULT BRANCH: master
Ran 09 Feb 2017 08:13PM UTC
Files 47
Run time 2s
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

09 Feb 2017 08:10PM UTC coverage: 43.75%. Remained the same
TYPE=test GITHUB_TOKEN=[secure]

Pull #214

travis-ci

web-flow
tests: Use MockitoRule with strict stubs

This replaces all uses of `MockitoAnnotations.initMocks` with
`MockitoRule` and [`STRICT_STUBS`].

MockitoRule automatically injects mocks for `@Mock` annotations and
verifies them to catch stubbing issues. This even affects mocks created
manually in that test with `Mockito.mock(..)`, hence the change in
DispatcherTest which doesn't have any `@Mock` annotations.

Note that strict stubs are  intended to be the default behavior in
Mockito 3. Until then we'll have to remember to pass the argument to the
rule everywhere we use mocks.

  [`STRICT_STUBS`]: http://static.javadoc.io/org.mockito/mockito-core/2.7.5/org/mockito/quality/Strictness.html#STRICT_STUBS
Pull Request #214: tests: Use MockitoRule with strict stubs

350 of 800 relevant lines covered (43.75%)

0.44 hits per line

Source Files on job 945.1 (TYPE=test GITHUB_TOKEN=[secure])
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 945
  • Travis Job 945.1
  • e077c67f on github
  • Prev Job for TYPE=test GITHUB_TOKEN=[secure] on findbugs-exclude (#942.1)
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