Commit 6431a99e authored by pintar's avatar pintar
Browse files

New tests for clauses 6.5.2, 6.5.4, 6.5.5 and 6.5.6 are added

parent 5783bf6b
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.5.2 Verify that the dateTime type shall be translated to TTCN-3 using the pattern-restricted charstring
 ** @verdict  pass reject
 ***************************************************/
module Neg_060502_date_and_time_001 {

    import from schema_Neg_060502_date_and_time_001 language "XSD" all;

    template E1 m_msg := "2014-04-17T13:59"; //invalid value
//#TC 
}
+8 −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_060502_date_and_time_001"
  xmlns:types="schema:Neg_060502_date_and_time_001">
    <simpleType name="e1">
        <restriction base="dateTime"/>
    </simpleType>
</schema>
+13 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.5.2 Verify that the dateTime type shall be translated to TTCN-3 using the pattern-restricted charstring
 ** @verdict  pass reject
 ***************************************************/
module Neg_060502_date_and_time_002 {

    import from schema_Neg_060502_date_and_time_002 language "XSD" all;

    template E1 m_msg := "2014-04-1713:59"; //invalid value
//#TC 
}
+8 −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_060502_date_and_time_002"
  xmlns:types="schema:Neg_060502_date_and_time_002">
    <simpleType name="e1">
        <restriction base="dateTime"/>
    </simpleType>
</schema>
+13 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.5.2 Verify that the dateTime type shall be translated to TTCN-3 using the pattern-restricted charstring
 ** @verdict  pass reject
 ***************************************************/
module Neg_060502_date_and_time_003 {

    import from schema_Neg_060502_date_and_time_003 language "XSD" all;

    template E1 m_msg := "99-04-17T13:59"; //invalid value
//#TC 
}
Loading