harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Harley (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-847) [classlib][nio] Refine o.a.h.tests.java.nio.channels.SocketChannelTest
Date Mon, 17 Jul 2006 14:04:21 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-847?page=all ]

George Harley closed HARMONY-847.
---------------------------------


Verified by Andrew.

> [classlib][nio] Refine o.a.h.tests.java.nio.channels.SocketChannelTest
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-847
>                 URL: http://issues.apache.org/jira/browse/HARMONY-847
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: George Harley
>         Attachments: SocketChannelTest.diff
>
>
> There are several problems in SocketChannelTest:
> 1. unnecessary assertEquals like:
>  try {
>             assertEquals(CAPACITY_NORMAL, this.channel1.read(readBuf));
>             fail("Should throw ClosedChannelException");
>         } catch (ClosedChannelException e) {
>             // correct
>         }
> 2. an unstable test case testConfigureBlockingWhileRead. 
> I'll remove them as discussion on mailing list. [1]
> Thanks!
> Best regards,
> Andrew
> [1] thread: [classlib][nio] How to deal with unstable but useful tests?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message