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 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Authors: Pavel Boyko <boyko@iitp.ru>
7 */
8
9#include "flame-regression.h"
10
11#include "ns3/test.h"
12
13using namespace ns3;
14
15/**
16 * \ingroup flame-test
17 *
18 * \brief Flame Regression Suite
19 */
21{
22 public:
24 : TestSuite("devices-mesh-flame-regression", Type::SYSTEM)
25 {
26 // We do not use NS_TEST_SOURCEDIR variable here since mesh/test has
27 // subdirectories
28 SetDataDir(std::string("src/mesh/test/flame"));
29 AddTestCase(new FlameRegressionTest, TestCase::Duration::QUICK);
30 }
31} g_flameRegressionSuite; ///< the test suite
Flame Regression Suite.
Definition regression.cc:21
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:292
void SetDataDir(std::string directory)
Set the data directory where reference trace files can be found.
Definition test.cc:472
A suite of tests to run.
Definition test.h:1267
Type
Type of test.
Definition test.h:1274
static constexpr auto SYSTEM
Definition test.h:1293
FlameRegressionSuite g_flameRegressionSuite
the test suite
Every class exported by the ns3 library is enclosed in the ns3 namespace.