1/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3/*
4 Copyright (C) 2003, 2004, 2008 StatPro Italia srl
5 Copyright (C) 2008 Charles Chongseok Hyun
6
7 This file is part of QuantLib, a free-software/open-source library
8 for financial quantitative analysts and developers - http://quantlib.org/
9
10 QuantLib is free software: you can redistribute it and/or modify it
11 under the terms of the QuantLib license. You should have received a
12 copy of the license along with this program; if not, please email
13 <quantlib-dev@lists.sf.net>. The license is also available online at
14 <http://quantlib.org/license.shtml>.
15
16 This program is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18 FOR A PARTICULAR PURPOSE. See the license for more details.
19*/
20
21#ifndef quantlib_test_calendars_hpp
22#define quantlib_test_calendars_hpp
23
24#include <boost/test/unit_test.hpp>
25
26/* remember to document new and/or updated tests in the Doxygen
27 comment block of the corresponding class */
28
29class CalendarTest {
30 public:
31 static void testRussia();
32 static void testBrazil();
33 static void testItalyExchange();
34
35 static void testUKSettlement();
36 static void testUKExchange();
37 static void testUKMetals();
38
39 static void testGermanyFrankfurt();
40 static void testGermanyXetra();
41 static void testGermanyEurex();
42
43 static void testTARGET();
44
45 static void testDenmark();
46
47 static void testUSSettlement();
48 static void testUSGovernmentBondMarket();
49 static void testUSNewYorkStockExchange();
50 static void testSOFR();
51
52 static void testSouthKoreanSettlement();
53 static void testKoreaStockExchange();
54
55 static void testChinaSSE();
56 static void testChinaIB();
57
58 static void testModifiedCalendars();
59 static void testJointCalendars();
60 static void testBespokeCalendars();
61
62 static void testEndOfMonth();
63 static void testBusinessDaysBetween();
64
65 static void testIntradayAddHolidays();
66 static void testDayLists();
67
68 static boost::unit_test_framework::test_suite* suite();
69};
70
71
72#endif
73

source code of quantlib/test-suite/calendars.hpp