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

hazendaz / jmockit1 / 459

08 Nov 2025 01:04AM UTC coverage: 72.263% (+0.03%) from 72.238%
459

push

github

hazendaz
Ensure target is an instance of the test class for which this FieldTypeRedefinitions was created

Discovered when upgrading to junit 6 that invalid data can come through which then results in a lot of duplicated errors with stacks that are not worthwhile.  The same data is produced by better capture and affects far less tests as a result.  In this case, 10 failed prior but only 2 were in error when handled better here.  This doesn't fix issues with junit 6, but helps in limited leaks.

5679 of 8364 branches covered (67.9%)

Branch coverage included in aggregate %.

2 of 3 new or added lines in 1 file covered. (66.67%)

11943 of 16022 relevant lines covered (74.54%)

0.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.97
/main/src/main/java/mockit/internal/expectations/mocking/FieldTypeRedefinitions.java


Source Not Available

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