1 # pragma once
2 
3 # include "astroid.hh"
4 # include "proto.hh"
5 # include <boost/log/core.hpp>
6 
7 namespace logging = boost::log;
8 
9 using Astroid::astroid;
10 using Astroid::ustring;
11 
12 // for logging
13 # define test trace
14 
setup()15 void setup () {
16   astroid = Astroid::Astroid::create ();
17   astroid->main_test ();
18 }
19 
teardown()20 void teardown () {
21   Astroid::astroid.clear ();
22   logging::core::get()->remove_all_sinks ();
23 }
24 
25