Package com.google.gwt.resources.client.AutoConversionBundle

Examples of com.google.gwt.resources.client.AutoConversionBundle.ConstantConditional


    assertEquals(0, constantRenaming.ie6());
    assertEquals(0, constantRenaming.gecko1_8());
  }

  public void testConstantConditional() {
    ConstantConditional constantConditional = res().constantConditional();

    String expectedCss = "." + constantConditional.foo() + "{width:15px;height:10px;color:black}";
    assertEquals(expectedCss, constantConditional.getText());
    assertEquals("black", constantConditional.color());
    assertEquals(15, constantConditional.width());
    assertEquals(10, constantConditional.height());
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.resources.client.AutoConversionBundle.ConstantConditional

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.