Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
testsuite.cpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2016 Quaternion Risk Management Ltd
3 All rights reserved.
4
5 This file is part of ORE, a free-software/open-source library
6 for transparent pricing and risk analysis - http://opensourcerisk.org
7
8 ORE is free software: you can redistribute it and/or modify it
9 under the terms of the Modified BSD License. You should have received a
10 copy of the license along with this program.
11 The license is also available online at <http://opensourcerisk.org>
12
13 This program is distributed on the basis that it will form a useful
14 contribution to risk analytics and model standardisation, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
17*/
18
19/*! \file testsuite.cpp
20 \brief wrapper calling all individual test cases
21 \ingroup
22*/
23
24#include <iomanip>
25#include <iostream>
26
27#include <oret/config.hpp>
28
29// Boost.Test
30#define BOOST_TEST_MODULE "QuantExtTestSuite"
31#ifdef ORE_ENABLE_PARALLEL_UNIT_TEST_RUNNER
32#include <test-suite/paralleltestrunner.hpp>
33#else
34#include <boost/test/included/unit_test.hpp>
35#endif
36
37// Boost
38using namespace boost;
39using boost::unit_test::test_suite;
40using boost::unit_test::framework::master_test_suite;
41
42#include "toplevelfixture.hpp"
43
44#ifdef BOOST_MSVC
45#include <ql/auto_link.hpp>
46#include <qle/auto_link.hpp>
47#define BOOST_LIB_NAME boost_system
48#include <boost/config/auto_link.hpp>
49#define BOOST_LIB_NAME boost_timer
50#include <boost/config/auto_link.hpp>
51#define BOOST_LIB_NAME boost_chrono
52#include <boost/config/auto_link.hpp>
53#endif
54
Fixture that can be used at top level.