<AWT Dev>  Review request for 8055664: move 14 tests about setLocationRelativeTo to jdk
alexander.zvegintsev at oracle.com
Thu Aug 28 13:59:57 UTC 2014
IIUC, this test may fail on Ubuntu due to JDK-8036915 .
the fix looks good to me in general, but I have some minor comments:
91 testEverything = false; // NB: change this to true to test everything
I think this line can be removed and comment should be at line 41. As
it is easier to find this "switch" at the beginning of the test.
Add empty lines between functions for more readability, please.
Text in placeholders looks odd for me: "Hidden is java.awt.Label". I
think that we should
change order to something like "java.awt.Label is hidden."
On 08/26/2014 10:42 AM, Yuri Nesterenko wrote:
> A polite reminder!
> On 08/20/2014 04:09 PM, Yuri Nesterenko wrote:
>> Hi team,
>> please review this test update in jdk9:
>> ( https://bugs.openjdk.java.net/browse/JDK-8055664 )
>> There's a single test made out of 14 old internal functional tests.
>> Existing tests do verify that a Frame (Dialog, JFrame etc.
>> toplevel) does setLocationRelativeTo(Component) right.
>> As the number of components * toplevels is rather big,
>> the test picks randomly just few of them from the lists.
>> If by chance there will be a failure, a simple option would
>> allow to run all combinations.
>> Also, if we'll have a "switch" controlling this selection
>> behavior, we'll use it here.
More information about the awt-dev