Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126914

The JavaFX CSS style "-fx-echo-char" is absent in the list of available styles for PasswordField control

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx

      The JavaFX CSS style "-fx-echo-char" is absent in the list of available styles for PasswordField control. Tests is listed below failed by the reason:
      opening page PasswordFields - ECHO-CHAR
      openPage: page is null, probably not found.
      java.lang.AssertionError:
      at org.junit.Assert.fail(Assert.java:91)
      at org.junit.Assert.assertTrue(Assert.java:43)
      at org.junit.Assert.assertNotNull(Assert.java:524)
      at org.junit.Assert.assertNotNull(Assert.java:535)
      at test.javaclient.shared.TestBase.testExecuter(TestBase.java:149)
      at test.javaclient.shared.TestBase.testCommon(TestBase.java:121)
      at test.javaclient.shared.TestBase.testCommon(TestBase.java:112)
      at test.css.controls.functional.PasswordBoxCssTest.PasswordBoxes_ECHO_CHAR(PasswordBoxCssTest.java:264)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
      at client.test.runner.JUnitTestRunner.runUI(JUnitTestRunner.java:62)
      at client.test.runner.AbstractTestRunner$2.run(AbstractTestRunner.java:80)
      at java.lang.Thread.run(Thread.java:722)

      It means either the style "-fx-echo-char" should be returned in the PasswordField control or this test should be removed from FXCss test suite.

      Affected tests:
      FXCssAutomated/test/css/controls/functional/PasswordBoxCssTest/PasswordBoxes_ECHO_CHAR

            dgrieve David Grieve
            pzernov Pavel Zernov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: