* Daniel Cheng <j16sdiz+freenet at gmail.com> [2008-08-18 09:27:59]:
> On Mon, Aug 18, 2008 at 2:24 AM, <nextgens at freenetproject.org> wrote:
> > Author: nextgens
> > Date: 2008-08-17 18:24:10 +0000 (Sun, 17 Aug 2008)
> > New Revision: 21976
> >
> > Added:
> > trunk/freenet/src/freenet/support/io/MockInputStream.java
>
> Why extract it as top-level class?
>
> MockInputStream is used only in the test cases..
> Put it under trunk/freenet/test
>
When I do so it does the following:
[junit] Running freenet.support.io.MockInputStream
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0,004 sec
[junit] Testsuite: freenet.support.io.MockInputStream
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0,004 sec
[junit]
[junit] Testcase: warning took 0,002 sec
[junit] FAILED
[junit] No tests found in freenet.support.io.MockInputStream
[junit] junit.framework.AssertionFailedError: No tests found in
freenet.support.io.MockInputStream
[junit]
[junit] Test freenet.support.io.MockInputStream FAILED
How to get rid of the warning short of implementing a mock test for it?
NextGen$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20080818/5a682471/attachment.pgp>