Ocean
|
The Ocean Test Platform Library implemenets/provides several tests for Ocean's individual platform libraries. More...
Data Structures | |
class | Ocean::Test::TestPlatform::TestApple |
This class implements a test for the Apple library. More... | |
Functions | |
OCEAN_TEST_PLATFORM_EXPORT bool | Ocean::Test::TestPlatform::testPlatform (const double testDuration, Worker &worker, const std::string &testFunctions=std::string()) |
Tests all Platform libraries. More... | |
OCEAN_TEST_PLATFORM_EXPORT void | Ocean::Test::TestPlatform::testPlatformAsynchron (const double testDuration, const std::string &testFunctions=std::string()) |
Tests all Platform libraries. More... | |
The Ocean Test Platform Library implemenets/provides several tests for Ocean's individual platform libraries.
The library is platform independent (by invoking only those tests that are available on each individual platform).
OCEAN_TEST_PLATFORM_EXPORT bool Ocean::Test::TestPlatform::testPlatform | ( | const double | testDuration, |
Worker & | worker, | ||
const std::string & | testFunctions = std::string() |
||
) |
Tests all Platform libraries.
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_PLATFORM_EXPORT void Ocean::Test::TestPlatform::testPlatformAsynchron | ( | const double | testDuration, |
const std::string & | testFunctions = std::string() |
||
) |
Tests all Platform libraries.
This function returns directly as the actual test is invoked in an own thread.
Use this function in 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 |