--- /dev/null 2016-02-04 23:25:29.000000000 -0800 +++ new/test/java/awt/Window/WindowResizingOnDPIChanging/WindowResizingOnDPIChangingTest.html 2016-02-04 23:25:29.478455400 -0800 @@ -0,0 +1,46 @@ + + + + + +Verify that window is properly resized after the display DPI size updating. + +The test is applicable for OSes that allows to change the display DPI size +without the system rebooting (like Windows 8.1 and higher). Press PASS for other +systems. + +1. Run the test. +2. Set the display DPI size to 192 (DPI scale factor 200%) +3. Press Show Window button +4. Check that a window with blue image with string "scale 2x" is shown +5. Set the display DPI size to 96 (DPI scale factor 100%) +6. Check that green image with string "scale: 1x" is shown +7. Check that the window is properly resized in the same way as native applications +8. Check that the window is properly repainted and does not contain drawing artifacts +If so, press PASS, else press FAIL. + + + + +