TestSimulator class. More...
Inheritance diagram for python-unit-tests.TestSimulator:
Collaboration diagram for python-unit-tests.TestSimulator:Public Member Functions | |
| def | testAttributes (self) |
| Test attributes function. More... | |
| def | testCommandLine (self) |
| Test command line. More... | |
| def | testConfig (self) |
| Test configuration. More... | |
| def | testIdentity (self) |
| Test identify. More... | |
| def | testSchedule (self) |
| Test schedule. More... | |
| def | testScheduleDestroy (self) |
| Test schedule destroy. More... | |
| def | testScheduleNow (self) |
| Test schedule now. More... | |
| def | testScheduleWithContext (self) |
| Test schedule with context. More... | |
| def | testSocket (self) |
| Test socket. More... | |
| def | testSubclass (self) |
| Test subclass. More... | |
| def | testTimeComparison (self) |
| Test time comparison. More... | |
| def | testTimeNumericOperations (self) |
| Test numeric operations. More... | |
| def | testTypeId (self) |
| Test type ID. More... | |
Private Attributes | |
| _args_received | |
| args More... | |
| _cb_time | |
| current time More... | |
| _context_received | |
| context More... | |
| _received_packet | |
| received packet More... | |
TestSimulator class.
Definition at line 34 of file python-unit-tests.py.
| def python-unit-tests.TestSimulator.testAttributes | ( | self | ) |
Test attributes function.
| self | this object |
Definition at line 191 of file python-unit-tests.py.
| def python-unit-tests.TestSimulator.testCommandLine | ( | self | ) |
Test command line.
| self | this object |
Definition at line 242 of file python-unit-tests.py.
| def python-unit-tests.TestSimulator.testConfig | ( | self | ) |
Test configuration.
| self | this object |
Definition at line 153 of file python-unit-tests.py.
| def python-unit-tests.TestSimulator.testIdentity | ( | self | ) |
Test identify.
| self | this object |
Definition at line 218 of file python-unit-tests.py.
| def python-unit-tests.TestSimulator.testSchedule | ( | self | ) |
Test schedule.
| self | this object |
Definition at line 64 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 | ) |
Test schedule destroy.
| self | this object |
Definition at line 84 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 | ) |
Test schedule now.
| self | this object |
Definition at line 44 of file python-unit-tests.py.
| def python-unit-tests.TestSimulator.testScheduleWithContext | ( | self | ) |
Test schedule with context.
| self | this object |
Definition at line 107 of file python-unit-tests.py.
| def python-unit-tests.TestSimulator.testSocket | ( | self | ) |
| def python-unit-tests.TestSimulator.testSubclass | ( | self | ) |
Test subclass.
| self | this object |
Definition at line 267 of file python-unit-tests.py.
| def python-unit-tests.TestSimulator.testTimeComparison | ( | self | ) |
Test time comparison.
| self | this object |
Definition at line 131 of file python-unit-tests.py.
References ns3.Seconds().
Here is the call graph for this function:| def python-unit-tests.TestSimulator.testTimeNumericOperations | ( | self | ) |
Test numeric operations.
| self | this object |
Definition at line 142 of file python-unit-tests.py.
References ns3.Seconds().
Here is the call graph for this function:| def python-unit-tests.TestSimulator.testTypeId | ( | self | ) |
Test type ID.
| self | this object |
Definition at line 232 of file python-unit-tests.py.
|
private |
args
Definition at line 54 of file python-unit-tests.py.
Referenced by python-unit-tests.TestSimulator.testSchedule(), and python-unit-tests.TestSimulator.testScheduleDestroy().
|
private |
current time
Definition at line 55 of file python-unit-tests.py.
Referenced by python-unit-tests.TestSimulator.testSchedule(), and python-unit-tests.TestSimulator.testScheduleDestroy().
|
private |
context
Definition at line 118 of file python-unit-tests.py.
|
private |
received packet
Definition at line 169 of file python-unit-tests.py.