aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2021-06-01 14:46:29 +0000
committerGerrit Code Review <gerrit@opnfv.org>2021-06-01 14:46:29 +0000
commitc861114b51184c7ba7d551d0f8e108ca262ef4be (patch)
tree74d0b606c417bb43e40cc4ebc668a4374c35ac1c
parent6192b2cf9ffd46bdb8189ce3236cf4d9b722b69c (diff)
parentbe9f889a34e88290c547d4be7cfe997d2a363298 (diff)
Merge "Add proper references to xml schemas"
-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>