1 17 18 package org.apache.tools.ant.util.regexp; 19 20 import java.io.IOException ; 21 22 import junit.framework.AssertionFailedError; 23 24 28 public class Jdk14RegexpRegexpTest extends RegexpTest { 29 30 public Regexp getRegexpImplementation() { 31 return new Jdk14RegexpRegexp(); 32 } 33 34 public Jdk14RegexpRegexpTest(String name) { 35 super(name); 36 } 37 38 public void testParagraphCharacter() throws IOException { 39 try { 40 super.testParagraphCharacter(); 41 fail("Should trigger once fixed. {@since JDK 1.4RC1}"); 42 } catch (AssertionFailedError e){ 43 } 44 } 45 46 public void testLineSeparatorCharacter() throws IOException { 47 try { 48 super.testLineSeparatorCharacter(); 49 fail("Should trigger once fixed. {@since JDK 1.4RC1}"); 50 } catch (AssertionFailedError e){ 51 } 52 } 53 54 public void testStandaloneCR() throws IOException { 55 try { 56 super.testStandaloneCR(); 57 fail("Should trigger once fixed. {@since JDK 1.4RC1}"); 58 } catch (AssertionFailedError e){ 59 } 60 } 61 62 public void testWindowsLineSeparator() throws IOException { 63 try { 64 super.testWindowsLineSeparator(); 65 fail("Should trigger once fixed. {@since JDK 1.4RC1}"); 66 } catch (AssertionFailedError e){ 67 } 68 } 69 70 } 71 | Popular Tags |