Package com.openshift.client.cartridge.query

Examples of com.openshift.client.cartridge.query.LatestEmbeddableCartridge


  @Test
  public void shouldMatchMajorVersionedCartridge() {
    // pre-conditions
    String cartridgeName = "vertx-2";
    List<IEmbeddedCartridge> embeddedCartridges = CartridgeTestUtils.createEmbeddedCartridgeMocks(cartridgeName, "mysql");
    LatestEmbeddableCartridge constraint = new LatestEmbeddableCartridge("vertx");

    // operation
    IEmbeddedCartridge cartridge = constraint.get(embeddedCartridges);

    // verification
    assertThat(cartridge).isNotNull();
    assertThat(cartridge.getName()).isEqualTo(cartridgeName);
  }
View Full Code Here

TOP

Related Classes of com.openshift.client.cartridge.query.LatestEmbeddableCartridge

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.