maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject svn commit: r585548 - in /maven/components/trunk/maven-project/src/test: java/org/apache/maven/project/MavenProjectTest.java resources/iso-8859-15-encoded-pom.xml resources/utf-8-encoded-pom.xml
Date Wed, 17 Oct 2007 16:01:25 GMT
Author: brianf
Date: Wed Oct 17 09:01:23 2007
New Revision: 585548

URL: http://svn.apache.org/viewvc?rev=585548&view=rev
Log:
rolling back broken tests

Removed:
    maven/components/trunk/maven-project/src/test/resources/iso-8859-15-encoded-pom.xml
    maven/components/trunk/maven-project/src/test/resources/utf-8-encoded-pom.xml
Modified:
    maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java

Modified: maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java?rev=585548&r1=585547&r2=585548&view=diff
==============================================================================
--- maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java
(original)
+++ maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java
Wed Oct 17 09:01:23 2007
@@ -156,30 +156,4 @@
         MavenProject clonedProject = new MavenProject( projectToClone );
         assertNotNull( "clonedProject - distributionManagement", clonedProject.getDistributionManagementArtifactRepository()
);
     }
-	
-	    
-	/**
-	 * 
-	 * Maven uses FileReaders by default to read POMs. 
-	 * @throws Exception
-	 */
-    public void testUTF8EncodedProject() throws Exception
-    {
-		File f = getFileForClasspathResource( "utf-8-encoded-pom.xml" );
-    		MavenProject utf8EncodedProject = getProject( f );
-    		
-    		assertEquals( "öäüß", utf8EncodedProject.getDescription() );
-    }
-
-	/**
-	 * This test case will not fail, because 8bit encodings won't corrupt the parser.
-	 * @throws Exception
-	 */
-    public void testISOEncodedProject() throws Exception
-    {
-		File f = getFileForClasspathResource( "iso-8859-15-encoded-pom.xml" );
-		MavenProject isoEncodedProject = getProject( f );
-		
-		assertEquals( "öäüß", isoEncodedProject.getDescription() );
-    }
 }



Mime
View raw message