16#include <catch2/catch_amalgamated.hpp>
28 Network::setLocalMode(
true);
30 SECTION(
"Checking map2DStorage device without loading files")
53 SECTION(
"Checking map2DStorage device loading files (1/2)")
75 Property pmapstorage_cfg;
76 pmapstorage_cfg.put("device", "map2DStorage");
77 pmapstorage_cfg.put("mapCollectionContext", "exampleContext");
78 REQUIRE(ddmapstorage.open(pmapstorage_cfg));
79 REQUIRE(ddmapstorage.view(imap));
83 yarp::dev::tests::exec_iMap2D_test_1(imap);
84 yarp::dev::tests::exec_iMap2D_test_2(imap);
86 //"Close all polydrivers and check"
88 CHECK(ddmapstorage.close());
93 Network::setLocalMode(
false);
contains the definition of a Map2DArea type
contains the definition of a Map2DLocation type
A container for a device driver.
A mini-server for performing network communication in the background.
void close() override
Stop port activity.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A class for storing options and configuration information.
TEST_CASE("dev::Map2DStorageTest", "[yarp::dev]")
void exec_iMap2D_test_1(IMap2D *imap)
void exec_iMap2D_test_2(IMap2D *imap)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.