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.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 "
flame-regression.h
"
10
11
#include "ns3/test.h"
12
13
using namespace
ns3
;
14
15
/**
16
* \ingroup flame-test
17
*
18
* \brief Flame Regression Suite
19
*/
20
class
FlameRegressionSuite
:
public
TestSuite
21
{
22
public
:
23
FlameRegressionSuite
()
24
:
TestSuite
(
"devices-mesh-flame-regression"
,
Type
::
SYSTEM
)
25
{
26
// We do not use NS_TEST_SOURCEDIR variable here since mesh/test has
27
// subdirectories
28
SetDataDir
(std::string(
"src/mesh/test/flame"
));
29
AddTestCase
(
new
FlameRegressionTest
, TestCase::Duration::QUICK);
30
}
31
}
g_flameRegressionSuite
;
///< the test suite
FlameRegressionSuite
Flame Regression Suite.
Definition
regression.cc:21
FlameRegressionSuite::FlameRegressionSuite
FlameRegressionSuite()
Definition
regression.cc:23
FlameRegressionTest
FLAME protocol regression test of three stations:
Definition
flame-regression.h:53
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
flame-regression.h
g_flameRegressionSuite
FlameRegressionSuite g_flameRegressionSuite
the test suite
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
mesh
test
flame
regression.cc
Generated on Fri Nov 8 2024 13:59:04 for ns-3 by
1.11.0