Examples of WaitForApplicationToStopOp


Examples of org.cloudfoundry.ide.eclipse.server.core.internal.client.WaitForApplicationToStopOp

  }

  protected void assertStopModule(CloudFoundryApplicationModule appModule) throws Exception {
    serverBehavior.stopModule(new IModule[] { appModule.getLocalModule() }, new NullProgressMonitor());

    boolean stopped = new WaitForApplicationToStopOp(cloudServer, appModule).run(new NullProgressMonitor());
    assertTrue("Expected application to be stopped", stopped);
    assertTrue("Expected application to be stopped", appModule.getApplication().getState().equals(AppState.STOPPED));
    assertTrue("Expected application to be stopped", appModule.getState() == Server.STATE_STOPPED);

  }
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.