A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
regression.cc
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"
23 #include "hwmp-reactive-regression.h"
24 #include "hwmp-proactive-regression.h"
25 #include "hwmp-simplest-regression.h"
26 #include "hwmp-target-flags-regression.h"
27 
28 using namespace ns3;
30 {
31 public:
32  Dot11sRegressionSuite () : TestSuite ("devices-mesh-dot11s-regression", SYSTEM)
33  {
34  // We do not use NS_TEST_SOURCEDIR variable here since mesh/test has
35  // subdirectories
36  SetDataDir (std::string ("src/mesh/test/dot11s"));
37  AddTestCase (new PeerManagementProtocolRegressionTest, TestCase::QUICK);
38  AddTestCase (new HwmpSimplestRegressionTest, TestCase::QUICK);
39  AddTestCase (new HwmpReactiveRegressionTest, TestCase::QUICK);
40  AddTestCase (new HwmpProactiveRegressionTest, TestCase::QUICK);
41  AddTestCase (new HwmpDoRfRegressionTest, TestCase::QUICK);
42  }
43 } g_dot11sRegressionSuite;
A suite of tests to run.
Definition: test.h:962
Peering Management Protocol regression test.
Peering Management & HWM Protocol regression test Initiate scenario with 2 stations. Procedure of opening peer link is the following:
This is a test for intermediate reply and saving routing information about neighbour. 4 stations and 3 UDP ping streams are initiated.
There are 5 stations set into a column, the center station is root. Regression test indicates...
test for multihop path establishing and path error procedures Initiate scenario with 6 stations...