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

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


        "<module>",
        "  <super-source path='some.path'/>",
        "</module>"});
    assertThat(m_module.getChildren()).hasSize(1);
    // prepare single "<super-source>" element
    SuperSourceElement sourceElement;
    {
      List<SuperSourceElement> sourceElements = m_module.getSuperSourceElements();
      assertThat(sourceElements).hasSize(1);
      sourceElement = sourceElements.get(0);
    }
    // current "path" value
    assertEquals("some.path", sourceElement.getPath());
    // set new "path" value
    {
      sourceElement.setPath("new.path");
      assertUpdatedModuleFile(StringUtils.replace(m_moduleContent, "some.path", "new.path"));
    }
  }
View Full Code Here

TOP

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

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.