You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2007/10/17 04:52:27 UTC

svn commit: r585334 - in /maven/components/branches/maven-2.0.x/maven-project/src/test: java/org/apache/maven/project/MavenProjectTest.java resources/iso-8859-15-encoded-pom.xml resources/utf-8-encoded-pom.xml

Author: brianf
Date: Tue Oct 16 19:52:22 2007
New Revision: 585334

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

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

Modified: maven/components/branches/maven-2.0.x/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java?rev=585334&r1=585333&r2=585334&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java (original)
+++ maven/components/branches/maven-2.0.x/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java Tue Oct 16 19:52:22 2007
@@ -155,29 +155,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() );
-    }
 }