Fixed imports and formatting.

This commit is contained in:
Everett Toews 2013-10-14 10:13:50 -05:00
parent cf9ef9ce5f
commit 622d019f44
1 changed files with 103 additions and 98 deletions

View File

@ -16,9 +16,6 @@
*/ */
package org.jclouds.openstack.keystone.v2_0.parse; package org.jclouds.openstack.keystone.v2_0.parse;
import javax.ws.rs.Consumes;
import javax.ws.rs.core.MediaType;
import org.jclouds.date.internal.SimpleDateFormatDateService; import org.jclouds.date.internal.SimpleDateFormatDateService;
import org.jclouds.json.BaseItemParserTest; import org.jclouds.json.BaseItemParserTest;
import org.jclouds.openstack.keystone.v2_0.domain.Access; import org.jclouds.openstack.keystone.v2_0.domain.Access;
@ -31,7 +28,17 @@ import org.jclouds.openstack.keystone.v2_0.domain.User;
import org.jclouds.rest.annotations.SelectJson; import org.jclouds.rest.annotations.SelectJson;
import org.testng.annotations.Test; import org.testng.annotations.Test;
import static org.jclouds.openstack.v2_0.ServiceType.*; import javax.ws.rs.Consumes;
import javax.ws.rs.core.MediaType;
import static org.jclouds.openstack.v2_0.ServiceType.BLOCK_STORAGE;
import static org.jclouds.openstack.v2_0.ServiceType.COMPUTE;
import static org.jclouds.openstack.v2_0.ServiceType.DATABASE_SERVICE;
import static org.jclouds.openstack.v2_0.ServiceType.IDENTITY;
import static org.jclouds.openstack.v2_0.ServiceType.IMAGE;
import static org.jclouds.openstack.v2_0.ServiceType.NETWORK;
import static org.jclouds.openstack.v2_0.ServiceType.OBJECT_STORE;
import static org.jclouds.openstack.v2_0.ServiceType.QUEUES;
/** /**
@ -118,7 +125,6 @@ public class ParseAccessTest extends BaseItemParserTest<Access> {
.adminURL("https://csnode.jclouds.org:9696") .adminURL("https://csnode.jclouds.org:9696")
.region("region-a.geo-1") .region("region-a.geo-1")
.versionId("2.0").build()).build()) .versionId("2.0").build()).build())
.service(Service.builder().name("cinder").type(BLOCK_STORAGE) .service(Service.builder().name("cinder").type(BLOCK_STORAGE)
.endpoint(Endpoint.builder() .endpoint(Endpoint.builder()
.id("08330c2dcbfc4c6c8dc7a0949fbf5da7") .id("08330c2dcbfc4c6c8dc7a0949fbf5da7")
@ -144,5 +150,4 @@ public class ParseAccessTest extends BaseItemParserTest<Access> {
.tenantId("3456") .tenantId("3456")
.build()).build()).build(); .build()).build()).build();
} }
} }