A Discrete-Event Network Simulator
API
simulator-test-suite.cc File Reference

Simulator class test suite. More...

#include "ns3/test.h"
#include "ns3/simulator.h"
#include "ns3/list-scheduler.h"
#include "ns3/heap-scheduler.h"
#include "ns3/map-scheduler.h"
#include "ns3/calendar-scheduler.h"
#include "ns3/priority-queue-scheduler.h"
+ Include dependency graph for simulator-test-suite.cc:

Go to the source code of this file.

Classes

class  SimulatorEventsTestCase
 Check that basic event handling is working with different Simulator implementations. More...
 
class  SimulatorTemplateTestCase
 Check that all templates are instantiated correctly. More...
 
class  SimulatorTestSuite
 The simulator Test Suite. More...
 

Functions

static void ber1 (int &)
 Function used for scheduling. More...
 
static void ber2 (int &, int &)
 Function used for scheduling. More...
 
static void ber3 (int &, int &, int &)
 Function used for scheduling. More...
 
static void ber4 (int &, int &, int &, int &)
 Function used for scheduling. More...
 
static void ber5 (int &, int &, int &, int &, int &)
 Function used for scheduling. More...
 
static void cber1 (const int &)
 Function used for scheduling. More...
 
static void cber2 (const int &, const int &)
 Function used for scheduling. More...
 
static void cber3 (const int &, const int &, const int &)
 Function used for scheduling. More...
 
static void cber4 (const int &, const int &, const int &, const int &)
 Function used for scheduling. More...
 
static void cber5 (const int &, const int &, const int &, const int &, const int &)
 Function used for scheduling. More...
 
static void foo0 (void)
 Function used for scheduling. More...
 
static void foo1 (int)
 Function used for scheduling. More...
 
static void foo2 (int, int)
 Function used for scheduling. More...
 
static void foo3 (int, int, int)
 Function used for scheduling. More...
 
static void foo4 (int, int, int, int)
 Function used for scheduling. More...
 
static void foo5 (int, int, int, int, int)
 Function used for scheduling. More...
 

Variables

static SimulatorTestSuite g_simulatorTestSuite
 Static variable for test initialization. More...
 

Detailed Description

Simulator class test suite.

Definition in file simulator-test-suite.cc.

Function Documentation

◆ ber1()

static void ber1 ( int &  )
static

Function used for scheduling.

Definition at line 300 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ ber2()

static void ber2 ( int &  ,
int &   
)
static

Function used for scheduling.

Definition at line 302 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ ber3()

static void ber3 ( int &  ,
int &  ,
int &   
)
static

Function used for scheduling.

Definition at line 304 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ ber4()

static void ber4 ( int &  ,
int &  ,
int &  ,
int &   
)
static

Function used for scheduling.

Definition at line 306 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ ber5()

static void ber5 ( int &  ,
int &  ,
int &  ,
int &  ,
int &   
)
static

Function used for scheduling.

Definition at line 308 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ cber1()

static void cber1 ( const int &  )
static

Function used for scheduling.

Definition at line 310 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ cber2()

static void cber2 ( const int &  ,
const int &   
)
static

Function used for scheduling.

Definition at line 312 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ cber3()

static void cber3 ( const int &  ,
const int &  ,
const int &   
)
static

Function used for scheduling.

Definition at line 314 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ cber4()

static void cber4 ( const int &  ,
const int &  ,
const int &  ,
const int &   
)
static

Function used for scheduling.

Definition at line 316 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ cber5()

static void cber5 ( const int &  ,
const int &  ,
const int &  ,
const int &  ,
const int &   
)
static

Function used for scheduling.

Definition at line 318 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ foo0()

static void foo0 ( void  )
static

Function used for scheduling.

Definition at line 288 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ foo1()

static void foo1 ( int  )
static

Function used for scheduling.

Definition at line 290 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ foo2()

static void foo2 ( int  ,
int   
)
static

Function used for scheduling.

Definition at line 292 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ foo3()

static void foo3 ( int  ,
int  ,
int   
)
static

Function used for scheduling.

Definition at line 294 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ foo4()

static void foo4 ( int  ,
int  ,
int  ,
int   
)
static

Function used for scheduling.

Definition at line 296 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ foo5()

static void foo5 ( int  ,
int  ,
int  ,
int  ,
int   
)
static

Function used for scheduling.

Definition at line 298 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

Variable Documentation

◆ g_simulatorTestSuite

SimulatorTestSuite g_simulatorTestSuite
static

Static variable for test initialization.

Definition at line 560 of file simulator-test-suite.cc.