void () { TestScaleHelper.assumeStandalone(); TestScaleHelper.assumeHeadful(); System.setProperty(HIDPI_PROP, "false"); UiKt.checkHiDPISettings(); Graphics2D g = TestScaleHelper.createGraphics(2); Assert.assertFalse(UI_SCALE_PROP + " should be disabled", Boolean.getBoolean(UI_SCALE_PROP)); Assert.assertFalse("hidpi should be disabled", StartupUiUtil.isJreHiDPI()); Assert.assertFalse("hidpi should be disabled", JreHiDpiUtil.isJreHiDPI(g)); }