mirror of https://github.com/apache/jclouds.git
added apiVersion field to BaseContextLiveTest so that CloudStack tests don't need to rely on as much injection
This commit is contained in:
parent
4d0e6ae699
commit
8771f75d50
|
@ -52,6 +52,7 @@ public abstract class BaseContextLiveTest<C extends Context> {
|
|||
protected String identity;
|
||||
protected String credential;
|
||||
protected String endpoint;
|
||||
protected String apiVersion;
|
||||
|
||||
protected Properties setupProperties() {
|
||||
Properties overrides = new Properties();
|
||||
|
@ -60,7 +61,7 @@ public abstract class BaseContextLiveTest<C extends Context> {
|
|||
identity = setIfTestSystemPropertyPresent(overrides, provider + ".identity");
|
||||
credential = setIfTestSystemPropertyPresent(overrides, provider + ".credential");
|
||||
endpoint = setIfTestSystemPropertyPresent(overrides, provider + ".endpoint");
|
||||
setIfTestSystemPropertyPresent(overrides, provider + ".api-version");
|
||||
apiVersion = setIfTestSystemPropertyPresent(overrides, provider + ".api-version");
|
||||
setIfTestSystemPropertyPresent(overrides, provider + ".build-version");
|
||||
return overrides;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue