-
Bug
-
Resolution: Won't Fix
-
Medium
-
None
-
None
-
Severity 2 - Major
Background:
A per-test recorder is instantiated with a fixed size equal to capacity for the main coverage recorder. Because of the fact that for Android the growable version of the main coverage recorder is used, as soon as it grows, per-test recorders remain with old, too small size.
Workaround:
Disable per-test instrumentation.
Fix:
Implement GrowablePerTestRecorder class with a dynamically resizeable BitSet. Instantiate either PerTestRecorder or GrowablePerTestRecorder depending on whether FixedSizeReorder or GrowableRecorder is used.
See also CLOV-1189 problem related with Grails, where such recorder will be also needed (but used in conjunction with FixedSizeRecorder).