Examples of scaleDown()


Examples of com.lightcrafts.ui.editor.ScaleModel.scaleDown()

    }

    public void actionPerformed(ActionEvent event) {
        Document doc = getDocument();
        ScaleModel model = doc.getScaleModel();
        model.scaleDown();
    }

    public void scaleChanged(Scale scale) {
        Document doc = getDocument();
        ScaleModel model = doc.getScaleModel();
View Full Code Here

Examples of com.openshift.client.IApplication.scaleDown()

    IApplication application = domain.createApplication(
            ApplicationTestUtils.createRandomApplicationName(), LatestVersionOf.php().get(user), ApplicationScale.SCALE);
    application.scaleUp();

    // operation
    application.scaleDown();

    // verification
    // there's currently no API to verify the application state
  }
View Full Code Here

Examples of com.openshift.client.IApplication.scaleDown()

    ApplicationTestUtils.silentlyDestroyAllApplications(domain);
    IApplication application = domain.createApplication(
        ApplicationTestUtils.createRandomApplicationName(), LatestVersionOf.php().get(user), ApplicationScale.NO_SCALE);

    // operation
    application.scaleDown();

    // verification
    // there's currently no API to verify the application state
  }
View Full Code Here

Examples of com.openshift.client.IApplication.scaleDown()

                "Failed to add event scale-down to application springeap6 due to: Cannot scale a non-scalable application"));
    final IApplication app = domain.getApplicationByName("springeap6");

    // operation
    try {
      app.scaleDown();
      fail("Expected an exception here..");
    } catch (OpenShiftEndpointException e) {

      // verifications
      assertThat(e.getCause()).isInstanceOf(InternalServerErrorException.class);
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.