aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting
diff options
context:
space:
mode:
authorVincent Danno <vincent.danno@orange.com>2021-05-19 21:20:30 +0200
committerVincent Danno <vincent.danno@orange.com>2021-05-19 21:20:30 +0200
commitbe9f889a34e88290c547d4be7cfe997d2a363298 (patch)
tree9daf6ee2ea40338819a1e56d39d1dd05ee0d7d20 /xtesting
parentd340a8e8f99fef80c5fa3a45c4e1b06e5b0aeb39 (diff)
Add proper references to xml schemas
Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I1f837fede6b62260cc49a590b065de259df0d444
Diffstat (limited to 'xtesting')
-rw-r--r--xtesting/samples/mts/pause.xml10
-rw-r--r--xtesting/samples/mts/test.xml4
2 files changed, 5 insertions, 9 deletions
diff --git a/xtesting/samples/mts/pause.xml b/xtesting/samples/mts/pause.xml
index 34f7b52b..aaaacf28 100644
--- a/xtesting/samples/mts/pause.xml
+++ b/xtesting/samples/mts/pause.xml
@@ -1,7 +1,5 @@
<?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>
+<scenario xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/ericsson-mts/mts/master/src/main/conf/schemas/scenario.xsd">
+ <log>Duree de pause demandee : [pauseDuration]</log>
+ <pause name="Pause" seconds="[pauseDuration]" />
+</scenario> \ No newline at end of file
diff --git a/xtesting/samples/mts/test.xml b/xtesting/samples/mts/test.xml
index 5901f5b2..d1447ab9 100644
--- a/xtesting/samples/mts/test.xml
+++ b/xtesting/samples/mts/test.xml
@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-<test name="Commissioning MTS">
+<test name="Commissioning MTS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/ericsson-mts/mts/master/src/main/conf/schemas/test.xsd">
<testcase name="Pause_5_sec" state="true">
<parameter name="[pauseDuration]" operation="set" value="5"/>
-
<scenario name="[testcasename]" file="pause.xml" />
</testcase>
</test>