This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: SeverSocket.toString() not specified


Dear Mark,

> 
> I have noticed the toString() methods do vary a little bit, do they
> contain a [] around the returned string, do they actually resolve the
> hostname, sometimes there is an extra space somewhere, etc.
> 
> But I agree that if it does not even contain the InetAddress as dotted
> decimals then the user might be very confused. Maybe changing the test
> as follows might be more correct.
> 
>     * gnu/testlet/java/net/ServerSocket/ServerSocketTest.java
>     (test_params): Make toString() tests less strict, just 
> check if they contain the ip number.
>
Hmm... If the tests get messy I'd say just slash it. You're right.

    Kees Jan

=====================================================
 You can't have everything.  Where would you put it?
                                     [Steven Wright]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]