|
ProteoWizard
|
#include "Std.hpp"#include "IterationListener.hpp"#include "pwiz/utility/misc/unit.hpp"#include <cstring>#include <ctime>Go to the source code of this file.
Classes | |
| class | TestListener |
| class | CancelListener |
| class | BadListener |
Functions | |
| void | nullDeallocate (IterationListener *s) |
| void | test () |
| void | testCancel () |
| void | testRemove () |
| void | testTime () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| void nullDeallocate | ( | IterationListener * | s | ) |
Definition at line 83 of file IterationListenerTest.cpp.
Referenced by test(), testCancel(), testRemove(), and testTime().
| void test | ( | ) |
Definition at line 88 of file IterationListenerTest.cpp.
References pwiz::util::IterationListenerRegistry::addListener(), pwiz::util::IterationListenerRegistry::broadcastUpdateMessage(), TestListener::count(), nullDeallocate(), os_, test3(), test4(), and unit_assert.
| void testCancel | ( | ) |
Definition at line 119 of file IterationListenerTest.cpp.
References pwiz::util::IterationListenerRegistry::addListener(), pwiz::util::IterationListenerRegistry::broadcastUpdateMessage(), TestListener::count(), nullDeallocate(), os_, pwiz::util::IterationListener::Status_Cancel, test3(), test4(), and unit_assert.
Referenced by main().
| void testRemove | ( | ) |
Definition at line 179 of file IterationListenerTest.cpp.
References pwiz::util::IterationListenerRegistry::addListener(), pwiz::util::IterationListenerRegistry::broadcastUpdateMessage(), e(), nullDeallocate(), os_, pwiz::util::IterationListenerRegistry::removeListener(), test3(), test4(), and unit_assert.
Referenced by main().
| void testTime | ( | ) |
Definition at line 219 of file IterationListenerTest.cpp.
References pwiz::util::IterationListenerRegistry::addListener(), pwiz::util::IterationListenerRegistry::addListenerWithTimer(), pwiz::util::IterationListenerRegistry::broadcastUpdateMessage(), nullDeallocate(), and os_.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 248 of file IterationListenerTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testCancel(), testRemove(), and testTime().
| ostream* os_ = 0 |
Definition at line 34 of file IterationListenerTest.cpp.
1.8.1.1