Permalink
Browse files

Merge pull request #14 from nacx/issue-13-unit-tests

Upgraded surefire plugin version. Fixes #13
  • Loading branch information...
2 parents 4049315 + e237f91 commit 8f3faf9e555594c592a80633e8a0209a1d15ad6d Adrian Cole committed Jun 5, 2012
@@ -7,7 +7,7 @@
import org.jclouds.chef.ChefApiMetadata;
import org.jclouds.chef.ChefAsyncClient;
import org.jclouds.ohai.config.JMXOhaiModule;
-import org.jclouds.opscodeplatform.functions.OpscodePlatformRestClientModule;
+import org.jclouds.opscodeplatform.config.OpscodePlatformRestClientModule;
import org.jclouds.rest.RestContext;
import org.jclouds.rest.internal.BaseRestApiMetadata;
@@ -34,10 +34,10 @@
import org.jclouds.chef.ChefClient;
import org.jclouds.chef.filters.SignedHeaderAuth;
import org.jclouds.chef.functions.ParseKeySetFromJson;
-import org.jclouds.opscodeplatform.config.OrganizationName;
-import org.jclouds.opscodeplatform.config.Username;
import org.jclouds.opscodeplatform.domain.Organization;
import org.jclouds.opscodeplatform.domain.User;
+import org.jclouds.opscodeplatform.functions.OrganizationName;
+import org.jclouds.opscodeplatform.functions.Username;
import org.jclouds.rest.annotations.BinderParam;
import org.jclouds.rest.annotations.ExceptionParser;
import org.jclouds.rest.annotations.Headers;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.jclouds.opscodeplatform.functions;
+package org.jclouds.opscodeplatform.config;
import java.util.Map;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.jclouds.opscodeplatform.config;
+package org.jclouds.opscodeplatform.functions;
import javax.inject.Singleton;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.jclouds.opscodeplatform.config;
+package org.jclouds.opscodeplatform.functions;
import javax.inject.Singleton;
@@ -31,9 +31,9 @@
import org.jclouds.http.HttpRequest;
import org.jclouds.http.functions.ParseJson;
import org.jclouds.http.functions.ReturnTrueIf2xx;
+import org.jclouds.opscodeplatform.config.OpscodePlatformRestClientModule;
import org.jclouds.opscodeplatform.domain.Organization;
import org.jclouds.opscodeplatform.domain.User;
-import org.jclouds.opscodeplatform.functions.OpscodePlatformRestClientModule;
import org.jclouds.rest.ConfiguresRestClient;
import org.jclouds.rest.functions.ReturnEmptySetOnNotFoundOr404;
import org.jclouds.rest.functions.ReturnFalseOnNotFoundOr404;
@@ -53,7 +53,7 @@
*
* @author Adrian Cole
*/
-@Test(groups = { "unit" })
+@Test(groups = "unit", testName = "OpscodePlatformAsyncClientTest")
public class OpscodePlatformAsyncClientTest extends BaseAsyncClientTest<OpscodePlatformAsyncClient> {
public void testListUsers() throws SecurityException, NoSuchMethodException, IOException {
@@ -55,7 +55,7 @@
*
* @author Adrian Cole
*/
-@Test(groups = { "live" })
+@Test(groups = "live", testName = "OpscodePlatformClientLiveTest")
public class OpscodePlatformClientLiveTest extends BaseChefClientLiveTest {
private OpscodePlatformContext validatorConnection;
View
@@ -97,7 +97,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.8.1</version>
+ <version>2.12</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>

0 comments on commit 8f3faf9

Please sign in to comment.