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 * 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: Kirill Andreev <andreev@iitp.ru>
18 */
19
24#include "pmp-regression.h"
25
26#include "ns3/test.h"
27
28using namespace ns3;
29
30/**
31 * \ingroup dot11s-test
32 *
33 * \brief Dot11s Regression Suite
34 */
36{
37 public:
39 : TestSuite("devices-mesh-dot11s-regression", Type::SYSTEM)
40 {
41 // We do not use NS_TEST_SOURCEDIR variable here since mesh/test has
42 // subdirectories
43 SetDataDir(std::string("src/mesh/test/dot11s"));
44 AddTestCase(new PeerManagementProtocolRegressionTest, TestCase::Duration::QUICK);
45 AddTestCase(new HwmpSimplestRegressionTest, TestCase::Duration::QUICK);
46 AddTestCase(new HwmpReactiveRegressionTest, TestCase::Duration::QUICK);
47 AddTestCase(new HwmpProactiveRegressionTest, TestCase::Duration::QUICK);
48 AddTestCase(new HwmpDoRfRegressionTest, TestCase::Duration::QUICK);
49 }
50} g_dot11sRegressionSuite; ///< the test suite
Dot11s Regression Suite.
Definition: regression.cc:36
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: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
Dot11sRegressionSuite g_dot11sRegressionSuite
the test suite
Every class exported by the ns3 library is enclosed in the ns3 namespace.