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

Simulator class test suite. More...

#include "ns3/calendar-scheduler.h"
#include "ns3/heap-scheduler.h"
#include "ns3/list-scheduler.h"
#include "ns3/map-scheduler.h"
#include "ns3/priority-queue-scheduler.h"
#include "ns3/simulator.h"
#include "ns3/test.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 ()
 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 314 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 319 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 324 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 329 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 334 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 339 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 344 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 349 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 354 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 359 of file simulator-test-suite.cc.

Referenced by SimulatorTemplateTestCase::DoRun().

+ Here is the caller graph for this function:

◆ foo0()

static void foo0 ( )
static

Function used for scheduling.

Definition at line 284 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 289 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 294 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 299 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 304 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 309 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 736 of file simulator-test-suite.cc.