]>
Commit | Line | Data |
---|---|---|
9bacbe09 | 1 | #define BOOST_TEST_DYN_LINK |
9bacbe09 | 2 | |
870a0fe4 AT |
3 | #ifdef HAVE_CONFIG_H |
4 | #include "config.h" | |
5 | #endif | |
c405017b | 6 | #include <boost/test/unit_test.hpp> |
3bfcae79 | 7 | #include "arguments.hh" |
bf269e28 RG |
8 | #include "auth-packetcache.hh" |
9 | #include "auth-querycache.hh" | |
10 | #include "statbag.hh" | |
dc7d490b | 11 | StatBag S; |
bf269e28 RG |
12 | AuthPacketCache PC; |
13 | AuthQueryCache QC; | |
c405017b | 14 | |
3bfcae79 JS |
15 | ArgvMap &arg() |
16 | { | |
17 | static ArgvMap theArg; | |
18 | return theArg; | |
19 | } | |
48215c19 OM |
20 | |
21 | ||
22 | bool init_unit_test() { | |
48215c19 OM |
23 | reportAllTypes(); |
24 | return true; | |
25 | } | |
26 | ||
27 | // entry point: | |
28 | int main(int argc, char* argv[]) | |
29 | { | |
30 | return boost::unit_test::unit_test_main( &init_unit_test, argc, argv ); | |
31 | } |