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

removed dedicated VariableMapper tests which are now covered by testing with a full server

parent 448c0193
No related branches found
No related tags found
No related merge requests found
......@@ -120,19 +120,6 @@ BOOST_AUTO_TEST_CASE( testEvaluateBool ){
BOOST_CHECK( VariableMapper::evaluateBool("1"));
}
BOOST_AUTO_TEST_CASE( testRename ){
testXmlParsing("variableTreeXml/rename.xml", { {"/A/b/do",{"/A/b/do","DIRECT","LOLO"}},
{"/DIRECT/INT",{"/DIRECT/INT","DIRECT","TEMP"}}
} );
}
BOOST_AUTO_TEST_CASE( testImportLocation ){
testXmlParsing("variableTreeXml/importLocation.xml", { {"/A/a/di", {"/A/a/di","B","a.di"}},
{"/A/a/do", {"/A/a/do","B","a.do"}},
{"/A/b", {"/A/b","B","b"}}
});
}
BOOST_AUTO_TEST_CASE( testImportAll ){
std::map< std::string, AutoPropertyDescription > propertyMap(
{ {"/A/a/di", {"/A/a/di", "A","a.di"}},
......
<?xml version="1.0" encoding="UTF-8"?>
<device_server xmlns="https://github.com/ChimeraTK/ControlSystemAdapter-DoocsAdapter">
<location name="B">
<import>/A</import>
</location>
</device_server>
<?xml version="1.0" encoding="UTF-8"?>
<device_server xmlns="https://github.com/ChimeraTK/ControlSystemAdapter-DoocsAdapter">
<location name="DIRECT">
<property source="/A/b/do" name="LOLO"/>
<property source="INT" name="TEMP"/>
</location>
</device_server>
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