You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2006/08/22 03:42:28 UTC

svn commit: r433458 - in /tapestry/tapestry-test/trunk: pom.xml src/java/org/apache/tapestry/BaseComponentTestCase.java

Author: jkuhnert
Date: Mon Aug 21 18:42:27 2006
New Revision: 433458

URL: http://svn.apache.org/viewvc?rev=433458&view=rev
Log:
More dependency fixes.

Modified:
    tapestry/tapestry-test/trunk/pom.xml
    tapestry/tapestry-test/trunk/src/java/org/apache/tapestry/BaseComponentTestCase.java

Modified: tapestry/tapestry-test/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry-test/trunk/pom.xml?rev=433458&r1=433457&r2=433458&view=diff
==============================================================================
--- tapestry/tapestry-test/trunk/pom.xml (original)
+++ tapestry/tapestry-test/trunk/pom.xml Mon Aug 21 18:42:27 2006
@@ -136,7 +136,13 @@
             <artifactId>testng</artifactId>
             <version>5.1</version>
             <classifier>jdk15</classifier>
-            <scope>test</scope>
+            <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>junit</groupId>
+                    <artifactId>junit</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>commons-codec</groupId>

Modified: tapestry/tapestry-test/trunk/src/java/org/apache/tapestry/BaseComponentTestCase.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry-test/trunk/src/java/org/apache/tapestry/BaseComponentTestCase.java?rev=433458&r1=433457&r2=433458&view=diff
==============================================================================
--- tapestry/tapestry-test/trunk/src/java/org/apache/tapestry/BaseComponentTestCase.java (original)
+++ tapestry/tapestry-test/trunk/src/java/org/apache/tapestry/BaseComponentTestCase.java Mon Aug 21 18:42:27 2006
@@ -15,7 +15,6 @@
 import org.apache.hivemind.impl.DefaultClassResolver;
 import org.apache.hivemind.impl.RegistryBuilder;
 import org.apache.hivemind.impl.XmlModuleDescriptorProvider;
-import org.apache.hivemind.test.HiveMindTestCase;
 import org.apache.hivemind.util.URLResource;
 import org.apache.tapestry.components.ILinkComponent;
 import org.apache.tapestry.engine.IEngineService;
@@ -91,7 +90,7 @@
     {
         String actual = _charArrayWriter.toString();
 
-        assertEquals("Buffered markup writer content.", expected, actual);
+        assertEquals(expected, actual);
 
         _charArrayWriter.reset();
     }
@@ -534,8 +533,7 @@
     
     /**
      * Builds a minimal registry, containing only the specified files, plus the master module
-     * descriptor (i.e., those visible on the classpath). Files are resolved using
-     * {@link HiveMindTestCase#getResource(String)}.
+     * descriptor (i.e., those visible on the classpath).
      */
     protected Registry buildFrameworkRegistry(String[] files) throws Exception
     {