Package com.google.gwt.uibinder.test.client.gss.WidgetUsingCss

Examples of com.google.gwt.uibinder.test.client.gss.WidgetUsingCss.CssStyle


    assertEquals(expectedCss, widgetUsingGss.style.getText());
  }

  public void testCssConversion() {
    WidgetUsingCss widgetUsingCss = new WidgetUsingCss();
    CssStyle style = widgetUsingCss.style;
    RootPanel.get().add(widgetUsingCss);

    assertEquals(style.main(), widgetUsingCss.getStyleName());
    String expectedCss = "." + style.main() + "{background-color:black;color:white}";
    assertEquals(expectedCss, widgetUsingCss.style.getText());
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.uibinder.test.client.gss.WidgetUsingCss.CssStyle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.