A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
regression-test-suite.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 "
hello-regression-test.h
"
22
#include "
tc-regression-test.h
"
23
#include "
bug780-test.h
"
24
25
using namespace
ns3
;
26
using namespace
olsr
;
27
34
class
RegressionTestSuite
:
public
TestSuite
35
{
36
public
:
37
RegressionTestSuite
() :
TestSuite
(
"routing-olsr-regression"
, SYSTEM)
38
{
39
SetDataDir (NS_TEST_SOURCEDIR);
40
AddTestCase (
new
HelloRegressionTest,
TestCase::QUICK
);
41
AddTestCase (
new
TcRegressionTest,
TestCase::QUICK
);
42
AddTestCase (
new
Bug780Test,
TestCase::QUICK
);
43
}
44
};
45
46
static
RegressionTestSuite
g_olsrRegressionTestSuite
;
47
bug780-test.h
RegressionTestSuite
Various olsr regression tests.
Definition:
regression-test-suite.cc:35
RegressionTestSuite::RegressionTestSuite
RegressionTestSuite()
Definition:
regression-test-suite.cc:37
ns3::TestCase::QUICK
@ QUICK
Fast test.
Definition:
test.h:999
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1188
hello-regression-test.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
olsr
Definition:
olsr.py:1
g_olsrRegressionTestSuite
static RegressionTestSuite g_olsrRegressionTestSuite
Static variable for test initialization.
Definition:
regression-test-suite.cc:46
tc-regression-test.h
src
olsr
test
regression-test-suite.cc
Generated on Tue Feb 6 2024 19:21:26 for ns-3 by
1.9.1