This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
RE: SeverSocket.toString() not specified
- From: "Koster, K.J." <K dot J dot Koster at kpn dot com>
- To: 'Mark Wielaard' <mark at klomp dot org>
- Cc: mauve-discuss at sources dot redhat dot com
- Date: Fri, 5 Apr 2002 16:40:08 +0200
- Subject: 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]