Build: #394 failed

Job: Build Module failed

Stages & jobs

  1. Build

  2. Package

Test results

  • 26 tests in total
  • 3 tests failed
  • 3 failures are new
  • 29 seconds taken in total.

Build 394 has the following 3 errors: 3 new failure(s) occurred since the previous build.

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...)