Examples of EmbeddedCartridgeAssert


Examples of com.openshift.client.utils.EmbeddedCartridgeAssert

    // operation
    EmbeddedCartridgeTestUtils.ensureHasEmbeddedCartridges(LatestVersionOf.jenkinsClient(), jbossAs);

    // verification
    new EmbeddedCartridgeAssert(jbossAs.getEmbeddedCartridge(LatestVersionOf.jenkinsClient().get(user)))
        .hasUrlProperty();
    // verify using user instance that's not the one used to create
    IUser user2 = new TestConnectionBuilder().defaultCredentials().disableSSLCertificateChecks().create().getUser();
    IApplication user2Application = user2.getDefaultDomain().getApplicationByName(jbossAs.getName());
    IEmbeddableCartridge jenkinsClient =
        LatestVersionOf.jenkinsClient().get(user2);
    new EmbeddedCartridgeAssert(user2Application.getEmbeddedCartridge(jenkinsClient))
        .hasUrlProperty();
  }
View Full Code Here

Examples of com.openshift.client.utils.EmbeddedCartridgeAssert

    final IApplication app = domain.getApplicationByName("springeap6");
    IEmbeddedCartridge mongo = app.getEmbeddedCartridge(CartridgeTestUtils.mongodb22());
    // verifications
    // embedded cartridge should get updated with name, description and
    // display name
    new EmbeddedCartridgeAssert(mongo);
  }
View Full Code Here

Examples of com.openshift.client.utils.EmbeddedCartridgeAssert

    // operation
    IEmbeddedCartridge embeddedForeman = application.getEmbeddedCartridge(foreman);
    // verifications
    // embedded cartridge should get updated with name, description and
    // display name
    new EmbeddedCartridgeAssert(embeddedForeman)
        .hasUrl(CartridgeTestUtils.FOREMAN_URL);
  }
View Full Code Here

Examples of com.openshift.client.utils.EmbeddedCartridgeAssert

    // verifications
    mockDirector.verifyAddEmbeddableCartridge("foobarz", "springeap6");
    assertThat(app.getEmbeddedCartridges()).hasSize(2);
    IEmbeddedCartridge mySqlCartridge = app.getEmbeddedCartridge(MYSQL_51_NAME);
    new EmbeddedCartridgeAssert(mySqlCartridge)
        .hasMessages()
        .hasDescription()
        .hasName(MYSQL_51_NAME);

    new MessageAssert(mySqlCartridge.getMessages().getFirstBy(IField.DEFAULT))
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.