|
OpenPetra
Free Administration Software for Non-Profits
|
To be used in connection with Class TNUnitEventHandlerCheck<T> for easy asserting of Events. More...
Static Public Member Functions | |
| static void | Assert< TEventArgs > (TNUnitEventHandlerCheck< TEventArgs >AEventCapturer, Action< TNUnitEventHandlerCheck< TEventArgs > >AEventTest, Action ACodeToRun) |
| Convenient way of writing an Assert that checks whether an Event got raised, or not. More... | |
| static Action< TNUnitEventHandlerCheck< TEventArgs > > | GotRaised< TEventArgs > () |
| Use this Method to check whether the Event in question got raised. More... | |
| static Action< TNUnitEventHandlerCheck< TEventArgs > > | DidNotGetRaised< TEventArgs > () |
| Use this Method to check whether the Event in question did not get raised. More... | |
To be used in connection with Class TNUnitEventHandlerCheck<T> for easy asserting of Events.
|
inlinestatic |
Convenient way of writing an Assert that checks whether an Event got raised, or not.
| AEventCapturer | TNUnitEventHandlerCheck<T> instance. |
| AEventTest | Event test that should be executed. |
| ACodeToRun | Code that is to be executed that should/shouldn't raise the Event. |
| TEventArgs | : | EventArgs |
|
inlinestatic |
Use this Method to check whether the Event in question did not get raised.
| TEventArgs | : | EventArgs |
|
inlinestatic |
Use this Method to check whether the Event in question got raised.
| TEventArgs | : | EventArgs |