#include <boost/make_shared.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/test/data/test_case.hpp>
#include <ored/configuration/curveconfigurations.hpp>
#include <ored/marketdata/csvloader.hpp>
#include <ored/marketdata/loader.hpp>
#include <ored/marketdata/marketimpl.hpp>
#include <ored/marketdata/todaysmarket.hpp>
#include <ored/portfolio/builders/creditdefaultswap.hpp>
#include <ored/portfolio/creditdefaultswap.hpp>
#include <ored/portfolio/enginedata.hpp>
#include <ored/portfolio/envelope.hpp>
#include <ored/portfolio/legdata.hpp>
#include <ored/portfolio/portfolio.hpp>
#include <ored/portfolio/schedule.hpp>
#include <ored/utilities/indexparser.hpp>
#include <oret/datapaths.hpp>
#include <oret/toplevelfixture.hpp>
#include <ql/termstructures/credit/flathazardrate.hpp>
#include <ql/termstructures/volatility/swaption/swaptionconstantvol.hpp>
#include <ql/termstructures/yield/flatforward.hpp>
#include <ql/time/calendars/target.hpp>
#include <ql/time/daycounters/actualactual.hpp>
#include <ql/time/daycounters/simpledaycounter.hpp>
Go to the source code of this file.
Functions | |
BOOST_DATA_TEST_CASE (testCreditDefaultSwap, bdata::make(marketInputs) ^ bdata::make(tradeInputs) ^ bdata::make(expNpvs), mkt, trd, exp) | |
BOOST_DATA_TEST_CASE_F (TopLevelFixture, testCreditDefaultSwapBuilding, bdata::make(trades), trade) | |
ostream & | operator<< (ostream &os, const UpfrontFiles &upfrontFiles) |
BOOST_DATA_TEST_CASE (testUpfrontDefaultCurveConsistency, bdata::make(upfrontFiles), files) | |
BOOST_AUTO_TEST_CASE (testUpfrontCurveBuildFailsIfNoRunningSpread) | |
BOOST_AUTO_TEST_CASE (testSimultaneousUsageCdsQuoteTypes) | |
Variables | |
UpfrontFiles | upfrontFiles [] = {{"market.txt", "curveconfig.xml"}, {"market_rs.txt", "curveconfig_rs.xml"}} |
BOOST_DATA_TEST_CASE | ( | testCreditDefaultSwap | , |
bdata::make(marketInputs) ^ bdata::make(tradeInputs) ^ bdata::make(expNpvs) | , | ||
mkt | , | ||
trd | , | ||
exp | |||
) |
BOOST_DATA_TEST_CASE_F | ( | TopLevelFixture | , |
testCreditDefaultSwapBuilding | , | ||
bdata::make(trades) | , | ||
trade | |||
) |
Definition at line 237 of file cds.cpp.
ostream & operator<< | ( | ostream & | os, |
const UpfrontFiles & | upfrontFiles | ||
) |
BOOST_DATA_TEST_CASE | ( | testUpfrontDefaultCurveConsistency | , |
bdata::make(upfrontFiles) | , | ||
files | |||
) |
Definition at line 280 of file cds.cpp.
BOOST_AUTO_TEST_CASE | ( | testUpfrontCurveBuildFailsIfNoRunningSpread | ) |
Definition at line 312 of file cds.cpp.
BOOST_AUTO_TEST_CASE | ( | testSimultaneousUsageCdsQuoteTypes | ) |
Definition at line 324 of file cds.cpp.