IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Helper class for recording expected events. More...
Public Member Functions | |
ExpectedEventsRecorder (Queue< string > actualEvents, params string[] expectedEvents) | |
ExpectedEventsRecorder | AndThen (params string[] expectedEvents) |
Adds the specified events as expected events. More... | |
void | Verify () |
Verifies the recorded expected events with the actual recorded events. More... | |
Private Attributes | |
readonly Queue< string > | _actualEvents |
readonly Queue< EventMatcher > | _eventMatchers |
Helper class for recording expected events.
|
inline |
|
inline |
Adds the specified events as expected events.
expectedEvents | An array of strings identifying the test events |
|
inline |
Verifies the recorded expected events with the actual recorded events.
References NUnit.Framework.Assert.Fail().
|
private |
|
private |