mirror of https://github.com/apache/jclouds.git
refactored to not require the type of the api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@1907 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
ca7ae7040c
commit
2f2dd9f881
|
@ -25,6 +25,7 @@ package org.jclouds.cloud;
|
||||||
|
|
||||||
import static org.testng.Assert.assertEquals;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
|
||||||
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
@ -64,13 +65,22 @@ public class CloudContextBuilderTest {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getConnection() {
|
public String getApi() {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getAccount() {
|
||||||
|
return "";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestCloudContextBuilder extends CloudContextBuilder<String, TestCloudContext> {
|
public URI getEndPoint() {
|
||||||
|
return URI.create("http://localhost");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class TestCloudContextBuilder extends CloudContextBuilder<TestCloudContext> {
|
||||||
|
|
||||||
protected TestCloudContextBuilder(Properties properties) {
|
protected TestCloudContextBuilder(Properties properties) {
|
||||||
super(properties);
|
super(properties);
|
||||||
|
|
Loading…
Reference in New Issue