From 8771f75d5055ecd71ac645a3fcd6cbc3b9b2bafa Mon Sep 17 00:00:00 2001 From: adriancole Date: Mon, 8 Apr 2013 23:31:11 -0700 Subject: [PATCH] added apiVersion field to BaseContextLiveTest so that CloudStack tests don't need to rely on as much injection --- core/src/test/java/org/jclouds/apis/BaseContextLiveTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/test/java/org/jclouds/apis/BaseContextLiveTest.java b/core/src/test/java/org/jclouds/apis/BaseContextLiveTest.java index 1cc1dd98d7..955a70394e 100644 --- a/core/src/test/java/org/jclouds/apis/BaseContextLiveTest.java +++ b/core/src/test/java/org/jclouds/apis/BaseContextLiveTest.java @@ -52,6 +52,7 @@ public abstract class BaseContextLiveTest { 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 { 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; }