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: Pavel Boyko <boyko@iitp.ru>
18 */
19
20#include "flame-regression.h"
21
22#include "ns3/test.h"
23
24using namespace ns3;
25
32{
33 public:
35 : TestSuite("devices-mesh-flame-regression", Type::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::Duration::QUICK);
41 }
Flame Regression Suite.
Definition: regression.cc:32
FLAME protocol regression test of three stations:
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
FlameRegressionSuite g_flameRegressionSuite
the test suite
Every class exported by the ns3 library is enclosed in the ns3 namespace.