1 | package org.apache.tools.ant.types.mappers;↵ | | 1 | package org.apache.tools.ant.types.mappers;↵
|
|
2 | import org.apache.tools.ant.BuildFileTest;↵ | | 2 | import org.apache.tools.ant.BuildFileTest;↵
|
|
3 | /**↵ | | 3 | /**↵
|
4 | * Testcase for the <globmapper> mapper.↵ | | 4 | * Testcase for the <regexpmapper> mapper.↵
|
5 | *↵ | | 5 | *↵
|
6 | */↵ | | 6 | */↵
|
7 | public class GlobMapperTest extends BuildFileTest {↵ | | 7 | public class RegexpPatternMapperTest extends BuildFileTest {↵
|
8 | public GlobMapperTest(String name) {↵ | | 8 | public RegexpPatternMapperTest(String name) {↵
|
9 | super(name);↵ | | 9 | super(name);↵
|
10 | }↵ | | 10 | }↵
|
11 | public void setUp() {↵ | | 11 | public void setUp() {↵
|
12 | configureProject("src/etc/testcases/types/mappers/globmapper.xml");↵ | | 12 | configureProject("src/etc/testcases/types/mappers/regexpmapper.xml");↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public void testIgnoreCase() {↵ | | 14 | public void testIgnoreCase() {↵
|
15 | executeTarget("ignore.case");↵ | | 15 | executeTarget("ignore.case");↵
|
16 | }↵ | | 16 | }↵
|
17 | public void testHandleDirSep() {↵ | | 17 | public void testHandleDirSep() {↵
|
18 | executeTarget("handle.dirsep");↵ | | 18 | executeTarget("handle.dirsep");↵
|
19 | }↵ | | 19 | }↵
|
20 | } | | 20 | }
|