Ocean
|
The Ocean Test Base Library provides several function to test the performance and validation of the basic ocean functionalities. More...
Data Structures | |
class | Ocean::Test::TestBase::TestBinary |
This class implements a test for the Binary class. More... | |
class | Ocean::Test::TestBase::TestCallback |
This class implements a callback test. More... | |
class | Ocean::Test::TestBase::TestCaller |
This class implements a caller test. More... | |
class | Ocean::Test::TestBase::TestCommandArguments |
This class implements test for CommandArguments. More... | |
class | Ocean::Test::TestBase::TestDataType |
This class implements a basic data type test. More... | |
class | Ocean::Test::TestBase::TestDateTime |
This class implements a DateTime test. More... | |
class | Ocean::Test::TestBase::TestFrame |
This class implements tests for the Frame class. More... | |
class | Ocean::Test::TestBase::TestHashMap |
This class implements a hash map test. More... | |
class | Ocean::Test::TestBase::TestHashSet |
This class implements a hash set test. More... | |
class | Ocean::Test::TestBase::TestHighPerformanceTimer |
This class implements a test for the HighPerformanceTimer class. More... | |
class | Ocean::Test::TestBase::TestHighPerformanceStatistic |
This class implements a test for the HighPerformanceStatistic class. More... | |
class | Ocean::Test::TestBase::TestInheritance |
This class implements an inheritance test of classes. More... | |
class | Ocean::Test::TestBase::TestKdTree |
This class implements a k-d tree test. More... | |
class | Ocean::Test::TestBase::TestLock |
This class tests lock functions. More... | |
class | Ocean::Test::TestBase::TestMedian |
This class implements a median test. More... | |
class | Ocean::Test::TestBase::TestMemory |
This class implements a memory test. More... | |
class | Ocean::Test::TestBase::TestMoveBehavior |
This class tests the move behavior of the underlying C++ std implementation. More... | |
class | Ocean::Test::TestBase::TestRandomI |
This class implements a integer random test. More... | |
class | Ocean::Test::TestBase::TestRingMap |
This class implement a test for the ring map class. More... | |
class | Ocean::Test::TestBase::TestScopedFunction |
This class implement a test for the TestScopedFunction class. More... | |
class | Ocean::Test::TestBase::TestScopedObject |
This class implement a test for the ScopedObject class. More... | |
class | Ocean::Test::TestBase::TestSegmentUnion |
This class implement a test for the SegmentUnion class. More... | |
class | Ocean::Test::TestBase::TestSignal |
This class implements signal tests. More... | |
class | Ocean::Test::TestBase::TestSingleton |
This class implements a singleton test. More... | |
class | Ocean::Test::TestBase::TestStackHeapVector |
This class implements tests for StackHeapVector. More... | |
class | Ocean::Test::TestBase::TestStaticBuffer |
This class implements tests for StaticBuffer. More... | |
class | Ocean::Test::TestBase::TestStaticVector |
This class implements tests for StaticVector. More... | |
class | Ocean::Test::TestBase::TestSTL |
This class implements tests for c++ functions. More... | |
class | Ocean::Test::TestBase::TestString |
This class implements a test for the string class. More... | |
class | Ocean::Test::TestBase::TestSubset |
This class implements tests for the Subset class. More... | |
class | Ocean::Test::TestBase::TestThread |
This class implements tests for the Thread class. More... | |
class | Ocean::Test::TestBase::TestThreadPool |
This class implements tests for the ThreadPool class. More... | |
class | Ocean::Test::TestBase::TestTimestamp |
This class implements a timestamp test. More... | |
class | Ocean::Test::TestBase::TestUtilities |
This class implements utilities tests. More... | |
class | Ocean::Test::TestBase::TestValue |
This class implements a Value test. More... | |
class | Ocean::Test::TestBase::TestWorker |
This class implements worker tests. More... | |
class | Ocean::Test::TestBase::TestWorkerPool |
This class implements tests for the WorkerPool class. More... | |
Functions | |
OCEAN_TEST_BASE_EXPORT bool | Ocean::Test::TestBase::testBase (const double testDuration, Worker &worker, const std::string &testFunctions=std::string()) |
Tests the entire base library. More... | |
OCEAN_TEST_BASE_EXPORT void | Ocean::Test::TestBase::testBaseAsynchron (const double testDuration, const std::string &testFunctions=std::string()) |
Tests the entire base library. More... | |
The Ocean Test Base Library provides several function to test the performance and validation of the basic ocean functionalities.
The library is platform independent.
OCEAN_TEST_BASE_EXPORT bool Ocean::Test::TestBase::testBase | ( | const double | testDuration, |
Worker & | worker, | ||
const std::string & | testFunctions = std::string() |
||
) |
Tests the entire base library.
This function is intended for console applications.
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_BASE_EXPORT void Ocean::Test::TestBase::testBaseAsynchron | ( | const double | testDuration, |
const std::string & | testFunctions = std::string() |
||
) |
Tests the entire base 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.
testDuration | Number of seconds for each test, with range (0, infinity) |
testFunctions | Optional name of the functions to be tested |