A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
regression-test-suite.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2009 IITP RAS
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 *
17 * Authors: Pavel Boyko <boyko@iitp.ru>
18 */
19
20#include "bug780-test.h"
22#include "tc-regression-test.h"
23
24using namespace ns3;
25using namespace olsr;
26
27/**
28 * \ingroup olsr-test
29 * \ingroup tests
30 *
31 * Various olsr regression tests
32 */
34{
35 public:
37 : TestSuite("routing-olsr-regression", Type::SYSTEM)
38 {
39 SetDataDir(NS_TEST_SOURCEDIR);
40 AddTestCase(new HelloRegressionTest, TestCase::Duration::QUICK);
41 AddTestCase(new TcRegressionTest, TestCase::Duration::QUICK);
42 AddTestCase(new Bug780Test, TestCase::Duration::QUICK);
43 }
44};
45
46static RegressionTestSuite g_olsrRegressionTestSuite; //!< Static variable for test initialization
Various olsr regression tests.
void AddTestCase(TestCase *testCase, Duration duration=Duration::QUICK)
Add an individual child TestCase to this test suite.
Definition: test.cc:301
void SetDataDir(std::string directory)
Set the data directory where reference trace files can be found.
Definition: test.cc:478
A suite of tests to run.
Definition: test.h:1268
Type
Type of test.
Definition: test.h:1275
static constexpr auto SYSTEM
Definition: test.h:1288
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Definition: olsr.py:1
static RegressionTestSuite g_olsrRegressionTestSuite
Static variable for test initialization.