Skip to content
This repository has been archived by the owner on Feb 4, 2019. It is now read-only.

Commit

Permalink
Merge pull request #14 from nacx/issue-13-unit-tests
Browse files Browse the repository at this point in the history
Upgraded surefire plugin version. Fixes #13
  • Loading branch information
Adrian Cole committed Jun 5, 2012
2 parents 4049315 + e237f91 commit 8f3faf9
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Expand Up @@ -7,7 +7,7 @@
import org.jclouds.chef.ChefApiMetadata; import org.jclouds.chef.ChefApiMetadata;
import org.jclouds.chef.ChefAsyncClient; import org.jclouds.chef.ChefAsyncClient;
import org.jclouds.ohai.config.JMXOhaiModule; 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.RestContext;
import org.jclouds.rest.internal.BaseRestApiMetadata; import org.jclouds.rest.internal.BaseRestApiMetadata;


Expand Down
Expand Up @@ -34,10 +34,10 @@
import org.jclouds.chef.ChefClient; import org.jclouds.chef.ChefClient;
import org.jclouds.chef.filters.SignedHeaderAuth; import org.jclouds.chef.filters.SignedHeaderAuth;
import org.jclouds.chef.functions.ParseKeySetFromJson; 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.Organization;
import org.jclouds.opscodeplatform.domain.User; 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.BinderParam;
import org.jclouds.rest.annotations.ExceptionParser; import org.jclouds.rest.annotations.ExceptionParser;
import org.jclouds.rest.annotations.Headers; import org.jclouds.rest.annotations.Headers;
Expand Down
Expand Up @@ -16,7 +16,7 @@
* specific language governing permissions and limitations * specific language governing permissions and limitations
* under the License. * under the License.
*/ */
package org.jclouds.opscodeplatform.functions; package org.jclouds.opscodeplatform.config;


import java.util.Map; import java.util.Map;


Expand Down
Expand Up @@ -16,7 +16,7 @@
* specific language governing permissions and limitations * specific language governing permissions and limitations
* under the License. * under the License.
*/ */
package org.jclouds.opscodeplatform.config; package org.jclouds.opscodeplatform.functions;


import javax.inject.Singleton; import javax.inject.Singleton;


Expand Down
Expand Up @@ -16,7 +16,7 @@
* specific language governing permissions and limitations * specific language governing permissions and limitations
* under the License. * under the License.
*/ */
package org.jclouds.opscodeplatform.config; package org.jclouds.opscodeplatform.functions;


import javax.inject.Singleton; import javax.inject.Singleton;


Expand Down
Expand Up @@ -31,9 +31,9 @@
import org.jclouds.http.HttpRequest; import org.jclouds.http.HttpRequest;
import org.jclouds.http.functions.ParseJson; import org.jclouds.http.functions.ParseJson;
import org.jclouds.http.functions.ReturnTrueIf2xx; import org.jclouds.http.functions.ReturnTrueIf2xx;
import org.jclouds.opscodeplatform.config.OpscodePlatformRestClientModule;
import org.jclouds.opscodeplatform.domain.Organization; import org.jclouds.opscodeplatform.domain.Organization;
import org.jclouds.opscodeplatform.domain.User; import org.jclouds.opscodeplatform.domain.User;
import org.jclouds.opscodeplatform.functions.OpscodePlatformRestClientModule;
import org.jclouds.rest.ConfiguresRestClient; import org.jclouds.rest.ConfiguresRestClient;
import org.jclouds.rest.functions.ReturnEmptySetOnNotFoundOr404; import org.jclouds.rest.functions.ReturnEmptySetOnNotFoundOr404;
import org.jclouds.rest.functions.ReturnFalseOnNotFoundOr404; import org.jclouds.rest.functions.ReturnFalseOnNotFoundOr404;
Expand All @@ -53,7 +53,7 @@
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
@Test(groups = { "unit" }) @Test(groups = "unit", testName = "OpscodePlatformAsyncClientTest")
public class OpscodePlatformAsyncClientTest extends BaseAsyncClientTest<OpscodePlatformAsyncClient> { public class OpscodePlatformAsyncClientTest extends BaseAsyncClientTest<OpscodePlatformAsyncClient> {


public void testListUsers() throws SecurityException, NoSuchMethodException, IOException { public void testListUsers() throws SecurityException, NoSuchMethodException, IOException {
Expand Down
Expand Up @@ -55,7 +55,7 @@
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
@Test(groups = { "live" }) @Test(groups = "live", testName = "OpscodePlatformClientLiveTest")
public class OpscodePlatformClientLiveTest extends BaseChefClientLiveTest { public class OpscodePlatformClientLiveTest extends BaseChefClientLiveTest {


private OpscodePlatformContext validatorConnection; private OpscodePlatformContext validatorConnection;
Expand Down
2 changes: 1 addition & 1 deletion project/pom.xml
Expand Up @@ -97,7 +97,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.8.1</version> <version>2.12</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
Expand Down

0 comments on commit 8f3faf9

Please sign in to comment.