1 | public class JakartaRegexpMatcherTest extends RegexpMatcherTest {↵ | | 1 | public class JakartaRegexpRegexpTest extends RegexpTest {↵
|
|
2 | public RegexpMatcher getImplementation() {↵ | | 2 | public Regexp getRegexpImplementation() {↵
|
3 | return new JakartaRegexpMatcher();↵ | | 3 | return new JakartaRegexpRegexp();↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public JakartaRegexpMatcherTest(String name) {↵ | | 5 | public JakartaRegexpRegexpTest(String name) {↵
|
6 | super(name);↵ | | 6 | super(name);↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void testWindowsLineSeparator2() throws IOException {↵ | | 8 | public void testWindowsLineSeparator2() throws IOException {↵
|
9 | try {↵ | | 9 | try {↵
|
10 | super.testWindowsLineSeparator2();↵ | | 10 | super.testWindowsLineSeparator2();↵
|
11 | fail("Should trigger when this bug is fixed. {@since 1.2}");↵ | | 11 | fail("Should trigger when this bug is fixed. {@since 1.2}");↵
|
12 | } catch (AssertionFailedError e) {↵ | | 12 | } catch (AssertionFailedError e){↵
|
13 | }↵ | | 13 | }↵
|
14 | }↵ | | 14 | }↵
|
|
15 | /**↵ | | 15 | /**↵
|
16 | * Fails for the same reason as "default" mode in doEndTest2.↵ | | 16 | * Fails for the same reason as "default" mode in doEndTest2.↵
|
17 | */↵ | | 17 | */↵
|
18 | public void testUnixLineSeparator() throws IOException {↵ | | 18 | public void testUnixLineSeparator() throws IOException {↵
|
19 | try {↵ | | 19 | try {↵
|
20 | super.testUnixLineSeparator();↵ | | 20 | super.testUnixLineSeparator();↵
|
21 | fail("Should trigger once this bug is fixed. {@since 1.2}");↵ | | 21 | fail("Should trigger once this bug is fixed. {@since 1.2}");↵
|
22 | } catch (AssertionFailedError e) {↵ | | 22 | } catch (AssertionFailedError e){↵
|
23 | }↵ | | 23 | }↵
|
24 | }↵ | | 24 | }↵
|
|
|
25 | /**↵ | | 25 | /**↵
|
26 | * Fails for "default" mode.↵ | | 26 | * Fails for "default" mode.↵
|
27 | */↵ | | 27 | */↵
|
28 | protected void doEndTest2(String text) {} | | 28 | protected void doEndTest2(String text) {}
|