A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
test.cc File Reference

ns3::TestCase, ns3::TestSuite, ns3::TestRunner implementations, More...

#include "test.h"
#include "abort.h"
#include "assert.h"
#include "config.h"
#include "des-metrics.h"
#include "log.h"
#include "rng-seed-manager.h"
#include "singleton.h"
#include "system-path.h"
#include <cmath>
#include <cstring>
#include <list>
#include <map>
#include <vector>
+ Include dependency graph for test.cc:

Go to the source code of this file.

Classes

struct  ns3::Indent
 Helper to indent output a specified number of steps. More...
 
struct  ns3::TestCase::Result
 Container for results from a TestCase. More...
 
struct  ns3::TestCaseFailure
 Container for details of a test failure. More...
 
class  ns3::TestRunnerImpl
 Container for all tests. More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

std::ostream & ns3::operator<< (std::ostream &os, const Indent &val)
 Output streamer for Indent.
 
std::ostream & ns3::operator<< (std::ostream &os, const TestCaseFailure &failure)
 Output streamer for TestCaseFailure.
 
std::ostream & ns3::operator<< (std::ostream &os, TestCase::Duration duration)
 Stream insertion operator.
 
std::ostream & ns3::operator<< (std::ostream &os, TestSuite::Type type)
 Stream insertion operator.
 
bool ns3::TestDoubleIsEqual (const double a, const double b, const double epsilon=std::numeric_limits< double >::epsilon())
 Compare two double precision floating point numbers and declare them equal if they are within some epsilon of each other.
 

Detailed Description

ns3::TestCase, ns3::TestSuite, ns3::TestRunner implementations,

Definition in file test.cc.