From 64fdbabf5bae2d83748b7491a475faf17c2ec78e Mon Sep 17 00:00:00 2001 From: Brian E Fox Date: Wed, 17 Oct 2007 16:01:23 +0000 Subject: [PATCH] rolling back broken tests git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@585548 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/project/MavenProjectTest.java | 26 --------------- .../resources/iso-8859-15-encoded-pom.xml | 33 ------------------- .../src/test/resources/utf-8-encoded-pom.xml | 33 ------------------- 3 files changed, 92 deletions(-) delete mode 100644 maven-project/src/test/resources/iso-8859-15-encoded-pom.xml delete mode 100644 maven-project/src/test/resources/utf-8-encoded-pom.xml diff --git a/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java b/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java index fd0adeecb9..3a39d264cb 100644 --- a/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java +++ b/maven-project/src/test/java/org/apache/maven/project/MavenProjectTest.java @@ -156,30 +156,4 @@ public class MavenProjectTest 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() ); - } } diff --git a/maven-project/src/test/resources/iso-8859-15-encoded-pom.xml b/maven-project/src/test/resources/iso-8859-15-encoded-pom.xml deleted file mode 100644 index ad9d67cb69..0000000000 --- a/maven-project/src/test/resources/iso-8859-15-encoded-pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - 4.0.0 - maven - maven-core - Maven - 2.0-SNAPSHOT - öäüß - - - - maven-plexus-plugin - 1.0 - - src/conf/plexus.conf - src/conf/plexus.properties - Continuum - - - - - plexus:runtime - - - ContinuumPro - - - - - - - diff --git a/maven-project/src/test/resources/utf-8-encoded-pom.xml b/maven-project/src/test/resources/utf-8-encoded-pom.xml deleted file mode 100644 index 9028732ce1..0000000000 --- a/maven-project/src/test/resources/utf-8-encoded-pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - 4.0.0 - maven - maven-core - Maven - 2.0-SNAPSHOT - öäüß - - - - maven-plexus-plugin - 1.0 - - src/conf/plexus.conf - src/conf/plexus.properties - Continuum - - - - - plexus:runtime - - - ContinuumPro - - - - - - -