1 | class Jdk14RegexpRegexpTest extends RegexpTest {↵ | | 1 | class Jdk14RegexpMatcherTest extends RegexpMatcherTest {↵
|
|
2 | public Regexp getRegexpImplementation() {↵ | | 2 | public RegexpMatcher getImplementation() {↵
|
3 | return new Jdk14RegexpRegexp();↵ | | 3 | return new Jdk14RegexpMatcher();↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public Jdk14RegexpRegexpTest(String name) {↵ | | 5 | public Jdk14RegexpMatcherTest(String name) {↵
|
6 | super(name);↵ | | 6 | super(name);↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void testParagraphCharacter() throws IOException {↵ | | 8 | public void testParagraphCharacter() throws IOException {↵
|
9 | try {↵ | | 9 | try {↵
|
10 | super.testParagraphCharacter();↵ | | 10 | super.testParagraphCharacter();↵
|
11 | fail("Should trigger once fixed. {@since JDK 1.4RC1}");↵ | | 11 | fail("Should trigger once fixed. {@since JDK 1.4RC1}");↵
|
12 | } catch (AssertionFailedError e){↵ | | 12 | } catch (AssertionFailedError e){↵
|
13 | }↵ | | 13 | }↵
|
14 | }↵ | | 14 | }↵
|
|
15 | public void testLineSeparatorCharacter() throws IOException {↵ | | 15 | public void testLineSeparatorCharacter() throws IOException {↵
|
16 | try {↵ | | 16 | try {↵
|
17 | super.testLineSeparatorCharacter();↵ | | 17 | super.testLineSeparatorCharacter();↵
|
18 | fail("Should trigger once fixed. {@since JDK 1.4RC1}");↵ | | 18 | fail("Should trigger once fixed. {@since JDK 1.4RC1}");↵
|
19 | } catch (AssertionFailedError e){↵ | | 19 | } catch (AssertionFailedError e){↵
|
20 | }↵ | | 20 | }↵
|
21 | }↵ | | 21 | }↵
|
|
22 | public void testStandaloneCR() throws IOException {↵ | | 22 | public void testStandaloneCR() throws IOException {↵
|
23 | try {↵ | | 23 | try {↵
|
24 | super.testStandaloneCR();↵ | | 24 | super.testStandaloneCR();↵
|
25 | fail("Should trigger once fixed. {@since JDK 1.4RC1}");↵ | | 25 | fail("Should trigger once fixed. {@since JDK 1.4RC1}");↵
|
26 | } catch (AssertionFailedError e){↵ | | 26 | } catch (AssertionFailedError e){↵
|
27 | }↵ | | 27 | }↵
|
28 | }↵ | | 28 | }↵
|
|
29 | public void testWindowsLineSeparator() throws IOException {↵ | | 29 | public void testWindowsLineSeparator() throws IOException {↵
|
30 | try {↵ | | 30 | try {↵
|
31 | super.testWindowsLineSeparator();↵ | | 31 | super.testWindowsLineSeparator();↵
|
32 | fail("Should trigger once fixed. {@since JDK 1.4RC1}");↵ | | 32 | fail("Should trigger once fixed. {@since JDK 1.4RC1}");↵
|
33 | } catch (AssertionFailedError e){↵ | | 33 | } catch (AssertionFailedError e){↵
|
34 | }↵ | | 34 | }↵
|
35 | } | | 35 | }
|