A Discrete-Event Network Simulator
API
callback-test-suite.cc File Reference
#include "ns3/test.h"
#include "ns3/callback.h"
#include "ns3/unused.h"
#include <stdint.h>
+ Include dependency graph for callback-test-suite.cc:

Go to the source code of this file.

Classes

class  BasicCallbackTestCase
 
class  CallbackTestClass
 
class  CallbackTestParent
 
class  CallbackTestSuite
 
class  MakeBoundCallbackTestCase
 
class  MakeCallbackTemplatesTestCase
 
class  MakeCallbackTestCase
 
class  NullifyCallbackTestCase
 

Functions

void BasicCallbackTarget5 (void)
 
void BasicCallbackTarget6 (int)
 
int BasicCallbackTarget7 (int a)
 
void MakeBoundCallbackTarget1 (int a)
 
void MakeBoundCallbackTarget2 (bool *a)
 
int MakeBoundCallbackTarget3 (bool *a, int b)
 
void MakeBoundCallbackTarget4 (int a, int b)
 
int MakeBoundCallbackTarget5 (int a, int b)
 
int MakeBoundCallbackTarget6 (int a, int b, int c)
 
void MakeBoundCallbackTarget7 (int a, int b, int c)
 
int MakeBoundCallbackTarget8 (int a, int b, int c)
 
int MakeBoundCallbackTarget9 (int a, int b, int c, int d)
 
void MakeCallbackTarget5 (void)
 
void MakeCallbackTarget6 (int)
 
int MakeCallbackTarget7 (int a)
 
void TestFFive (int, int, int, int, int)
 
void TestFFour (int, int, int, int)
 
void TestFOne (int)
 
void TestFRFive (int &, int &, int &, int &, int &)
 
void TestFRFour (int &, int &, int &, int &)
 
void TestFROne (int &)
 
void TestFRSix (int &, int &, int &, int &, int &, int &)
 
void TestFRThree (int &, int &, int &)
 
void TestFRTwo (int &, int &)
 
void TestFSix (int, int, int, int, int, int)
 
void TestFThree (int, int, int)
 
void TestFTwo (int, int)
 
void TestFZero (void)
 

Variables

static CallbackTestSuite CallbackTestSuite
 
static bool gBasicCallbackTest5
 
static bool gBasicCallbackTest6
 
static bool gBasicCallbackTest7
 
static int gMakeBoundCallbackTest1
 
static bool * gMakeBoundCallbackTest2
 
static bool * gMakeBoundCallbackTest3a
 
static int gMakeBoundCallbackTest3b
 
static int gMakeBoundCallbackTest4a
 
static int gMakeBoundCallbackTest4b
 
static int gMakeBoundCallbackTest5a
 
static int gMakeBoundCallbackTest5b
 
static int gMakeBoundCallbackTest5c
 
static int gMakeBoundCallbackTest6a
 
static int gMakeBoundCallbackTest6b
 
static int gMakeBoundCallbackTest6c
 
static int gMakeBoundCallbackTest7a
 
static int gMakeBoundCallbackTest7b
 
static int gMakeBoundCallbackTest7c
 
static int gMakeBoundCallbackTest8a
 
static int gMakeBoundCallbackTest8b
 
static int gMakeBoundCallbackTest8c
 
static int gMakeBoundCallbackTest9a
 
static int gMakeBoundCallbackTest9b
 
static int gMakeBoundCallbackTest9c
 
static int gMakeBoundCallbackTest9d
 
static bool gMakeCallbackTest5
 
static bool gMakeCallbackTest6
 
static bool gMakeCallbackTest7
 

Function Documentation

◆ BasicCallbackTarget5()

void BasicCallbackTarget5 ( void  )

Definition at line 73 of file callback-test-suite.cc.

References gBasicCallbackTest5.

Referenced by BasicCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ BasicCallbackTarget6()

void BasicCallbackTarget6 ( int  )

Definition at line 79 of file callback-test-suite.cc.

References gBasicCallbackTest6.

Referenced by BasicCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ BasicCallbackTarget7()

int BasicCallbackTarget7 ( int  a)

Definition at line 85 of file callback-test-suite.cc.

References gBasicCallbackTest7.

Referenced by BasicCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget1()

void MakeBoundCallbackTarget1 ( int  a)

Definition at line 359 of file callback-test-suite.cc.

References gMakeBoundCallbackTest1.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget2()

void MakeBoundCallbackTarget2 ( bool *  a)

Definition at line 365 of file callback-test-suite.cc.

References gMakeBoundCallbackTest2.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget3()

int MakeBoundCallbackTarget3 ( bool *  a,
int  b 
)

Definition at line 371 of file callback-test-suite.cc.

References gMakeBoundCallbackTest3a, and gMakeBoundCallbackTest3b.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget4()

void MakeBoundCallbackTarget4 ( int  a,
int  b 
)

Definition at line 379 of file callback-test-suite.cc.

References gMakeBoundCallbackTest4a, and gMakeBoundCallbackTest4b.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget5()

int MakeBoundCallbackTarget5 ( int  a,
int  b 
)

Definition at line 386 of file callback-test-suite.cc.

References gMakeBoundCallbackTest5a, and gMakeBoundCallbackTest5b.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget6()

int MakeBoundCallbackTarget6 ( int  a,
int  b,
int  c 
)

Definition at line 394 of file callback-test-suite.cc.

References gMakeBoundCallbackTest6a, gMakeBoundCallbackTest6b, and gMakeBoundCallbackTest6c.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget7()

void MakeBoundCallbackTarget7 ( int  a,
int  b,
int  c 
)

Definition at line 403 of file callback-test-suite.cc.

References gMakeBoundCallbackTest7a, gMakeBoundCallbackTest7b, and gMakeBoundCallbackTest7c.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget8()

int MakeBoundCallbackTarget8 ( int  a,
int  b,
int  c 
)

Definition at line 411 of file callback-test-suite.cc.

References gMakeBoundCallbackTest8a, gMakeBoundCallbackTest8b, and gMakeBoundCallbackTest8c.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeBoundCallbackTarget9()

int MakeBoundCallbackTarget9 ( int  a,
int  b,
int  c,
int  d 
)

Definition at line 420 of file callback-test-suite.cc.

References gMakeBoundCallbackTest9a, gMakeBoundCallbackTest9b, gMakeBoundCallbackTest9c, and gMakeBoundCallbackTest9d.

Referenced by MakeBoundCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeCallbackTarget5()

void MakeCallbackTarget5 ( void  )

Definition at line 220 of file callback-test-suite.cc.

References gMakeCallbackTest5.

Referenced by MakeCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeCallbackTarget6()

void MakeCallbackTarget6 ( int  )

Definition at line 226 of file callback-test-suite.cc.

References gMakeCallbackTest6.

Referenced by MakeCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ MakeCallbackTarget7()

int MakeCallbackTarget7 ( int  a)

Definition at line 232 of file callback-test-suite.cc.

References gMakeCallbackTest7.

Referenced by MakeCallbackTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFFive()

void TestFFive ( int  ,
int  ,
int  ,
int  ,
int   
)

Definition at line 626 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFFour()

void TestFFour ( int  ,
int  ,
int  ,
int   
)

Definition at line 625 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFOne()

void TestFOne ( int  )

Definition at line 622 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFRFive()

void TestFRFive ( int &  ,
int &  ,
int &  ,
int &  ,
int &   
)

Definition at line 633 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFRFour()

void TestFRFour ( int &  ,
int &  ,
int &  ,
int &   
)

Definition at line 632 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFROne()

void TestFROne ( int &  )

Definition at line 629 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFRSix()

void TestFRSix ( int &  ,
int &  ,
int &  ,
int &  ,
int &  ,
int &   
)

Definition at line 634 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFRThree()

void TestFRThree ( int &  ,
int &  ,
int &   
)

Definition at line 631 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFRTwo()

void TestFRTwo ( int &  ,
int &   
)

Definition at line 630 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFSix()

void TestFSix ( int  ,
int  ,
int  ,
int  ,
int  ,
int   
)

Definition at line 627 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFThree()

void TestFThree ( int  ,
int  ,
int   
)

Definition at line 624 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFTwo()

void TestFTwo ( int  ,
int   
)

Definition at line 623 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFZero()

void TestFZero ( void  )

Definition at line 621 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

Variable Documentation

◆ CallbackTestSuite

Definition at line 761 of file callback-test-suite.cc.

◆ gBasicCallbackTest5

bool gBasicCallbackTest5
static

◆ gBasicCallbackTest6

bool gBasicCallbackTest6
static

◆ gBasicCallbackTest7

bool gBasicCallbackTest7
static

◆ gMakeBoundCallbackTest1

int gMakeBoundCallbackTest1
static

◆ gMakeBoundCallbackTest2

bool* gMakeBoundCallbackTest2
static

◆ gMakeBoundCallbackTest3a

bool* gMakeBoundCallbackTest3a
static

◆ gMakeBoundCallbackTest3b

int gMakeBoundCallbackTest3b
static

◆ gMakeBoundCallbackTest4a

int gMakeBoundCallbackTest4a
static

◆ gMakeBoundCallbackTest4b

int gMakeBoundCallbackTest4b
static

◆ gMakeBoundCallbackTest5a

int gMakeBoundCallbackTest5a
static

◆ gMakeBoundCallbackTest5b

int gMakeBoundCallbackTest5b
static

◆ gMakeBoundCallbackTest5c

int gMakeBoundCallbackTest5c
static

Definition at line 343 of file callback-test-suite.cc.

Referenced by MakeBoundCallbackTestCase::DoSetup().

◆ gMakeBoundCallbackTest6a

int gMakeBoundCallbackTest6a
static

◆ gMakeBoundCallbackTest6b

int gMakeBoundCallbackTest6b
static

◆ gMakeBoundCallbackTest6c

int gMakeBoundCallbackTest6c
static

◆ gMakeBoundCallbackTest7a

int gMakeBoundCallbackTest7a
static

◆ gMakeBoundCallbackTest7b

int gMakeBoundCallbackTest7b
static

◆ gMakeBoundCallbackTest7c

int gMakeBoundCallbackTest7c
static

◆ gMakeBoundCallbackTest8a

int gMakeBoundCallbackTest8a
static

◆ gMakeBoundCallbackTest8b

int gMakeBoundCallbackTest8b
static

◆ gMakeBoundCallbackTest8c

int gMakeBoundCallbackTest8c
static

◆ gMakeBoundCallbackTest9a

int gMakeBoundCallbackTest9a
static

◆ gMakeBoundCallbackTest9b

int gMakeBoundCallbackTest9b
static

◆ gMakeBoundCallbackTest9c

int gMakeBoundCallbackTest9c
static

◆ gMakeBoundCallbackTest9d

int gMakeBoundCallbackTest9d
static

◆ gMakeCallbackTest5

bool gMakeCallbackTest5
static

◆ gMakeCallbackTest6

bool gMakeCallbackTest6
static

◆ gMakeCallbackTest7

bool gMakeCallbackTest7
static