A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
namespace
ns3 {
26
namespace
olsr {
27
28
class
RegressionTestSuite
:
public
TestSuite
29
{
30
public
:
31
RegressionTestSuite
() :
TestSuite
(
"routing-olsr-regression"
,
SYSTEM
)
32
{
33
SetDataDir
(NS_TEST_SOURCEDIR);
34
AddTestCase
(
new
HelloRegressionTest
,
TestCase::QUICK
);
35
AddTestCase
(
new
TcRegressionTest
,
TestCase::QUICK
);
36
AddTestCase
(
new
Bug780Test
,
TestCase::QUICK
);
37
}
38
}
g_olsrRegressionTestSuite
;
39
40
}
41
}
ns3::TestSuite::SYSTEM
This test suite implements a System Test.
Definition:
test.h:1036
ns3::olsr::Bug780Test
See Bug 780
Definition:
bug780-test.h:31
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1025
ns3::olsr::HelloRegressionTest
Trivial (still useful) test of OLSR operation.
Definition:
hello-regression-test.h:50
hello-regression-test.h
ns3::olsr::RegressionTestSuite::RegressionTestSuite
RegressionTestSuite()
Definition:
regression-test-suite.cc:31
ns3::olsr::g_olsrRegressionTestSuite
ns3::olsr::RegressionTestSuite g_olsrRegressionTestSuite
tc-regression-test.h
ns3::TestCase::AddTestCase
void AddTestCase(TestCase *testCase) NS_DEPRECATED
Add an individual child TestCase case to this TestCase.
Definition:
test.cc:173
ns3::TestCase::QUICK
Fast test.
Definition:
test.h:857
ns3::olsr::RegressionTestSuite
Definition:
regression-test-suite.cc:28
ns3::TestCase::SetDataDir
void SetDataDir(std::string directory)
Definition:
test.cc:337
bug780-test.h
ns3::olsr::TcRegressionTest
Less trivial test of OLSR Topology Control message generation.
Definition:
tc-regression-test.h:75
src
olsr
test
regression-test-suite.cc
Generated on Sat Apr 19 2014 14:07:07 for ns-3 by
1.8.6