Hi Mike,
That assert looks like it's just an old artifact that should have been
removed. I've removed it from the repo and also applied your correction to
the readerinputstream. With those two changes, the tests all pass for me.
Can you give it a whirl? (and thanks for the fix!)
Cheers,
James
On Mon, Sep 8, 2014 at 12:49 AM, Mike Mills <m...@themills.id.au> wrote:
> 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
>
>
>
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel