Package com.google.gdt.eclipse.designer.model.module

Examples of com.google.gdt.eclipse.designer.model.module.StylesheetElement


        "<module>",
        "  <stylesheet  src='some.src'/>",
        "</module>"});
    assertThat(m_module.getChildren()).hasSize(1);
    // prepare single "<stylesheet >" element
    StylesheetElement stylesheetElement;
    {
      List<StylesheetElement> stylesheetElements = m_module.getStylesheetElements();
      assertThat(stylesheetElements).hasSize(1);
      stylesheetElement = stylesheetElements.get(0);
    }
    // current "src" value
    assertEquals("some.src", stylesheetElement.getSrc());
    // set new "src" value
    {
      stylesheetElement.setSrc("new.src");
      assertUpdatedModuleFile(StringUtils.replace(m_moduleContent, "some.src", "new.src"));
    }
  }
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.model.module.StylesheetElement

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.