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 JakartaRegexpMatcherTest extends RegexpMatcherTest { 31 32 public RegexpMatcher getImplementation() { 33 return new JakartaRegexpMatcher(); 34 } 35 36 public JakartaRegexpMatcherTest(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 60 63 protected void doEndTest2(String text) {} 64 } 65 | Popular Tags |