IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
A static helper to Verify that Setup/Teardown 'events' occur, and that they are in the correct order... More...
Classes | |
class | EventMatcher |
A helper class for matching test events. More... | |
class | ExpectedEventsRecorder |
Helper class for recording expected events. More... | |
Static Public Member Functions | |
static void | RegisterEvent (string evnt) |
Registers an event. More... | |
static void | Verify (params string[] expectedEvents) |
Verifies the specified expected events occurred and that they occurred in the specified order. More... | |
static ExpectedEventsRecorder | ExpectEvents (params string[] expectedEvents) |
Record the specified events as recorded expected events. More... | |
static void | Clear () |
Clears any unverified events. More... | |
Static Private Member Functions | |
static | SimpleEventRecorder () |
Initializes the SimpleEventRecorder 'static' class. More... | |
Static Private Attributes | |
static Queue< string > | _events |
A static helper to Verify that Setup/Teardown 'events' occur, and that they are in the correct order...
|
inlinestaticprivate |
Initializes the SimpleEventRecorder 'static' class.
|
inlinestatic |
Registers an event.
evnt | The event to register. |
Referenced by NoNamespaceSetupFixture.DoNamespaceSetUp(), NoNamespaceSetupFixture.DoNamespaceTearDown(), and SomeFixture.Test().
|
inlinestatic |
Verifies the specified expected events occurred and that they occurred in the specified order.
expectedEvents | The expected events. |
References NUnit.Framework.Assert.AreEqual().
|
inlinestatic |
Record the specified events as recorded expected events.
expectedEvents | An array of strings identifying the test events |
|
inlinestatic |
Clears any unverified events.
|
staticprivate |