Ocean
|
The Ocean Test Devices Library provides several functions to test the performance and validation of the Devices functionalities. More...
Data Structures | |
class | Ocean::Test::TestDevices::TestGPSTracker |
This class implements tests for the GPSTracker class. More... | |
Functions | |
OCEAN_TEST_DEVICES_EXPORT bool | Ocean::Test::TestDevices::testDevices (const double testDuration, Worker &worker, const std::string &testFunctions=std::string()) |
Tests the entire Devices library. More... | |
OCEAN_TEST_DEVICES_EXPORT void | Ocean::Test::TestDevices::testDevicesAsynchron (const double testDuration, const std::string &testFunctions=std::string()) |
Tests the entire Devices library. More... | |
The Ocean Test Devices Library provides several functions to test the performance and validation of the Devices functionalities.
The library is platform independent.
OCEAN_TEST_DEVICES_EXPORT bool Ocean::Test::TestDevices::testDevices | ( | const double | testDuration, |
Worker & | worker, | ||
const std::string & | testFunctions = std::string() |
||
) |
Tests the entire Devices library.
testDuration | Number of seconds for each test, with range (0, infinity) |
worker | The worker object to distribute some computation on as many CPU cores as defined in the worker object |
testFunctions | Optional name of the functions to be tested |
OCEAN_TEST_DEVICES_EXPORT void Ocean::Test::TestDevices::testDevicesAsynchron | ( | const double | testDuration, |
const std::string & | testFunctions = std::string() |
||
) |
Tests the entire Devices library.
This function returns directly as the actual test is invoked in an own thread.
This function is intended for non-console applications like e.g., mobile devices.
testDuration | Number of seconds for each test, with range (0, infinity) |
testFunctions | Optional name of the functions to be tested |