source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/src/testcases/org/apache/tools/ant/util/regexp/Jdk14RegexpRegexpTest.java@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 2.1 KB
Line 
1/*
2 * Copyright 2001-2002,2004 The Apache Software Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17
18package org.apache.tools.ant.util.regexp;
19
20import java.io.IOException;
21
22import junit.framework.AssertionFailedError;
23
24/**
25 * Tests for the JDK 1.4 implementation of the Regexp interface.
26 *
27 */
28public 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}
Note: See TracBrowser for help on using the repository browser.