aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/samples
diff options
context:
space:
mode:
authorVincent Mahe <v.mahe@orange.com>2020-05-25 18:32:58 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-08-05 13:21:12 +0200
commit32eb7687bf7b8440aa87805480789ef61ae65ec9 (patch)
tree82b6e144b87fe694c0d895541d9cac20a983e51c /xtesting/samples
parent005a5ad5ec6f29e6777ce69cc66524d4cc34517d (diff)
Add MTS driver
It creates a new container xtesting-mts to avoid increase core container size. Signed-off-by: Vincent Mahe <v.mahe@orange.com> Change-Id: I59544023e1235747e140a442815778a133bf6acf
Diffstat (limited to 'xtesting/samples')
-rw-r--r--xtesting/samples/mts/pause.xml7
-rw-r--r--xtesting/samples/mts/test.xml9
2 files changed, 16 insertions, 0 deletions
diff --git a/xtesting/samples/mts/pause.xml b/xtesting/samples/mts/pause.xml
new file mode 100644
index 00000000..34f7b52b
--- /dev/null
+++ b/xtesting/samples/mts/pause.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Related XMLSchema file: conf/schemas/scenario.xsd -->
+
+<scenario>
+ <log>Duree de pause demandee : [pauseDuration]</log>
+ <pause name="Pause" seconds="[pauseDuration]"/>
+</scenario>
diff --git a/xtesting/samples/mts/test.xml b/xtesting/samples/mts/test.xml
new file mode 100644
index 00000000..5901f5b2
--- /dev/null
+++ b/xtesting/samples/mts/test.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<test name="Commissioning MTS">
+ <testcase name="Pause_5_sec" state="true">
+ <parameter name="[pauseDuration]" operation="set" value="5"/>
+
+ <scenario name="[testcasename]" file="pause.xml" />
+ </testcase>
+</test>