Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ControlSystemAdapter-DoocsAdapter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChimeraTK Mirror
ControlSystemAdapter-DoocsAdapter
Commits
f9b4ce63
Commit
f9b4ce63
authored
7 years ago
by
Martin Killenberg
Browse files
Options
Downloads
Patches
Plain Diff
removed dedicated VariableMapper tests which are now covered by testing with a full server
parent
448c0193
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/src/testVariableMapper.cpp
+0
-13
0 additions, 13 deletions
tests/src/testVariableMapper.cpp
tests/variableTreeXml/importLocation.xml
+0
-6
0 additions, 6 deletions
tests/variableTreeXml/importLocation.xml
tests/variableTreeXml/rename.xml
+0
-7
0 additions, 7 deletions
tests/variableTreeXml/rename.xml
with
0 additions
and
26 deletions
tests/src/testVariableMapper.cpp
+
0
−
13
View file @
f9b4ce63
...
...
@@ -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"
}},
...
...
This diff is collapsed.
Click to expand it.
tests/variableTreeXml/importLocation.xml
deleted
100644 → 0
+
0
−
6
View file @
448c0193
<?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>
This diff is collapsed.
Click to expand it.
tests/variableTreeXml/rename.xml
deleted
100644 → 0
+
0
−
7
View file @
448c0193
<?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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment