#include <cassert>#include <algorithm>#include <tut.h>#include <tut_reporter.h>#include "listeners.h"#include "plugin_inc.h"#include "log.h"
Go to the source code of this file.
Data Structures | |
| class | anonymous_namespace{listeners_unittest.cpp}::A |
| class | anonymous_namespace{listeners_unittest.cpp}::B |
| struct | tut::empty |
Namespaces | |
| namespace | anonymous_namespace{listeners_unittest.cpp} |
| namespace | tut |
Typedefs | |
| typedef std::vector< unsigned long > | anonymous_namespace{listeners_unittest.cpp}::id_vector |
| typedef std::vector< unsigned long >::iterator | anonymous_namespace{listeners_unittest.cpp}::id_vector_iter |
| typedef test_group< empty > | tut::tf |
| typedef tf::object | tut::object |
Functions | |
| tf | tut::listeners_group ("listeners test") |
| int | main () |
Variables | |
| test_runner_singleton | tut::runner |
| int main | ( | ) |
Definition at line 155 of file listeners_unittest.cpp.
References tut::runner.
00156 { 00157 tut::reporter reporter; 00158 tut::runner.get().set_callback(&reporter); 00159 00160 try 00161 { 00162 tut::runner.get().run_tests(); 00163 } 00164 catch (const std::exception& ex) 00165 { 00166 cerr << "tut raised ex: " << ex.what() << endl; 00167 return 1; 00168 } 00169 00170 while(1); 00171 return 0; 00172 }
1.6.2-20100208