incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject [2/2] git commit: Start of unit test suite for api project Signed-off-by: Chip Childers <chip.childers@gmail.com>
Date Mon, 24 Sep 2012 15:20:21 GMT
Start of unit test suite for api project
Signed-off-by: Chip Childers <chip.childers@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/1ea6b11d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/1ea6b11d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/1ea6b11d

Branch: refs/heads/junit-tests
Commit: 1ea6b11d9fdfb3a2842dc05d1aadf3f8c64ca044
Parents: 77d74c6
Author: Yichi Lu <yichi.lu@sungard.com>
Authored: Mon Sep 24 11:18:07 2012 -0400
Committer: Chip Childers <chip.childers@gmail.com>
Committed: Mon Sep 24 11:18:07 2012 -0400

----------------------------------------------------------------------
 .gitignore  |    1 -
 api/pom.xml |    6 ++++++
 pom.xml     |   16 ++++++++++++++++
 3 files changed, 22 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1ea6b11d/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 3db1674..6226db1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,7 +36,6 @@ cloud-*.tar.bz2
 build.number
 api.log.*.gz
 cloud.log.*.*
-unittest
 deps/cloud.userlibraries
 deps/awsapi-lib/
 .DS_Store

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1ea6b11d/api/pom.xml
----------------------------------------------------------------------
diff --git a/api/pom.xml b/api/pom.xml
index db14775..9ebdef8 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -37,6 +37,12 @@
       <artifactId>gson</artifactId>
       <version>${cs.gson.version}</version>
     </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.2</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <build>
     <defaultGoal>install</defaultGoal>

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1ea6b11d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0c600bc..e5ed433 100644
--- a/pom.xml
+++ b/pom.xml
@@ -299,6 +299,22 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.12.3</version>
+          <configuration>
+            <parallel>methods</parallel>
+            <threadCount>10</threadCount>
+          </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.maven.surefire</groupId>
+            <artifactId>surefire-junit47</artifactId>
+            <version>2.12.3</version>
+          </dependency>
+        </dependencies>
+      </plugin>
       </plugins>
     </pluginManagement>
   </build>


Mime
View raw message