1 17 18 package org.apache.tools.ant.util.regexp; 19 20 import java.io.IOException ; 21 22 import junit.framework.AssertionFailedError; 23 24 import org.apache.tools.ant.taskdefs.condition.Os; 25 26 30 public class JakartaRegexpRegexpTest extends RegexpTest { 31 32 public Regexp getRegexpImplementation() { 33 return new JakartaRegexpRegexp(); 34 } 35 36 public JakartaRegexpRegexpTest(String name) { 37 super(name); 38 } 39 40 public void testWindowsLineSeparator2() throws IOException { 41 try { 42 super.testWindowsLineSeparator2(); 43 fail("Should trigger when this bug is fixed. {@since 1.2}"); 44 } catch (AssertionFailedError e){ 45 } 46 } 47 48 51 public void testUnixLineSeparator() throws IOException { 52 try { 53 super.testUnixLineSeparator(); 54 fail("Should trigger once this bug is fixed. {@since 1.2}"); 55 } catch (AssertionFailedError e){ 56 } 57 } 58 59 62 protected void doEndTest2(String text) {} 63 } 64 | Popular Tags |