The Ocean Test IO Library provides several function to test the performance and validation of the Ocean IO Library.
More...
|
OCEAN_TEST_IO_EXPORT bool | Ocean::Test::TestIO::testIO (const double testDuration, const std::string &testFunctions=std::string()) |
| Tests the entire io library.
|
|
OCEAN_TEST_IO_EXPORT void | Ocean::Test::TestIO::testIOAsynchron (const double testDuration, const std::string &testFunctions=std::string()) |
| Tests the entire io library.
|
|
The Ocean Test IO Library provides several function to test the performance and validation of the Ocean IO Library.
The library is platform independent.
◆ testIO()
OCEAN_TEST_IO_EXPORT bool Ocean::Test::TestIO::testIO |
( |
const double |
testDuration, |
|
|
const std::string & |
testFunctions = std::string() |
|
) |
| |
Tests the entire io library.
- Parameters
-
testDuration | Number of seconds for each test |
testFunctions | Optional name of the functions to be tested |
- Returns
- True, if the entire test succeeded
◆ testIOAsynchron()
OCEAN_TEST_IO_EXPORT void Ocean::Test::TestIO::testIOAsynchron |
( |
const double |
testDuration, |
|
|
const std::string & |
testFunctions = std::string() |
|
) |
| |
Tests the entire io library.
This function returns directly as the actual test is invoked in an own thread.
Use this function in intendet for non-console applications like e.g., mobile devices.
- Parameters
-
testDuration | Number of seconds for each test, with range (0, infinity) |
testFunctions | Optional name of the functions to be tested |