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
1cc4cec79a
commit
bf0a0aa781
|
@ -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