A Discrete-Event Network Simulator
API
regression.cc
Go to the documentation of this file.
1/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2009 IITP RAS
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Authors: Kirill Andreev <andreev@iitp.ru>
19 */
20
21#include "ns3/test.h"
22#include "pmp-regression.h"
27
28using namespace ns3;
29
37{
38public:
39 Dot11sRegressionSuite () : TestSuite ("devices-mesh-dot11s-regression", 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"));
45 AddTestCase (new HwmpSimplestRegressionTest, TestCase::QUICK);
46 AddTestCase (new HwmpReactiveRegressionTest, TestCase::QUICK);
47 AddTestCase (new HwmpProactiveRegressionTest, TestCase::QUICK);
48 AddTestCase (new HwmpDoRfRegressionTest, TestCase::QUICK);
49 }
Dot11s Regression Suite.
Definition: regression.cc:37
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, TestDuration duration=QUICK)
Add an individual child TestCase to this test suite.
Definition: test.cc:299
void SetDataDir(std::string directory)
Set the data directory where reference trace files can be found.
Definition: test.cc:467
A suite of tests to run.
Definition: test.h:1188
@ SYSTEM
This test suite implements a System Test.
Definition: test.h:1198
Dot11sRegressionSuite g_dot11sRegressionSuite
the test suite
Every class exported by the ns3 library is enclosed in the ns3 namespace.