From 2f2dd9f8819d0f8312113800ec8be8590b34d346 Mon Sep 17 00:00:00 2001 From: "adrian.f.cole" Date: Thu, 24 Sep 2009 00:14:17 +0000 Subject: [PATCH] refactored to not require the type of the api git-svn-id: http://jclouds.googlecode.com/svn/trunk@1907 3d8758e0-26b5-11de-8745-db77d3ebf521 --- .../org/jclouds/cloud/CloudContextBuilderTest.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/org/jclouds/cloud/CloudContextBuilderTest.java b/core/src/test/java/org/jclouds/cloud/CloudContextBuilderTest.java index 39e52e4c3c..b2f702ef17 100644 --- a/core/src/test/java/org/jclouds/cloud/CloudContextBuilderTest.java +++ b/core/src/test/java/org/jclouds/cloud/CloudContextBuilderTest.java @@ -25,6 +25,7 @@ package org.jclouds.cloud; import static org.testng.Assert.assertEquals; +import java.net.URI; import java.util.ArrayList; import java.util.List; import java.util.Properties; @@ -64,13 +65,22 @@ public class CloudContextBuilderTest { } - public String getConnection() { + public String getApi() { return ""; } + public String getAccount() { + return ""; + + } + + public URI getEndPoint() { + return URI.create("http://localhost"); + } + } - class TestCloudContextBuilder extends CloudContextBuilder { + class TestCloudContextBuilder extends CloudContextBuilder { protected TestCloudContextBuilder(Properties properties) { super(properties);