public class CommandOutputValidator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandOutputValidator.CommandOutputValidatorResult |
static class |
CommandOutputValidator.StringPattern |
static class |
CommandOutputValidator.StringValidator |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT |
static int |
EXPECT_ERRORSTRING_INOUTPUT |
static int |
EXPECT_EXCEPTIONSTRING_INOUTPUT |
static int |
EXPECT_NULLTRING_INOUTPUT |
| Constructor and Description |
|---|
CommandOutputValidator(TestableGfsh shell,
Object[] output) |
CommandOutputValidator(TestableGfsh shell,
Object[] output,
int errorStrings) |
| Modifier and Type | Method and Description |
|---|---|
CommandOutputValidator |
addExpectedString(String str) |
CommandOutputValidator |
addUnExpectedErrorString(String str) |
static void |
main(String[] args) |
CommandOutputValidator.CommandOutputValidatorResult |
validate() |
public static int EXPECT_ERRORSTRING_INOUTPUT
public static int EXPECT_EXCEPTIONSTRING_INOUTPUT
public static int EXPECT_NULLTRING_INOUTPUT
public static int DEFAULT
public CommandOutputValidator(TestableGfsh shell, Object[] output)
public CommandOutputValidator(TestableGfsh shell, Object[] output, int errorStrings)
public CommandOutputValidator addUnExpectedErrorString(String str)
public CommandOutputValidator addExpectedString(String str)
public CommandOutputValidator.CommandOutputValidatorResult validate()
public static void main(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.