A Discrete-Event Network Simulator
API
python-unit-tests.TestSimulator Class Reference
+ Inheritance diagram for python-unit-tests.TestSimulator:
+ Collaboration diagram for python-unit-tests.TestSimulator:

Public Member Functions

def testAttributes (self)
 Yes, I know, the GetAttribute interface for Python is horrible, we should fix this soon, I hope. More...
 
def testCommandLine (self)
 
def testConfig (self)
 
def testIdentity (self)
 
def testSchedule (self)
 
def testScheduleDestroy (self)
 
def testScheduleNow (self)
 
def testScheduleWithContext (self)
 
def testSocket (self)
 
def testSubclass (self)
 
def testTimeComparison (self)
 
def testTimeNumericOperations (self)
 
def testTypeId (self)
 

Private Attributes

 _args_received
 
 _cb_time
 
 _context_received
 
 _received_packet
 

Detailed Description

Definition at line 11 of file python-unit-tests.py.

Member Function Documentation

def python-unit-tests.TestSimulator.testAttributes (   self)

Yes, I know, the GetAttribute interface for Python is horrible, we should fix this soon, I hope.

Definition at line 107 of file python-unit-tests.py.

def python-unit-tests.TestSimulator.testCommandLine (   self)

Definition at line 149 of file python-unit-tests.py.

def python-unit-tests.TestSimulator.testConfig (   self)

Definition at line 81 of file python-unit-tests.py.

def python-unit-tests.TestSimulator.testIdentity (   self)

Definition at line 133 of file python-unit-tests.py.

def python-unit-tests.TestSimulator.testSchedule (   self)

Definition at line 25 of file python-unit-tests.py.

References python-unit-tests.TestSimulator._args_received, python-unit-tests.TestSimulator._cb_time, and ns3.Seconds().

+ Here is the call graph for this function:

def python-unit-tests.TestSimulator.testScheduleDestroy (   self)

Definition at line 37 of file python-unit-tests.py.

References python-unit-tests.TestSimulator._args_received, python-unit-tests.TestSimulator._cb_time, and ns3.Seconds().

+ Here is the call graph for this function:

def python-unit-tests.TestSimulator.testScheduleNow (   self)

Definition at line 13 of file python-unit-tests.py.

def python-unit-tests.TestSimulator.testScheduleWithContext (   self)

Definition at line 52 of file python-unit-tests.py.

def python-unit-tests.TestSimulator.testSocket (   self)

Definition at line 85 of file python-unit-tests.py.

def python-unit-tests.TestSimulator.testSubclass (   self)

Definition at line 170 of file python-unit-tests.py.

def python-unit-tests.TestSimulator.testTimeComparison (   self)

Definition at line 67 of file python-unit-tests.py.

References ns3.Seconds().

+ Here is the call graph for this function:

def python-unit-tests.TestSimulator.testTimeNumericOperations (   self)

Definition at line 74 of file python-unit-tests.py.

References ns3.Seconds().

+ Here is the call graph for this function:

def python-unit-tests.TestSimulator.testTypeId (   self)

Definition at line 143 of file python-unit-tests.py.

Member Data Documentation

python-unit-tests.TestSimulator._args_received
private
python-unit-tests.TestSimulator._cb_time
private
python-unit-tests.TestSimulator._context_received
private

Definition at line 54 of file python-unit-tests.py.

python-unit-tests.TestSimulator._received_packet
private

Definition at line 89 of file python-unit-tests.py.


The documentation for this class was generated from the following file: