Commit ff9b16a8 authored by urbant's avatar urbant
Browse files

Test case for 7.1.14

parent 284c847c
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
/***************************************************
 ** @author   STF 475
 ** @version  0.0.1
 ** @purpose  9:7.1.14, Verify conversion of elements with final attribute
 ** @verdict  pass accept, ttcn3verdict:pass
***************************************************/
// The following requirements are tested:
// The final XSD attribute information item(s) shall produce no TTCN-3 language
// construct when translating an XML Schema to TTCN-3.

module Pos_070114_final_001 {

   import from schema_Pos_070114_final_001 language "XSD" all;

   template MyType m_msg := "test";

//#TC

}
+2 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<ns:MyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="schema:Pos_070114_final_001">test</ns:MyType>
 No newline at end of file
+6 −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_070114_final_001"
  xmlns:ns="schema:Pos_070114_final_001">
  <element name="MyType" type="string" final="#all" />
</schema>
+2 −2
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ beside the clause which you will cover and comit the file to the svn under
-7.1.11 Nillable                                         ()
  7.1.12 Use                                             (Tomas, done)
  7.1.13 Substitution group                              (Tomas, no tests - tested in section 8)
  7.1.14 Final                                           ()
  7.1.14 Final                                           (Tomas, done)
  7.1.15 Process contents                                ()
-7.2 Schema component                                    (Tomas, no requirements to test)
  7.3 Element component                                  (Tomas, done)
@@ -141,7 +141,7 @@ beside the clause which you will cover and comit the file to the svn under
-7.7.2 The anyAttribute element                          (Tomas, done)
  7.8 Annotation                                         (Tomas, done)
-7.9 Group components                                    (Tomas, done)
-7.10 Identity-constraint definition schema components   (Tomas, WIP)
-7.10 Identity-constraint definition schema components   (Tomas, done)
-8 Substitutions                                         ()
-8.1 Element substitution                                ()
-8.1.1 Head elements of substitution groups              ()