SynchroTime
|
The Tests class The class includes all test cases. More...
Public Slots | |
void | handleResults (const int value) |
Tests::handleResults Implementation of a slot to fix the available serial ports. More... | |
Public Member Functions | |
Tests () | |
Tests::Tests Constructor for class Tests. More... | |
Private Slots | |
void | initTestCase () |
void | cleanupTestCase () |
void | Case1_data () |
Tests::Case1_data Data for Test Case 1. More... | |
void | Case1 () |
Tests::Case1 Dummy Test Case. More... | |
void | Case14 () |
Tests::Case14 Info about all available in system serial ports. When using a separate thread. More... | |
void | Case15 () |
Tests::Case15 Prepare a new object Serial Port. More... | |
void | Case16 () |
Tests::Case16 Checking communication with the device via the serial interface. More... | |
void | Case17 () |
Tests::Case17 Checking communication with the device via the serial interface. More... | |
Private Attributes | |
int | numberOfPorts |
The Tests class The class includes all test cases.
Tests::Tests | ( | ) |
Tests::Tests Constructor for class Tests.
|
privateslot |
Tests::Case1 Dummy Test Case.
|
privateslot |
Tests::Case14 Info about all available in system serial ports. When using a separate thread.
References handleResults(), and SerialThread::resultReady().
|
privateslot |
Tests::Case15 Prepare a new object Serial Port.
References InterfaceSP::getSerialPort().
|
privateslot |
Tests::Case16 Checking communication with the device via the serial interface.
References InterfaceSP::getPortName(), Interface::getReceivedData(), InterfaceSP::getSerialPort(), InterfaceSP::readTheData(), InterfaceSP::searchSerialPort(), and InterfaceSP::writeTheData().
|
privateslot |
Tests::Case17 Checking communication with the device via the serial interface.
References InterfaceSP::getPortName(), Interface::getReceivedData(), InterfaceSP::getSerialPort(), InterfaceSP::readTheData(), and InterfaceSP::writeTheData().
|
privateslot |
Tests::Case1_data Data for Test Case 1.
|
privateslot |
|
slot |
Tests::handleResults Implementation of a slot to fix the available serial ports.
value | of type const int |
References numberOfPorts.
Referenced by Case14().
|
privateslot |
|
private |
Referenced by handleResults().