org.omnaest.utils.assertion
Interface AssertLogger.DirectAssertSuccessFailureChoice

All Known Subinterfaces:
AssertLogger.DirectAssertHandler, AssertLogger.DirectAssertWithExpression
Enclosing class:
AssertLogger

public static interface AssertLogger.DirectAssertSuccessFailureChoice

Choice between onSuccess() or onFailure(). Every following action like logging will only be executed if the chosen case comes in

Author:
Omnaest

Method Summary
 AssertLogger.DirectAssertHandler onFailure()
          Returns the AssertLogger.DirectAssertHandler which allows to handle the failureHandling result of the previous assertions
 AssertLogger.DirectAssertHandler onSuccess()
          Returns the AssertLogger.DirectAssertHandler which allows to handle the succes result of the previous assertions
 

Method Detail

onFailure

AssertLogger.DirectAssertHandler onFailure()
Returns the AssertLogger.DirectAssertHandler which allows to handle the failureHandling result of the previous assertions

Returns:

onSuccess

AssertLogger.DirectAssertHandler onSuccess()
Returns the AssertLogger.DirectAssertHandler which allows to handle the succes result of the previous assertions

Returns:


Copyright © 2013. All Rights Reserved.