[wsas-java-dev] svn commit r6162 - in trunk/wsas/java/modules/integration: . test/org/wso2 test/org/wso2/codegen/service test/org/wso2/codegen/service/java test/org/wso2/wsas/rest test/org/wso2/wsas/sample/commodityquote test/org/wso2/wsas/sample/trader

svn at wso2.org svn at wso2.org
Tue Aug 7 07:04:10 PDT 2007


Author: azeez
Date: Tue Aug  7 07:03:31 2007
New Revision: 6162

Added:
   trunk/wsas/java/modules/integration/test/org/wso2/LoadT.java
      - copied, changed from r6159, trunk/wsas/java/modules/integration/test/org/wso2/LoadTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/WSDLInfoServiceT.java
      - copied, changed from r6159, trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/WSDLInfoServiceTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/java/JavaClientGeneratorServiceT.java
      - copied, changed from r6159, trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/java/JavaClientGeneratorServiceTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportT.java
      - copied, changed from r6159, trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasT.java
      - copied, changed from r6159, trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/commodityquote/CommodityQuoteServiceIntegrationT.java   (contents, props changed)
      - copied, changed from r6159, trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/commodityquote/CommodityQuoteServiceIntegrationTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/trader/TraderServiceIntegrationT.java
      - copied, changed from r6159, trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/trader/TraderServiceIntegrationTest.java
Removed:
   trunk/wsas/java/modules/integration/test/org/wso2/LoadTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/WSDLInfoServiceTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/java/JavaClientGeneratorServiceTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/commodityquote/CommodityQuoteServiceIntegrationTest.java
   trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/trader/TraderServiceIntegrationTest.java
Modified:
   trunk/wsas/java/modules/integration/pom.xml
   trunk/wsas/java/modules/integration/test/org/wso2/IntegrationTestSuite.java
Log:
Renaming some of the test classes since these have to be run ONLY from within a TestSuite. Clover and other report geenration tools were recognizing any class starting or ending with 'Test' to be 
a unit test.



Modified: trunk/wsas/java/modules/integration/pom.xml
==============================================================================
--- trunk/wsas/java/modules/integration/pom.xml	(original)
+++ trunk/wsas/java/modules/integration/pom.xml	Tue Aug  7 07:03:31 2007
@@ -284,11 +284,11 @@
                     <enableRulesSummary>false</enableRulesSummary>
                 </configuration>
             </plugin>
-            <!--<plugin>
+            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-clover-plugin</artifactId>
                 <configuration>
-                    <licenseLocation>${clover.license.file}</licenseLocation>
+                    <!--<licenseLocation>${clover.license.file}</licenseLocation>-->
                     <targetPercentage>60%</targetPercentage>
                     <generateHtml>true</generateHtml>
                     <generatePdf>false</generatePdf>
@@ -308,7 +308,7 @@
                         </goals>
                     </execution>
                 </executions>
-            </plugin>-->
+            </plugin>
         </plugins>
     </build>
     <reporting>

Modified: trunk/wsas/java/modules/integration/test/org/wso2/IntegrationTestSuite.java
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/IntegrationTestSuite.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/IntegrationTestSuite.java	Tue Aug  7 07:03:31 2007
@@ -21,13 +21,12 @@
 import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
-import org.wso2.codegen.service.WSDLInfoServiceTest;
-import org.wso2.codegen.service.ajax.AjaxClientGeneratorServiceTest;
+import org.wso2.codegen.service.WSDLInfoServiceT;
 import org.wso2.wsas.ServerConstants;
-import org.wso2.wsas.rest.RestSupportTest;
-import org.wso2.wsas.rest.RestWithSchemasTest;
-import org.wso2.wsas.sample.commodityquote.CommodityQuoteServiceIntegrationTest;
-import org.wso2.wsas.sample.trader.TraderServiceIntegrationTest;
+import org.wso2.wsas.rest.RestSupportT;
+import org.wso2.wsas.rest.RestWithSchemasT;
+import org.wso2.wsas.sample.commodityquote.CommodityQuoteServiceIntegrationT;
+import org.wso2.wsas.sample.trader.TraderServiceIntegrationT;
 import org.wso2.wsas.util.ServerUtils;
 /*
  *
@@ -40,15 +39,15 @@
     public static Test suite() {
         TestSuite suite = new ActiveTestSuite("Integration Tests");
 
-        suite.addTestSuite(WSDLInfoServiceTest.class);
-        suite.addTestSuite(RestSupportTest.class);
-        suite.addTestSuite(RestWithSchemasTest.class);
+        suite.addTestSuite(WSDLInfoServiceT.class);
+        suite.addTestSuite(RestSupportT.class);
+        suite.addTestSuite(RestWithSchemasT.class);
 
-        suite.addTestSuite(CommodityQuoteServiceIntegrationTest.class);
-        suite.addTestSuite(TraderServiceIntegrationTest.class);
+        suite.addTestSuite(CommodityQuoteServiceIntegrationT.class);
+        suite.addTestSuite(TraderServiceIntegrationT.class);
 
 //        suite.addTestSuite(JavaClientGeneratorServiceTest.class);
-        suite.addTestSuite(LoadTest.class);
+        suite.addTestSuite(LoadT.class);
 
 
         return new TestSetup(suite) {

Copied: trunk/wsas/java/modules/integration/test/org/wso2/LoadT.java (from r6159, trunk/wsas/java/modules/integration/test/org/wso2/LoadTest.java)
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/LoadTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/LoadT.java	Tue Aug  7 07:03:31 2007
@@ -39,7 +39,7 @@
  * 
  */
 
-public class LoadTest extends AbstractTestCase {
+public class LoadT extends AbstractTestCase {
 
     public void testLoadEchoInt() throws Exception {
 

Copied: trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/WSDLInfoServiceT.java (from r6159, trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/WSDLInfoServiceTest.java)
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/WSDLInfoServiceTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/WSDLInfoServiceT.java	Tue Aug  7 07:03:31 2007
@@ -22,7 +22,7 @@
 import org.wso2.wsas.ServerConstants;
 import org.wso2.wsas.TestConstants;
 
-public class WSDLInfoServiceTest extends AbstractTestCase {
+public class WSDLInfoServiceT extends AbstractTestCase {
 
     EndpointReference epr;
 

Copied: trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/java/JavaClientGeneratorServiceT.java (from r6159, trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/java/JavaClientGeneratorServiceTest.java)
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/java/JavaClientGeneratorServiceTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/codegen/service/java/JavaClientGeneratorServiceT.java	Tue Aug  7 07:03:31 2007
@@ -29,7 +29,7 @@
 /**
  *
  */
-public class JavaClientGeneratorServiceTest extends AbstractTestCase {
+public class JavaClientGeneratorServiceT extends AbstractTestCase {
     private JavaClientGeneratorServiceStub client;
     private QName serviceName = new QName("JavaClientGeneratorService");
 

Copied: trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportT.java (from r6159, trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportTest.java)
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestSupportT.java	Tue Aug  7 07:03:31 2007
@@ -35,7 +35,7 @@
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 
-public class RestSupportTest extends AbstractTestCase {
+public class RestSupportT extends AbstractTestCase {
 
     QName serviceName = new QName("Calculator");
     QName operationName = new QName("add");

Copied: trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasT.java (from r6159, trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasTest.java)
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/wsas/rest/RestWithSchemasT.java	Tue Aug  7 07:03:31 2007
@@ -44,7 +44,7 @@
 import java.net.MalformedURLException;
 import java.net.URL;
 
-public class RestWithSchemasTest extends AbstractTestCase {
+public class RestWithSchemasT extends AbstractTestCase {
 
     QName serviceName = new QName("Calculator");
     QName operationName = new QName("add");

Copied: trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/commodityquote/CommodityQuoteServiceIntegrationT.java (from r6159, trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/commodityquote/CommodityQuoteServiceIntegrationTest.java)
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/commodityquote/CommodityQuoteServiceIntegrationTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/commodityquote/CommodityQuoteServiceIntegrationT.java	Tue Aug  7 07:03:31 2007
@@ -37,7 +37,7 @@
 import java.io.IOException;
 import java.rmi.RemoteException;
 
-public class CommodityQuoteServiceIntegrationTest extends AbstractTestCase {
+public class CommodityQuoteServiceIntegrationT extends AbstractTestCase {
 
     private CommodityQuoteStub commodityQuoteClient;
 

Copied: trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/trader/TraderServiceIntegrationT.java (from r6159, trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/trader/TraderServiceIntegrationTest.java)
==============================================================================
--- trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/trader/TraderServiceIntegrationTest.java	(original)
+++ trunk/wsas/java/modules/integration/test/org/wso2/wsas/sample/trader/TraderServiceIntegrationT.java	Tue Aug  7 07:03:31 2007
@@ -32,7 +32,7 @@
 import org.wso2.www.types.trader.client.*;
 
 
-public class TraderServiceIntegrationTest extends AbstractTestCase {
+public class TraderServiceIntegrationT extends AbstractTestCase {
 
     private TraderClientStub traderStub;
     private ExchangeClientStub exchangeStub;




More information about the Wsas-java-dev mailing list