8169187: [macosx] Aqua: java/awt/image/multiresolution/MultiresolutionIconTest.java

Reviewed-by: prr, dnguyen
This commit is contained in:
Alisen Chung 2022-08-04 20:37:12 +00:00 committed by Phil Race
parent c48cd88652
commit 90257f9505
2 changed files with 6 additions and 3 deletions
test/jdk
ProblemList.txt
java/awt/image/multiresolution

@ -222,7 +222,6 @@ java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java 8203371 linux
java/awt/font/TextLayout/TextLayoutBounds.java 8169188 generic-all
java/awt/image/BufferedImage/ICMColorDataTest/ICMColorDataTest.java 8233028 generic-all
java/awt/image/DrawImage/IncorrectAlphaSurface2SW.java 8056077 linux-all
java/awt/image/multiresolution/MultiresolutionIconTest.java 8169187,8252812 macosx-all,windows-all,linux-x64
java/awt/print/Headless/HeadlessPrinterJob.java 8196088 windows-all
sun/awt/datatransfer/SuplementaryCharactersTransferTest.java 8011371 generic-all
sun/awt/shell/ShellFolderMemoryLeak.java 8197794 windows-all

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -128,7 +128,7 @@ public class MultiresolutionIconTest extends JFrame {
private boolean checkPressedColor(int x, int y, Color ok) {
r.mouseMove(x, y);
r.mouseMove(x+5, y+5);
r.waitForIdle();
r.mousePress(InputEvent.BUTTON1_DOWN_MASK);
r.waitForIdle(100);
@ -217,6 +217,10 @@ public class MultiresolutionIconTest extends JFrame {
public static void main(String[] args) throws Exception {
for (UIManager.LookAndFeelInfo LF: UIManager.getInstalledLookAndFeels()) {
// skip AquaL&F because Aqua icon darkening fails the test
if (LF.getName().equalsIgnoreCase("Mac OS X")) {
continue;
}
System.out.println("\nL&F: " + LF.getName());
(new MultiresolutionIconTest(LF)).doTest();
}