mirror of https://github.com/apache/jclouds.git
formatting
This commit is contained in:
parent
2b9ba76fe1
commit
ba0725286a
|
@ -34,8 +34,6 @@ import com.google.common.collect.ImmutableMultimap;
|
||||||
@Test(groups = "unit", testName = "CloudServersExpectTest")
|
@Test(groups = "unit", testName = "CloudServersExpectTest")
|
||||||
public class CloudServersExpectTest extends BaseCloudServersRestClientExpectTest {
|
public class CloudServersExpectTest extends BaseCloudServersRestClientExpectTest {
|
||||||
|
|
||||||
public void deleteImageReturnsTrueOn200AndFalseOn404() {
|
|
||||||
|
|
||||||
HttpRequest initialAuth = HttpRequest.builder().method("GET").endpoint(URI.create("https://auth/v1.0"))
|
HttpRequest initialAuth = HttpRequest.builder().method("GET").endpoint(URI.create("https://auth/v1.0"))
|
||||||
.headers(
|
.headers(
|
||||||
ImmutableMultimap.<String, String> builder()
|
ImmutableMultimap.<String, String> builder()
|
||||||
|
@ -61,6 +59,7 @@ public class CloudServersExpectTest extends BaseCloudServersRestClientExpectTest
|
||||||
.put("Content-Length", "0")
|
.put("Content-Length", "0")
|
||||||
.build()).build();
|
.build()).build();
|
||||||
|
|
||||||
|
public void deleteImageReturnsTrueOn200AndFalseOn404() {
|
||||||
|
|
||||||
HttpRequest deleteImage11 = HttpRequest.builder().method("DELETE").endpoint(
|
HttpRequest deleteImage11 = HttpRequest.builder().method("DELETE").endpoint(
|
||||||
URI.create("https://servers.api.rackspacecloud.com/v1.0/413274/images/11?now=1257695648897")).headers(
|
URI.create("https://servers.api.rackspacecloud.com/v1.0/413274/images/11?now=1257695648897")).headers(
|
||||||
|
|
Loading…
Reference in New Issue