Examples of IQuickstart


Examples of com.openshift.client.IQuickstart

   
    return quickstartDTOs.get(0);
  }

  public static IQuickstart getByName(String name, List<IQuickstart> quickstarts) {
    IQuickstart matchingQuickstart = null;
    for (IQuickstart quickstart : quickstarts) {
      if (name.equals(quickstart.getName())) {
        matchingQuickstart = quickstart;
        break;
      }
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @Test
  public void shouldUnmarshallWildfly8Quickstart() throws Throwable {
    // pre-conditions
    // operation
    IQuickstart wilfly8Quickstart = QuickstartTestUtils.getByName(QuickstartTestUtils.WILDFLY_8,
        connection.getQuickstarts());

    // verification
    new QuickstartAssert(wilfly8Quickstart)
        .hasId("16766")
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @SuppressWarnings("unchecked")
  @Test
  public void shouldUnmarshallDjangoQuickstart() throws Throwable {
    // pre-conditions
    // operation
    IQuickstart djangoQuickstart = QuickstartTestUtils.getByName(QuickstartTestUtils.DJANGO,
        connection.getQuickstarts());

    // verification
    new QuickstartAssert(djangoQuickstart)
        .hasId("12730")
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @Test
  public void shouldUnmarshallDrupal8Quickstart() throws Throwable {
    // pre-conditions
    // operation
    IQuickstart drupalQuickstart = QuickstartTestUtils.getByName(QuickstartTestUtils.DRUPAL_8,
        connection.getQuickstarts());

    // verification
    new QuickstartAssert(drupalQuickstart)
        .hasId("14942")
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @Test
  public void shouldUnmarshallAerogearPushQuickstart() throws Throwable {
    // pre-conditions
    // operation
    IQuickstart aeroGarPushQuickstart = QuickstartTestUtils.getByName(QuickstartTestUtils.AEROGEAR_PUSH_0X,
        connection.getQuickstarts());

    // verification
    new QuickstartAssert(aeroGarPushQuickstart)
        .hasId("15549")
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @Test
  public void shouldUnmarshallCactiQuickstart() throws Throwable {
    // pre-conditions

    // operation
    IQuickstart cactiQuickstart = QuickstartTestUtils.getByName(QuickstartTestUtils.CACTI,
        connection.getQuickstarts());

    // verification
    new QuickstartAssert(cactiQuickstart)
        // expression := [
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @Test
  public void shouldOfferPhpMySqlCron() throws Throwable {
    // pre-conditions

    // operation
    IQuickstart cactiQuickstart = QuickstartTestUtils.getByName(QuickstartTestUtils.CACTI,
        connection.getQuickstarts());

    // verification
    new QuickstartAssert(cactiQuickstart)
        // expression := [
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @Test
  public void shouldOfferDownloadableCartridge() throws Throwable {
    // pre-conditions

    // operation
    IQuickstart cactiQuickstart = QuickstartTestUtils.getByName(QuickstartTestUtils.JBOSS_FUSE_61,
        connection.getQuickstarts());

    // verification
    new QuickstartAssert(cactiQuickstart)
        // expression := https://bit.ly/1fYSzhk
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @Test
  public void shouldOfferPhp53Php54NoMysqlAndHaveInitialGitUrl() throws Throwable {
    // pre-conditions

    // operation
    IQuickstart laravelQuickstart =
        QuickstartTestUtils.getByName(QuickstartTestUtils.LARAVEL_41, connection.getQuickstarts());

    // verification
    new QuickstartAssert(laravelQuickstart)
        .hasInitialGitUrl("https://github.com/muffycompo/openshift-laravel4-quickstart-app.git")
View Full Code Here

Examples of com.openshift.client.IQuickstart

  @Test
  public void shouldEmptyAlternativesForNonSuitableCartridge() throws Throwable {
    // pre-conditions

    // operation
    IQuickstart anahita = QuickstartTestUtils.getByName(QuickstartTestUtils.TEXTPRESS,
        connection.getQuickstarts());
    // expression:= php-5|zend-
    List<ICartridge> empty = anahita.getAlternativesFor(CartridgeTestUtils.as7());

    // verification
    assertThat(empty).isEmpty();
  }
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.