|
|
@@ -54,6 +54,10 @@ |
|
|
|
|
|
|
|
package org.apache.tools.ant.util.regexp; |
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
import junit.framework.AssertionFailedError; |
|
|
|
|
|
|
|
/** |
|
|
|
* Tests for the JDK 1.4 implementation of the Regexp interface. |
|
|
|
* |
|
|
@@ -69,4 +73,36 @@ public class Jdk14RegexpRegexpTest extends RegexpTest { |
|
|
|
super(name); |
|
|
|
} |
|
|
|
|
|
|
|
public void testParagraphCharacter() throws IOException { |
|
|
|
try { |
|
|
|
super.testParagraphCharacter(); |
|
|
|
fail("Should trigger once fixed. {@since JDK 1.4RC1}"); |
|
|
|
} catch (AssertionFailedError e){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void testLineSeparatorCharacter() throws IOException { |
|
|
|
try { |
|
|
|
super.testLineSeparatorCharacter(); |
|
|
|
fail("Should trigger once fixed. {@since JDK 1.4RC1}"); |
|
|
|
} catch (AssertionFailedError e){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void testStandaloneCR() throws IOException { |
|
|
|
try { |
|
|
|
super.testStandaloneCR(); |
|
|
|
fail("Should trigger once fixed. {@since JDK 1.4RC1}"); |
|
|
|
} catch (AssertionFailedError e){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void testWindowsLineSeparator() throws IOException { |
|
|
|
try { |
|
|
|
super.testWindowsLineSeparator(); |
|
|
|
fail("Should trigger once fixed. {@since JDK 1.4RC1}"); |
|
|
|
} catch (AssertionFailedError e){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |