A Discrete-Event Network Simulator
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: Kirill Andreev <andreev@iitp.ru>
7 */
8
13#include "pmp-regression.h"
14
15#include "ns3/test.h"
16
17using namespace ns3;
18
19/**
20 * \ingroup dot11s-test
21 *
22 * \brief Dot11s Regression Suite
23 */
25{
26 public:
28 : TestSuite("devices-mesh-dot11s-regression", Type::SYSTEM)
29 {
30 // We do not use NS_TEST_SOURCEDIR variable here since mesh/test has
31 // subdirectories
32 SetDataDir(std::string("src/mesh/test/dot11s"));
33 AddTestCase(new PeerManagementProtocolRegressionTest, TestCase::Duration::QUICK);
34 AddTestCase(new HwmpSimplestRegressionTest, TestCase::Duration::QUICK);
35 AddTestCase(new HwmpReactiveRegressionTest, TestCase::Duration::QUICK);
36 AddTestCase(new HwmpProactiveRegressionTest, TestCase::Duration::QUICK);
37 AddTestCase(new HwmpDoRfRegressionTest, TestCase::Duration::QUICK);
38 }
39} g_dot11sRegressionSuite; ///< the test suite
Dot11s Regression Suite.
Definition regression.cc:25
This is a test for intermediate reply and saving routing information about neighbour.
There are 5 stations set into a row, the center station is root.
test for multihop path establishing and path error procedures Initiate scenario with 6 stations.
Peering Management & HWM Protocol regression test Initiate scenario with 2 stations.
Peering Management Protocol regression test.
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
Dot11sRegressionSuite g_dot11sRegressionSuite
the test suite
Every class exported by the ns3 library is enclosed in the ns3 namespace.