Skip to content
Snippets Groups Projects
Commit 8a4e76a2 authored by Martin Killenberg's avatar Martin Killenberg
Browse files

extended to scalar creation without renaming

parent d15c41be
No related branches found
No related tags found
No related merge requests found
......@@ -34,10 +34,13 @@ void testVariableExistence(){
for (auto const location : { "CHAR", "DOUBLE", "FLOAT", "INT", "SHORT", "UCHAR", "UINT", "USHORT"} ){
for (auto const property : { "CONSTANT_ARRAY", "FROM_DEVICE_ARRAY", "TO_DEVICE_ARRAY "} ){
std::cout << "Getting Array " << "//"<<location << "/" << property<< std::endl;
// if this throws the property does not exist. we should always be able to read"
BOOST_CHECK_NO_THROW( DoocsServerTestHelper::doocsGetArray<int>( (std::string("//")+location+"/"+ property).c_str() ));
}
for (auto const property : { "DATA_TYPE_CONSTANT", "FROM_DEVICE_SCALAR", "TO_DEVICE_SCALAR"} ){
// if this throws the property does not exist. we should always be able to read"
BOOST_CHECK_NO_THROW( DoocsServerTestHelper::doocsGet<int>( (std::string("//")+location+"/"+ property).c_str() ));
}
}
// DoocsServerTestHelper::doocsGet<int>("//MYDUMMY/SOME_INT")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment