hudson.cli
Class CLICommandInvoker.Matcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<CLICommandInvoker.Result>
          extended by 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
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()
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matches, matchesSafely
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

describeMismatchSafely

protected void describeMismatchSafely(CLICommandInvoker.Result result,
                                      org.hamcrest.Description description)
Overrides:
describeMismatchSafely in class org.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)


Copyright © 2004-2014. All Rights Reserved.