TestSimulator class. More...
Public Member Functions | |
def | testAttributes (self) |
Test attributes function. | |
def | testCommandLine (self) |
Test command line. | |
def | testConfig (self) |
Test configuration. | |
def | testEchoServerApplication (self) |
Test python-based application. | |
def | testIdentity (self) |
Test identify. | |
def | testSchedule (self) |
Test schedule. | |
def | testScheduleDestroy (self) |
Test schedule destroy. | |
def | testScheduleNow (self) |
Test schedule now. | |
def | testScheduleWithContext (self) |
Test schedule with context. | |
def | testSocket (self) |
Test socket. | |
def | testSubclass (self) |
Test subclass. | |
def | testTimeComparison (self) |
Test time comparison. | |
def | testTimeNumericOperations (self) |
Test numeric operations. | |
def | testTypeId (self) |
Test type ID. | |
Public Attributes | |
m_socket | |
Socket used by the server to listen to port. | |
port | |
Listen port for the server. | |
Protected Attributes | |
_args_received | |
args | |
_cb_time | |
current time | |
_context_received | |
context | |
_received_packet | |
received packet | |
Private Attributes | |
__python_owns__ | |
EchoServer application class. | |
TestSimulator class.
Definition at line 29 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testAttributes | ( | self | ) |
Test attributes function.
self | this object |
Definition at line 228 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testCommandLine | ( | self | ) |
Test command line.
self | this object |
Definition at line 288 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testConfig | ( | self | ) |
Test configuration.
self | this object |
Definition at line 184 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testEchoServerApplication | ( | self | ) |
Test python-based application.
self | this object |
Definition at line 338 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testIdentity | ( | self | ) |
Test identify.
self | this object |
Definition at line 259 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testSchedule | ( | self | ) |
Test schedule.
self | this object |
Definition at line 68 of file python-unit-tests.py.
References python-unit-tests.TestSimulator._args_received, python-unit-tests.TestSimulator._cb_time, and list.
def python-unit-tests.TestSimulator.testScheduleDestroy | ( | self | ) |
Test schedule destroy.
self | this object |
Definition at line 97 of file python-unit-tests.py.
References python-unit-tests.TestSimulator._args_received, python-unit-tests.TestSimulator._cb_time, and list.
def python-unit-tests.TestSimulator.testScheduleNow | ( | self | ) |
Test schedule now.
self | this object |
Definition at line 39 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testScheduleWithContext | ( | self | ) |
Test schedule with context.
self | this object |
Definition at line 129 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 322 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testTimeComparison | ( | self | ) |
Test time comparison.
self | this object |
Definition at line 162 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testTimeNumericOperations | ( | self | ) |
Test numeric operations.
self | this object |
Definition at line 173 of file python-unit-tests.py.
def python-unit-tests.TestSimulator.testTypeId | ( | self | ) |
Test type ID.
self | this object |
Definition at line 276 of file python-unit-tests.py.
|
private |
EchoServer application class.
Definition at line 391 of file python-unit-tests.py.
|
protected |
args
Definition at line 50 of file python-unit-tests.py.
Referenced by python-unit-tests.TestSimulator.testSchedule(), and python-unit-tests.TestSimulator.testScheduleDestroy().
|
protected |
current time
Definition at line 51 of file python-unit-tests.py.
Referenced by python-unit-tests.TestSimulator.testSchedule(), and python-unit-tests.TestSimulator.testScheduleDestroy().
|
protected |
context
Definition at line 141 of file python-unit-tests.py.
|
protected |
received packet
Definition at line 201 of file python-unit-tests.py.
python-unit-tests.TestSimulator.m_socket |
Socket used by the server to listen to port.
Definition at line 395 of file python-unit-tests.py.
python-unit-tests.TestSimulator.port |
Listen port for the server.
Definition at line 393 of file python-unit-tests.py.