public static Test suite() {
return suite(false);
}
public static Test suite(boolean heartbeat) {
TestSuite suite = new ManagedTestSuite(AllCloudFoundryTests.class.getName());
// These need to be enabled only if a light-weight http servlet is
// included in the build. They have been commented out since CF 1.0.0
// See STS-3159
// XXX suite.addTestSuite(LocalCloudFoundryServerBehaviourTest.class);
// suite.addTestSuite(CloudFoundryMockServerTest.class);
// TODO: Enable when Caldecott is fixed post CF 1.5.1
// suite.addTestSuite(CaldecottTunnelTest.class);
if (!heartbeat) {
// XXX fails for on build server for unknown reasons
if (!StsTestUtil.isOnBuildSite()) {
suite.addTestSuite(CloudFoundryServerBehaviourTest.class);
}
}
suite.addTestSuite(CloudFoundryProxyTest.class);
suite.addTestSuite(ServerCredentialsStoreTest.class);
suite.addTestSuite(CloudFoundryServerTest.class);
suite.addTestSuite(CloudUtilTest.class);
suite.addTestSuite(DeploymentURLTest.class);
suite.addTestSuite(CloudFoundryServicesTest.class);
suite.addTestSuite(CloudFoundryClientConnectionTest.class);
return suite;
}