Ocean
Ocean Test IO Maps Library

The Ocean Test IO Maps Library provides several functions to test the performance and validation of the maps functionalities. More...

Collaboration diagram for Ocean Test IO Maps Library:

Data Structures

class  Ocean::Test::TestIO::TestMaps::TestBasemap
 This class implements a test for the Basemap class. More...
 

Functions

OCEAN_TEST_IO_MAPS_EXPORT bool Ocean::Test::TestIO::TestMaps::testIOMaps (const double testDuration, Worker &worker, const std::string &testFunctions=std::string())
 Tests the entire IO Maps library. More...
 
OCEAN_TEST_IO_MAPS_EXPORT void Ocean::Test::TestIO::TestMaps::testIOMapsAsynchron (const double testDuration, const std::string &testFunctions=std::string())
 Tests the entire IO maps library. More...
 

Detailed Description

The Ocean Test IO Maps Library provides several functions to test the performance and validation of the maps functionalities.

The library is platform independent.

Function Documentation

◆ testIOMaps()

OCEAN_TEST_IO_MAPS_EXPORT bool Ocean::Test::TestIO::TestMaps::testIOMaps ( const double  testDuration,
Worker worker,
const std::string &  testFunctions = std::string() 
)

Tests the entire IO Maps library.

Parameters
testDurationNumber of seconds for each test, with range (0, infinity)
workerThe worker object to distribute some computation on as many CPU cores as defined in the worker object.
testFunctionsOptional name of the functions to be tested
Returns
True, if the entire test succeeded

◆ testIOMapsAsynchron()

OCEAN_TEST_IO_MAPS_EXPORT void Ocean::Test::TestIO::TestMaps::testIOMapsAsynchron ( const double  testDuration,
const std::string &  testFunctions = std::string() 
)

Tests the entire IO maps 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
testDurationNumber of seconds for each test, with range (0, infinity)
testFunctionsOptional name of the functions to be tested