Commit 80f4ff96 authored by pintar's avatar pintar
Browse files

new ttcn generated files and xsd element, type correction

parent 05a2bac6
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -12,6 +12,9 @@ module Neg_060101_length_001 {


    type universal charstring Raw;
    type universal charstring XsdFile;
    type record of XsdFile XsdFileList;

    type port P message {
        inout all;
    }
@@ -19,7 +22,8 @@ module Neg_060101_length_001 {
        port P p;
    }

    external function matchFile(Raw p_textToMatch, charstring p_filePath, out charstring p_matchError) return boolean;
	external function matchFile(Raw p_textToMatch, XsdFile p_referenceXmlFile, XsdFileList p_xsdFileList, out universal charstring p_matchError) return boolean;
//    external function matchFile(Raw p_textToMatch, charstring p_filePath, out charstring p_matchError) return boolean;

    testcase TC_Neg_060101_length_001() runs on C system C {
        var Raw v_rcv;
@@ -28,7 +32,7 @@ module Neg_060101_length_001 {
        p.send(m_msg);
        alt {
            []	p.check(receive(Raw:?) -> value v_rcv) {
                if (matchFile(v_rcv, "Neg_060101_length_001.xml", v_matchError)) {
                if (matchFile(v_rcv, "Neg_060101_length_001.xml", { "Neg_060101_length_001.xsd" }, v_matchError)) {
                    alt {
                        [] p.receive(m_msg) {
                            setverdict(pass);
+2 −2
Original line number Diff line number Diff line
@@ -2,10 +2,10 @@
<schema xmlns="http://www.w3.org/2001/XMLSchema"
  targetNamespace="schema:Neg_060101_length_001"
  xmlns:types="schema:Neg_060101_length_001">
    <simpleType name="e1">
    <simpleType name="t1">
        <restriction base="NMTOKENS">
            <length value="3"/>
        </restriction>
    </simpleType>
    <element name="e1el" type="types:e1"/>
    <element name="e1" type="types:t1"/>
</schema>
+6 −2
Original line number Diff line number Diff line
@@ -12,6 +12,9 @@ module Pos_060101_length_001 {


    type universal charstring Raw;
    type universal charstring XsdFile;
    type record of XsdFile XsdFileList;

    type port P message {
        inout all;
    }
@@ -19,7 +22,8 @@ module Pos_060101_length_001 {
        port P p;
    }

    external function matchFile(Raw p_textToMatch, charstring p_filePath, out charstring p_matchError) return boolean;
	external function matchFile(Raw p_textToMatch, XsdFile p_referenceXmlFile, XsdFileList p_xsdFileList, out universal charstring p_matchError) return boolean;
//    external function matchFile(Raw p_textToMatch, charstring p_filePath, out charstring p_matchError) return boolean;

    testcase TC_Pos_060101_length_001() runs on C system C {
        var Raw v_rcv;
@@ -28,7 +32,7 @@ module Pos_060101_length_001 {
        p.send(m_msg);
        alt {
            []	p.check(receive(Raw:?) -> value v_rcv) {
                if (matchFile(v_rcv, "Pos_060101_length_001.xml", v_matchError)) {
                if (matchFile(v_rcv, "Pos_060101_length_001.xml", { "Pos_060101_length_001.xsd" }, v_matchError)) {
                    alt {
                        [] p.receive(m_msg) {
                            setverdict(pass);
+2 −2
Original line number Diff line number Diff line
@@ -2,10 +2,10 @@
<schema xmlns="http://www.w3.org/2001/XMLSchema"
  targetNamespace="schema:Pos_060101_length_001"
  xmlns:types="schema:Pos_060101_length_001">
    <simpleType name="e1">
    <simpleType name="t1">
        <restriction base="string">
        <length value="10"/>
    </restriction>
    </simpleType>
    <element name="e1el" type="types:e1"/>
    <element name="e1" type="types:t1"/>
</schema>
+6 −2
Original line number Diff line number Diff line
@@ -12,6 +12,9 @@ module Pos_060101_length_002 {


    type universal charstring Raw;
    type universal charstring XsdFile;
    type record of XsdFile XsdFileList;

    type port P message {
        inout all;
    }
@@ -19,7 +22,8 @@ module Pos_060101_length_002 {
        port P p;
    }

    external function matchFile(Raw p_textToMatch, charstring p_filePath, out charstring p_matchError) return boolean;
	external function matchFile(Raw p_textToMatch, XsdFile p_referenceXmlFile, XsdFileList p_xsdFileList, out universal charstring p_matchError) return boolean;
//    external function matchFile(Raw p_textToMatch, charstring p_filePath, out charstring p_matchError) return boolean;

    testcase TC_Pos_060101_length_002() runs on C system C {
        var Raw v_rcv;
@@ -28,7 +32,7 @@ module Pos_060101_length_002 {
        p.send(m_msg);
        alt {
            []	p.check(receive(Raw:?) -> value v_rcv) {
                if (matchFile(v_rcv, "Pos_060101_length_002.xml", v_matchError)) {
                if (matchFile(v_rcv, "Pos_060101_length_002.xml", { "Pos_060101_length_002.xsd" }, v_matchError)) {
                    alt {
                        [] p.receive(m_msg) {
                            setverdict(pass);
Loading