Build: #394 failed

Job: Build Module failed

Stages & jobs

  1. Build

  2. Package

Job result summary

Completed
Duration
41 seconds
Revision
fc0f6004a1b3f8ea4c32885d432ce42d748cbd06 fc0f6004a1b3f8ea4c32885d432ce42d748cbd06
Total tests
26
Fixed in
#395 (Code changes detected)

Tests

  • 26 tests in total
  • 3 tests failed
  • 3 failures are new
  • 29 seconds taken in total.
New test failures 3
Status Test Duration
Collapse Failed RoundBasedDosingInstructionsTest getDosingInstructionsAsString_shouldAppendRoundInformationFromDosingInstructions History
< 1 sec
junit.framework.ComparisonFailure: expected:<10[.0 ml IV] Morning, Evening> but was:<10[ ml IV each] Morning, Evening>
	at junit.framework.Assert.assertEquals(Assert.java:100)
	at junit.framework.Assert.assertEquals(Assert.java:107)
	at org.openmrs.module.ebolaexample.domain.RoundBasedDosingInstructionsTest.getDosingInstructionsAsString_shouldAppendRoundInformationFromDosingInstructions(RoundBasedDosingInstructionsTest.java:24)
	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:606)
(33 more lines...)
Collapse Failed RoundBasedDosingInstructionsTest getDosingInstructionsAsString_shouldIncludeDurationInformation History
< 1 sec
junit.framework.ComparisonFailure: expected:<10[.0 ml IV 7 Days Morning, Evening]> but was:<10[ ml IV each Morning, Evening for 7 Days]>
	at junit.framework.Assert.assertEquals(Assert.java:100)
	at junit.framework.Assert.assertEquals(Assert.java:107)
	at org.openmrs.module.ebolaexample.domain.RoundBasedDosingInstructionsTest.getDosingInstructionsAsString_shouldIncludeDurationInformation(RoundBasedDosingInstructionsTest.java:48)
	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:606)
(33 more lines...)
Collapse Failed RoundBasedDosingInstructionsTest getDosingInstructionsAsString_shouldIncludePRNInformation History
< 1 sec
junit.framework.ComparisonFailure: expected:<10[.0 ml IV PRN Pain Morning, Evening]> but was:<10[ ml IV each Morning, Evening <span class="lozenge prn">PRN Pain</span>]>
	at junit.framework.Assert.assertEquals(Assert.java:100)
	at junit.framework.Assert.assertEquals(Assert.java:107)
	at org.openmrs.module.ebolaexample.domain.RoundBasedDosingInstructionsTest.getDosingInstructionsAsString_shouldIncludePRNInformation(RoundBasedDosingInstructionsTest.java:37)
	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:606)
(33 more lines...)