From 8370a20654c3bc476d92f38e85735c9a14fac0e1 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Tue, 22 Nov 2011 23:59:17 +0200 Subject: [PATCH] fixed broken tests --- .../features/SnapshotAsyncClientTest.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SnapshotAsyncClientTest.java b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SnapshotAsyncClientTest.java index f50ad8c4e6..63d1926412 100644 --- a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SnapshotAsyncClientTest.java +++ b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/SnapshotAsyncClientTest.java @@ -18,9 +18,8 @@ */ package org.jclouds.cloudstack.features; -import com.google.common.base.Functions; -import com.google.common.collect.ImmutableSet; -import com.google.inject.TypeLiteral; +import java.lang.reflect.Method; + import org.jclouds.cloudstack.domain.Snapshot; import org.jclouds.cloudstack.domain.SnapshotPolicySchedule; import org.jclouds.cloudstack.options.CreateSnapshotOptions; @@ -29,6 +28,7 @@ import org.jclouds.cloudstack.options.ListSnapshotsOptions; import org.jclouds.cloudstack.util.SnapshotPolicySchedules; import org.jclouds.functions.IdentityFunction; import org.jclouds.http.HttpRequest; +import org.jclouds.http.functions.ParseFirstJsonValueNamed; import org.jclouds.http.functions.ReleasePayloadAndReturn; import org.jclouds.http.functions.UnwrapOnlyJsonValue; import org.jclouds.rest.functions.MapHttp4xxCodesToExceptions; @@ -38,7 +38,9 @@ import org.jclouds.rest.functions.ReturnVoidOnNotFoundOr404; import org.jclouds.rest.internal.RestAnnotationProcessor; import org.testng.annotations.Test; -import java.lang.reflect.Method; +import com.google.common.base.Functions; +import com.google.common.collect.ImmutableSet; +import com.google.inject.TypeLiteral; /** * Tests the behaviour of SnapshotAsyncClient. @@ -92,7 +94,7 @@ public class SnapshotAsyncClientTest extends BaseCloudStackAsyncClientTest