Package org.jresearch.flexess.core.model.conf

Examples of org.jresearch.flexess.core.model.conf.Application


    //
    if (args.length == 0) {
      System.out.println("Enter a list of file paths or URIs that have content like this:");
      try {
        Resource resource = resourceSet.createResource(URI.createURI("http:///My.conf"));
        Application root = ConfFactory.eINSTANCE.createApplication();
        resource.getContents().add(root);
        resource.save(System.out, null);
      }
      catch (IOException exception) {
        exception.printStackTrace();
View Full Code Here


  protected void tearDown() throws Exception {
    setFixture(null);
  }

  public void testCheck() {   
    Application tested = getFixture();   
    String iName = "testId";   
    tested.setName(iName);
    assertEquals(iName, tested.getName());
   
    ApplicationType iType = ApplicationType.STANDALONE_SERVER_LITERAL;   
    tested.setType(iType);
    assertEquals(iType, tested.getType());
   
    String iModelLocation = "testModelLocation";
    tested.setModelLocation(iModelLocation);
    assertEquals(iModelLocation, tested.getModelLocation());
   
    UserManagement iUserManagement = ConfFactory.eINSTANCE.createUserManagement();
    tested.setUserManagement(iUserManagement);
    assertEquals(iUserManagement, tested.getUserManagement());
  }
View Full Code Here

TOP

Related Classes of org.jresearch.flexess.core.model.conf.Application

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.