You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/11/14 14:19:31 UTC

svn commit: r713997 - in /maven/core-integration-testing/trunk/core-it-suite/src/test: java/org/apache/maven/it/MavenITmng3839PomParsingCoalesceTextTest.java resources/mng-3839/pom.xml

Author: bentmann
Date: Fri Nov 14 05:19:31 2008
New Revision: 713997

URL: http://svn.apache.org/viewvc?rev=713997&view=rev
Log:
o Strengthened IT

Modified:
    maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3839PomParsingCoalesceTextTest.java
    maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3839/pom.xml

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3839PomParsingCoalesceTextTest.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3839PomParsingCoalesceTextTest.java?rev=713997&r1=713996&r2=713997&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3839PomParsingCoalesceTextTest.java (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3839PomParsingCoalesceTextTest.java Fri Nov 14 05:19:31 2008
@@ -42,7 +42,7 @@
     /**
      * Test that POM parsing properly coalesces text data.
      */
-    public void testitMNG3833()
+    public void testitMNG3839()
         throws Exception
     {
         File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3839" );

Modified: maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3839/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3839/pom.xml?rev=713997&r1=713996&r2=713997&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3839/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3839/pom.xml Fri Nov 14 05:19:31 2008
@@ -39,9 +39,10 @@
     <prop0>A <![CDATA[ Test ]]> Project<![CDATA[ ]]>Property</prop0>
 
     <!--
-    This checks the coalescing of CHARACTERS events that are interleaved with comments.
+    This checks the coalescing of CHARACTERS events that are interleaved with comments. Note that inner whitespace
+    formed by whitespace-only events must be retained.
     -->
-    <prop1><!-- X -->That's <!-- X -->a<!-- X --> test!<!-- X --></prop1>
+    <prop1><!-- X -->That's<!-- X --> <!-- X -->a<!-- X --> <!-- X -->test!<!-- X --></prop1>
 
     <!--
     This checks the coalescing of CHARACTERS events which would otherwise be reported in chunks of the internal parser