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() );
- }
}