Details
-
Bug
-
Status: Closed
-
Could
-
Resolution: Fixed
-
Platform 1.11.0
-
None
-
Undetermined
Description
Sonar executes tests with instrumented classes, thus we see errors like:
junit.framework.ComparisonFailure: expected:<[nonCollectionField]> but was:<[$jacocoData]> at junit.framework.Assert.assertEquals(Assert.java:100) at junit.framework.Assert.assertEquals(Assert.java:107) at org.openmrs.util.ReflectTest.isCollection_shouldReturnFalseIfGivenFieldClassIsNotACollectionClass(ReflectTest.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) (23 more lines...)