A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
python-unit-tests.TestSimulator Class Reference

Public Member Functions

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

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: