]> git.ipfire.org Git - thirdparty/pdns.git/blob - pdns/testrunner.cc
dnsdist: Add HTTPStatusAction to return a specific HTTP response
[thirdparty/pdns.git] / pdns / testrunner.cc
1 #define BOOST_TEST_DYN_LINK
2
3 #ifdef HAVE_CONFIG_H
4 #include "config.h"
5 #endif
6 #include <boost/test/unit_test.hpp>
7 #include "arguments.hh"
8 #include "auth-packetcache.hh"
9 #include "auth-querycache.hh"
10 #include "statbag.hh"
11 StatBag S;
12 AuthPacketCache PC;
13 AuthQueryCache QC;
14
15 ArgvMap &arg()
16 {
17 static ArgvMap theArg;
18 return theArg;
19 }
20
21
22 bool init_unit_test() {
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 }