A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
src
mesh
test
flame
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: Pavel Boyko <boyko@iitp.ru>
19
*/
20
21
#include "ns3/test.h"
22
#include "
flame-regression.h
"
23
24
using namespace
ns3
;
25
32
class
FlameRegressionSuite
:
public
TestSuite
33
{
34
public
:
35
FlameRegressionSuite
() :
TestSuite
(
"devices-mesh-flame-regression"
, SYSTEM)
36
{
37
// We do not use NS_TEST_SOURCEDIR variable here since mesh/test has
38
// subdirectories
39
SetDataDir (std::string (
"src/mesh/test/flame"
));
40
AddTestCase (
new
FlameRegressionTest
,
TestCase::QUICK
);
41
}
42
}
g_flameRegressionSuite
;
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1342
FlameRegressionSuite
Flame Regression Suite.
Definition:
regression.cc:32
FlameRegressionTest
FLAME protocol regression test of three stations:
Definition:
flame-regression.h:64
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
flame-regression.h
ns3::TestCase::QUICK
Fast test.
Definition:
test.h:1160
g_flameRegressionSuite
FlameRegressionSuite g_flameRegressionSuite
the test suite
FlameRegressionSuite::FlameRegressionSuite
FlameRegressionSuite()
Definition:
regression.cc:35
Generated on Wed Nov 7 2018 10:02:05 for ns-3 by
1.8.14