Examples of ICartridge


Examples of com.openshift.client.cartridge.ICartridge

  public void shouldReturnNamedCartridge() throws Throwable {
    // pre-conditions
    NamedCartridgeSpec query = new NamedCartridgeSpec("jbosstools");

    // operation
    ICartridge cartridge = query.get(Collections.<ICartridge> emptyList());
    Collection<ICartridge> cartridges = query.getAll(Collections.<ICartridge> emptyList());

    // verification
    assertThat(cartridge).isNotNull();
    assertThat(cartridge.isDownloadable()).isFalse();;
    assertThat(cartridges).hasSize(1);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.