1 | void handleFlush(String output) {↵ | | 1 | void handleErrorOutput(String output) {↵
|
2 | if (runner != null) {↵ | | 2 | if (runner != null) {↵
|
3 | runner.handleFlush(output);↵ | | 3 | runner.handleErrorOutput(output);↵
|
4 | if (showOutput) {↵ | | 4 | if (showOutput) {↵
|
5 | super.handleFlush(output);↵ | | 5 | super.handleErrorOutput(output);↵
|
6 | }↵ | | 6 | }↵
|
7 | } else {↵ | | 7 | } else {↵
|
8 | super.handleFlush(output);↵ | | 8 | super.handleErrorOutput(output);↵
|
9 | }↵ | | 9 | }↵
|
10 | }↵ | | 10 | }↵
|
|
|
11 | /**↵ | | 11 | /**↵
|
12 | * Pass output sent to System.err to the TestRunner so it can↵ | | 12 | * Pass output sent to System.err to the TestRunner so it can↵
|
13 | * collect it for the formatters.↵ | | 13 | * collect it for the formatters.↵
|
14 | *↵ | | 14 | *↵
|
15 | * @param output output coming from System.err↵ | | 15 | * @param output coming from System.err↵
|
16 | * @since Ant 1.5↵ | | 16 | * @since Ant 1.5.2↵
|
17 | */↵ | | 17 | */↵
|
18 | public void handleErrorOutput(String output) {↵ | | 18 | public void handleErrorFlush(String output) {↵
|
19 | if (runner != null) {↵ | | 19 | if (runner != null) {↵
|
20 | runner.handleErrorOutput(output);↵ | | 20 | runner.handleErrorFlush(output);↵
|
21 | if (showOutput) {↵ | | 21 | if (showOutput) {↵
|
22 | super.handleErrorOutput(output);↵ | | 22 | super.handleErrorFlush(output);↵
|
23 | }↵ | | 23 | }↵
|
24 | } else {↵ | | 24 | } else {↵
|
25 | super.handleErrorOutput(output);↵ | | 25 | super.handleErrorFlush(output);↵
|
26 | }↵ | | 26 | }↵
|
27 | | | 27 |
|