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 voiddescribeMismatchSafely(CLICommandInvoker.Result result, org.hamcrest.Description description)voiddescribeTo(org.hamcrest.Description description)static CLICommandInvoker.MatcherfailedWith(long expectedCode)static CLICommandInvoker.MatcherhasNoErrorOutput()static CLICommandInvoker.MatcherhasNoStandardOutput()static CLICommandInvoker.Matchersucceeded()static CLICommandInvoker.MatchersucceededSilently()
-
-
-
Method Detail
-
describeMismatchSafely
protected void describeMismatchSafely(CLICommandInvoker.Result result, org.hamcrest.Description description)
- Overrides:
describeMismatchSafelyin 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)
-
-