From: Mike M. <mi...@th...> - 2014-09-08 05:12:10
|
Hello, I have just checked out hapi-testpanel and tried to compile/test. The test code fails to compile for class ByteCapturingMinLowerLayerProtocolWrapperTest. It is missing the org.openide.util.io.ReaderInputStream class. A simple code change of line 53 from InputStream iis = new ReaderInputStream(new StringReader(expected)); to: InputStream iis = new ByteArrayInputStream(expected.getBytes()); removes use of the offending class and the test compiles and works. I still get a failure of this test: PrefsTest.testRecentFiles() It fails with an Assertion Error (java assertion not junit): java.lang.AssertionError at ca.uhn.hl7v2.testpanel.controller.Prefs.getRecentMessageXmlFiles(Prefs.java:391) at ca.uhn.hl7v2.testpanel.controller.PrefsTest.testRecentFiles(PrefsTest.java:28) Can anyone point me in the correct direction to fix this? Kind regards, -Mike |