Commit 8b688a81 authored by stancakapost's avatar stancakapost
Browse files

new gyear tests

minor updates
parent e47b275b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.5.6, Verify that the gYear type shall be translated to TTCN-3 using the pattern-restricted charstring
 ** @purpose  9:6.5.6, Verify that the gYear allows positive years greater than 9999
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_060506_gregorian_year_003 {
+1 −1
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.5.6, Verify that the gYear type shall be translated to TTCN-3 using the pattern-restricted charstring
 ** @purpose  9:6.5.6, Verify that the gYear accepts negative years
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_060506_gregorian_year_005 {
+14 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:6.5.6, Verify that the gYear alows negative year with more than 4 digits
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Pos_060506_gregorian_year_006 {

    import from schema_Pos_060506_gregorian_year_006 language "XSD" all;

    template E1 m_msg := "-210045";

//#TC
}
+4 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<e1
    xmlns="schema:Pos_060506_gregorian_year_006"
>-210045</e1>
+9 −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:Pos_060506_gregorian_year_006"
  xmlns:types="schema:Pos_060506_gregorian_year_006">
    <simpleType name="t1">
        <restriction base="gYear"/>
    </simpleType>
    <element name="e1" type="types:t1"/>
</schema>