Package com.guigarage.vagrant.model

Examples of com.guigarage.vagrant.model.VagrantVm


      VagrantEnvironmentConfig config = new VagrantEnvironmentConfig(
          vmConfigs);
      Vagrant vagrant = new Vagrant(true);
      File tempDir = VagrantTestUtils.createTempDir();
      VagrantEnvironment env = vagrant.createEnvironment(tempDir, config);
      VagrantVm vm = env.getAllVms().iterator().next();
      Assert.assertEquals("unitTestVm", vm.getName());
    } catch (Exception e) {
      e.printStackTrace();
      Assert.fail("");
    }
  }
View Full Code Here

TOP

Related Classes of com.guigarage.vagrant.model.VagrantVm

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.