Package com.google.gwt.resources.client.TestResources

Examples of com.google.gwt.resources.client.TestResources.TestImportCss


    assertNotSame(res.scopeB().foo(), res.scopeC().foo());
    assertNotSame(res.scopeA().foo(), res.scopeC().foo());
  }

  public void testImportAndImportWithPrefix() {
    TestImportCss css = res().testImportCss();
    ImportResource importResource = GWT.create(ImportResource.class);
    ImportResource.ImportCss importCss = importResource.importCss();
    ImportResource.ImportWithPrefixCss importWithPrefixCss = importResource.importWithPrefixCss();

    String expectedCss = "." + css.other() + "{color:black}." + importCss.className() +
        " ." + css.other() + "{color:white}." + importWithPrefixCss.className() + " ." +
        css.other() + "{color:gray}";
    assertEquals(expectedCss, css.getText());
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.resources.client.TestResources.TestImportCss

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.