This is the mail archive of the
mauve-discuss@sourceware.org
mailing list for the Mauve project.
Re: RFC: fix for Mauve test javax/swing/Border/TitledBorder/constructors.java
- From: Dr Andrew John Hughes <ahughes at redhat dot com>
- To: Pavel Tisnovsky <ptisnovs at redhat dot com>
- Cc: mauve-discuss at sourceware dot org
- Date: Wed, 7 Sep 2011 03:38:49 +0100
- Subject: Re: RFC: fix for Mauve test javax/swing/Border/TitledBorder/constructors.java
- References: <4E60F752.1070308@redhat.com>
On 17:33 Fri 02 Sep , Pavel Tisnovsky wrote:
> Greetings,
>
> here's fix for another Mauve test. In the test
> "javax/swing/Border/TitledBorder/constructors.java" the position of the title in
> the border should be compared with the constant TitledBorder.DEFAULT_POSITION,
> not with TitledBorder.TOP, at least in cases when following constructors are used:
>
> TitledBorder(Border border)
> TitledBorder(Border border, String title)
> TitledBorder(String title)
>
> (there exist three other constructors where title position can be explicitly
> specified, but the fix changes only test cases which use the previous three
> constructors).
>
Can you explain why and note whether this affects current test results?
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37