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 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Authors: Pavel Boyko <boyko@iitp.ru>
7 */
8
9#include "bug780-test.h"
11#include "tc-regression-test.h"
12
13using namespace ns3;
14using namespace olsr;
15
16/**
17 * \ingroup olsr-test
18 * \ingroup tests
19 *
20 * Various olsr regression tests
21 */
23{
24 public:
26 : TestSuite("routing-olsr-regression", Type::SYSTEM)
27 {
28 SetDataDir(NS_TEST_SOURCEDIR);
29 AddTestCase(new HelloRegressionTest, TestCase::Duration::QUICK);
30 AddTestCase(new TcRegressionTest, TestCase::Duration::QUICK);
31 AddTestCase(new Bug780Test, TestCase::Duration::QUICK);
32 }
33};
34
35static 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:292
void SetDataDir(std::string directory)
Set the data directory where reference trace files can be found.
Definition test.cc:472
A suite of tests to run.
Definition test.h:1267
Type
Type of test.
Definition test.h:1274
static constexpr auto SYSTEM
Definition test.h:1293
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.