1 | public void testNoRedirect() {↵ | | 1 | public void testRedirector2() throws IOException {↵
|
2 | executeTarget("no-redirect");↵ | | 2 | executeTarget("redirector2");↵
|
3 | if (getProject().getProperty("test.can.run") == null) {↵ | | 3 | if (getProject().getProperty("test.can.run") == null) {↵
|
4 | return;↵ | | 4 | return;↵
|
5 | }↵ | | 5 | }↵
|
|
6 | assertEquals("unexpected log content",↵ | | 6 | assertEquals("unexpected output",↵
|
7 | getProject().getProperty("ant.file") + " out"↵ | | 7 | getProject().getProperty("ant.file") + " out\n"↵
|
8 | + getProject().getProperty("ant.file") + " err", getLog(↵ | | 8 | + getProject().getProperty("ant.file") + " err\n",↵
|
9 | ));↵ | | 9 | getFileString("redirector.out"));↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void testRedirect1() throws IOException {↵ | | 11 | public void testRedirector3() throws IOException {↵
|
12 | executeTarget("redirect1");↵ | | 12 | executeTarget("redirector3");↵
|
13 | if (getProject().getProperty("test.can.run") == null) {↵ | | 13 | if (getProject().getProperty("test.can.run") == null) {↵
|
14 | return;↵ | | 14 | return;↵
|
15 | | | 15 |
|