You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/08/01 04:24:16 UTC
[jira] Assigned: (HARMONY-1004) [classlib][nio] Remove two magic
numbers from o.a.h.tests.java.nio.channels.DatagramChannelTest
[ http://issues.apache.org/jira/browse/HARMONY-1004?page=all ]
Paulex Yang reassigned HARMONY-1004:
------------------------------------
Assignee: Paulex Yang
> [classlib][nio] Remove two magic numbers from o.a.h.tests.java.nio.channels.DatagramChannelTest
> -----------------------------------------------------------------------------------------------
>
> Key: HARMONY-1004
> URL: http://issues.apache.org/jira/browse/HARMONY-1004
> Project: Harmony
> Issue Type: Test
> Components: Classlib
> Reporter: Andrew Zhang
> Assigned To: Paulex Yang
> Attachments: nio.diff
>
>
> Private methods assertSocketActionBeforeConnect(DatagramSocket s) and assertSocketActionAfterConnect(DatagramSocket s) contain magic number , which may cause test fail because of port confliction. i.e.
> "this.datagramSocket2 = new DatagramSocket(1082);"
> Addtionally, these magic numbers are not necessary at all.
> I'll upload to fix this problem soon.
> Thanks!
> Best regards,
> Andrew
--
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