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

CSSParserTest unit test fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

          [junit] Testsuite: com.sun.javafx.css.parser.CSSParserTest
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: CSS Error parsing '-fx-font-size: 10ptx: Unexpected token '10ptx' at [1,0]
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser parseExpr
          [junit] WARNING: "-fx-font-size: 10ptx" Expected value for property '-fx-font-size'-fx-font-size: 10ptx
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: CSS Error parsing '* {-fx-font-size: 10ptx; -fx-font-size: 12px; }: Unexpected token '10ptx' at [1,18]
          [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 0.23 sec
          [junit]
          [junit] ------------- Standard Error -----------------
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: CSS Error parsing '-fx-font-size: 10ptx: Unexpected token '10ptx' at [1,0]
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser parseExpr
          [junit] WARNING: "-fx-font-size: 10ptx" Expected value for property '-fx-font-size'-fx-font-size: 10ptx
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: CSS Error parsing '* {-fx-font-size: 10ptx; -fx-font-size: 12px; }: Unexpected token '10ptx' at [1,18]
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: CSS Error parsing '* {-fx-background-color: linear-gradient( to right, rgba(141, 138, 125, 0.0), rgba(248, 248, 246, 0.3) 45%, rgba(248, 248, 246, 0.8) 50%, rgba(248, 248, 246, 0.3) 55%, rgba(141, 138, 125, 0.0), ); }: Unexpected token ')' at [1,194]
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: CSS Error parsing '-fx-background-color: linear-gradient(from 0% 0% to 0% 100%, ): Unexpected token ')' at [1,39]
          [junit] WARNING: CSS Error parsing '* {-fx-background-color: linear-gradient( to right, rgba(141, 138, 125, 0.0), rgba(248, 248, 246, 0.3) 45%, rgba(248, 248, 246, 0.8) 50%, rgba(248, 248, 246, 0.3) 55%, rgba(141, 138, 125, 0.0), ); }: Unexpected token ')' at [1,194]
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser parseExpr
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: "-fx-background-color: linear-gradient(from 0% 0% to 0% 100%, )" Expected '<cycle-method>' or '<color-stop>'-fx-background-color: linear-gradient(from 0% 0% to 0% 100%, ): [1,33],100%,<22>
          [junit] WARNING: CSS Error parsing '-fx-background-color: linear-gradient(from 0% 0% to 0% 100%, ): Unexpected token ')' at [1,39]
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser parseExpr
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: "-fx-background-color: linear-gradient(from 0% 0% to 0% 100%, )" Expected '<cycle-method>' or '<color-stop>'-fx-background-color: linear-gradient(from 0% 0% to 0% 100%, ): [1,33],100%,<22>
          [junit] WARNING: CSS Error parsing '* { -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, ); -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, red, white, blue); }: Unexpected token ')' at [1,65]
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser declaration
          [junit] WARNING: CSS Error parsing '* { -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, ); -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, red, white, blue); }: Unexpected token ')' at [1,65]
          [junit] WARNING: CSS Error parsing '* { -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, ); -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, red, white, blue); }: Expected '<cycle-method>' or '<color-stop>' while parsing '-fx-background-color' at [1,59]
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser declaration
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] WARNING: CSS Error parsing '* { -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, ); -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, red, white, blue); }: Expected '<cycle-method>' or '<color-stop>' while parsing '-fx-background-color' at [1,59]
          [junit] WARNING: CSS Error parsing '.rt-20311 { -fx-background-color:red
          [junit] Jun 10, 2013 1:23:51 PM com.sun.javafx.css.parser.CSSParser term
          [junit] -fx-border-color:black; }: Unexpected token ':' at [2,16]
          [junit] WARNING: CSS Error parsing '.rt-20311 { -fx-background-color:red
          [junit] ------------- ---------------- ---------------
          [junit] -fx-border-color:black; }: Unexpected token ':' at [2,16]
          [junit] Testcase: test_RT_18126(com.sun.javafx.css.parser.CSSParserTest): Caused an ERROR
          [junit] null
          [junit] java.lang.NullPointerException
          [junit] at com.sun.javafx.css.Declaration.readBinary(Declaration.java:184)
          [junit] at com.sun.javafx.css.Rule.getUnobservedDeclarationList(Rule.java:81)
          [junit] at com.sun.javafx.css.parser.CSSParserTest.test_RT_18126(CSSParserTest.java:188)
          [junit]
          [junit]
          [junit] Test com.sun.javafx.css.parser.CSSParserTest FAILED

            dgrieve David Grieve
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: