SynchroTime
Public Slots | Public Member Functions | Private Slots | Private Attributes | List of all members
Tests Class Reference

The Tests class The class includes all test cases. More...

Inheritance diagram for Tests:
Inheritance graph
Collaboration diagram for Tests:
Collaboration graph

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
 

Detailed Description

The Tests class The class includes all test cases.

Constructor & Destructor Documentation

Tests::Tests ( )

Tests::Tests Constructor for class Tests.

Member Function Documentation

void Tests::Case1 ( )
privateslot

Tests::Case1 Dummy Test Case.

void Tests::Case14 ( )
privateslot

Tests::Case14 Info about all available in system serial ports. When using a separate thread.

References handleResults(), and SerialThread::resultReady().

Here is the call graph for this function:

void Tests::Case15 ( )
privateslot

Tests::Case15 Prepare a new object Serial Port.

References InterfaceSP::getSerialPort().

Here is the call graph for this function:

void Tests::Case16 ( )
privateslot

Tests::Case16 Checking communication with the device via the serial interface.

Note
For correct testing, sketch firmware is required ../arduino/synchro_RTC_old.ino

References InterfaceSP::getPortName(), Interface::getReceivedData(), InterfaceSP::getSerialPort(), InterfaceSP::readTheData(), InterfaceSP::searchSerialPort(), and InterfaceSP::writeTheData().

Here is the call graph for this function:

void Tests::Case17 ( )
privateslot

Tests::Case17 Checking communication with the device via the serial interface.

Note
For correct testing, sketch firmware is required ../arduino/synchro_RTC_old.ino

References InterfaceSP::getPortName(), Interface::getReceivedData(), InterfaceSP::getSerialPort(), InterfaceSP::readTheData(), and InterfaceSP::writeTheData().

Here is the call graph for this function:

void Tests::Case1_data ( )
privateslot

Tests::Case1_data Data for Test Case 1.

void Tests::cleanupTestCase ( )
privateslot
void Tests::handleResults ( const int  value)
slot

Tests::handleResults Implementation of a slot to fix the available serial ports.

Parameters
valueof type const int

References numberOfPorts.

Referenced by Case14().

Here is the caller graph for this function:

void Tests::initTestCase ( )
privateslot

Member Data Documentation

int Tests::numberOfPorts
private

Referenced by handleResults().


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