Package hudson.cli
Class CLICommandInvoker.Matcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<CLICommandInvoker.Result>
-
- hudson.cli.CLICommandInvoker.Matcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<CLICommandInvoker.Result>
,org.hamcrest.SelfDescribing
- Enclosing class:
- CLICommandInvoker
public abstract static class CLICommandInvoker.Matcher extends org.hamcrest.TypeSafeMatcher<CLICommandInvoker.Result>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
describeMismatchSafely(CLICommandInvoker.Result result, org.hamcrest.Description description)
void
describeTo(org.hamcrest.Description description)
static CLICommandInvoker.Matcher
failedWith(long expectedCode)
static CLICommandInvoker.Matcher
hasNoErrorOutput()
static CLICommandInvoker.Matcher
hasNoStandardOutput()
static CLICommandInvoker.Matcher
succeeded()
static CLICommandInvoker.Matcher
succeededSilently()
-
-
-
Method Detail
-
describeMismatchSafely
protected void describeMismatchSafely(CLICommandInvoker.Result result, org.hamcrest.Description description)
- Overrides:
describeMismatchSafely
in classorg.hamcrest.TypeSafeMatcher<CLICommandInvoker.Result>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
hasNoStandardOutput
public static CLICommandInvoker.Matcher hasNoStandardOutput()
-
hasNoErrorOutput
public static CLICommandInvoker.Matcher hasNoErrorOutput()
-
succeeded
public static CLICommandInvoker.Matcher succeeded()
-
succeededSilently
public static CLICommandInvoker.Matcher succeededSilently()
-
failedWith
public static CLICommandInvoker.Matcher failedWith(long expectedCode)
-
-