Package com.openshift.client.cartridge

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

Related Classes of com.openshift.client.cartridge.ICartridge

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.