A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
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
"
10
#include "
hello-regression-test.h
"
11
#include "
tc-regression-test.h
"
12
13
using namespace
ns3
;
14
using namespace
olsr
;
15
16
/**
17
* \ingroup olsr-test
18
* \ingroup tests
19
*
20
* Various olsr regression tests
21
*/
22
class
RegressionTestSuite
:
public
TestSuite
23
{
24
public
:
25
RegressionTestSuite
()
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
35
static
RegressionTestSuite
g_olsrRegressionTestSuite
;
//!< Static variable for test initialization
bug780-test.h
RegressionTestSuite
Various olsr regression tests.
Definition
regression-test-suite.cc:23
RegressionTestSuite::RegressionTestSuite
RegressionTestSuite()
Definition
regression-test-suite.cc:25
ns3::TestCase::AddTestCase
void AddTestCase(TestCase *testCase, Duration duration=Duration::QUICK)
Add an individual child TestCase to this test suite.
Definition
test.cc:292
ns3::TestCase::SetDataDir
void SetDataDir(std::string directory)
Set the data directory where reference trace files can be found.
Definition
test.cc:472
ns3::TestSuite
A suite of tests to run.
Definition
test.h:1267
ns3::TestSuite::Type
Type
Type of test.
Definition
test.h:1274
ns3::TestSuite::SYSTEM
static constexpr auto SYSTEM
Definition
test.h:1293
hello-regression-test.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
olsr
Definition
olsr.py:1
g_olsrRegressionTestSuite
static RegressionTestSuite g_olsrRegressionTestSuite
Static variable for test initialization.
Definition
regression-test-suite.cc:35
tc-regression-test.h
src
olsr
test
regression-test-suite.cc
Generated on Fri Nov 8 2024 13:59:05 for ns-3 by
1.11.0