added apiVersion field to BaseContextLiveTest so that CloudStack tests don't need to rely on as much injection

This commit is contained in:
adriancole 2013-04-08 23:31:11 -07:00
parent 1cc4cec79a
commit bf0a0aa781
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}