Commit 1e2581cb authored by stancakapost's avatar stancakapost
Browse files

added minexclusive tests and small fixes

parent 4f5c3827
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.1.9, Verify if tool rejects validation in case of restricted value due xsd type declaration.
 ** @verdict  pass reject
 ***************************************************/
module Neg_060109_minexclusive_002 {

    import from schema_Neg_060109_minexclusive_002 language "XSD" all;

    template E1 m_msg := 5; // valid values 6..10

//#TC_Neg
}
+17 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="schema:Neg_060109_minexclusive_002"
    xmlns:ns="schema:Neg_060109_minexclusive_002">
      <simpleType name="t1">
        <restriction>
          <simpleType>
            <restriction base="integer">
              <minInclusive value="1"/>
              <maxInclusive value="10"/>
            </restriction>
          </simpleType>
          <minExclusive value="5"/>
        </restriction>
      </simpleType>
    <element name="e1" type="ns:t1"/>
</schema>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.1.9, Verify if tool rejects validation in case of restricted value due xsd type declaration.
 ** @purpose  9:6.1.9, Verify if tool accepts values restricted by xsd type declaration.
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_060109_minexclusive_001 {
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<e1
    xmlns="schema:Pos_060109_minexclusive_001"
>5</e1>
>6</e1>
+14 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.1.9, Verify if tool accepts values restricted by xsd type declaration.
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_060109_minexclusive_002 {

    import from schema_Pos_060109_minexclusive_002 language "XSD" all;

    template E1 m_msg := 7;

//#TC
}
Loading