You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/11/11 15:13:34 UTC

svn commit: r1033944 - /tuscany/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java

Author: antelder
Date: Thu Nov 11 14:13:33 2010
New Revision: 1033944

URL: http://svn.apache.org/viewvc?rev=1033944&view=rev
Log:
Remove the servlet dependencies. (grumble grumble... pointless javadoc commments... grumble grumble)

Modified:
    tuscany/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java

Modified: tuscany/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java?rev=1033944&r1=1033943&r2=1033944&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java (original)
+++ tuscany/sca-java-2.x/trunk/testing/itest/base/dependencies/src/test/java/org/apache/tuscany/sca/itest/base/dependencies/ValidateDependenciesTestCase.java Thu Nov 11 14:13:33 2010
@@ -29,24 +29,17 @@ import org.junit.Test;
  * Test case for verifying the expected dependencies of the base jar
  * (Uses maven-dependency-plugin config in the pom.xml to generate the dependency list)
  *
- * *** NOTE: this is an API! If the dependencies change the API is changed and users will be broken.
- *           Don't just change the list without thinking about the consequencies
- * 
  * Current required jars are:
  *    asm-3.1.jar
  *    cglib-2.2.jar
  *    tuscany-base-2.0-SNAPSHOT.jar
  *    wsdl4j-1.6.2.jar
  *    XmlSchema-1.4.3.jar  
- *    
- *    Some of the provided dependencies were put back to 
- *    make tuscany-stripes and implementation-web compile in PDE
- *    so also need
- *    
- *    geronimo-el_1.0_spec-1.0.1.jar
- *    geronimo-jsp_2.1_spec-1.0.1.jar
- *    servlet-api-2.5.jar
  *
+ * *** NOTE: this is an API! If the dependencies change the API is changed and users will be broken.
+ *           Don't just change the list without thinking about the consequencies
+ *           or probably asking on the dev list first
+ *    
  *    junit-4.8.1.jar (only from this testcase)
  *
  */
@@ -59,6 +52,6 @@ public class ValidateDependenciesTestCas
         Assert.assertTrue(dependenciesDir.exists());
         
         File[] dependencyFiles = dependenciesDir.listFiles();
-        Assert.assertEquals(9, dependencyFiles.length);
+        Assert.assertEquals(6, dependencyFiles.length);
     }
 }