public static class TestClient.TestContext extends ClientContext
Modifier and Type | Field and Description |
---|---|
static ByteArrayOutputStream |
captureErr |
static ByteArrayOutputStream |
captureOut |
err, out
Constructor and Description |
---|
TestContext() |
Modifier and Type | Method and Description |
---|---|
void |
exit(int exitCode) |
static String |
getErr() |
static String |
getOut() |
static void |
resetOutput() |
static void |
testInit() |
init, init, instance
public static ByteArrayOutputStream captureOut
public static ByteArrayOutputStream captureErr
public static void testInit()
public void exit(int exitCode)
exit
in class ClientContext
public static void resetOutput()
public static String getOut()
public static String getErr()
Copyright © 2021 The Apache Software Foundation. All rights reserved.