conformance_test/positive_tests added
[deliverable/titan.core.git] / conformance_test / positive_tests / 08_modules / 0802_module_definitions_part / 080203_importing_from_modules / 08020301_general_format_of_import / Sem_08020301_GeneralFormatOfImport_008_import.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Adrien Kirjak – initial implementation
10 *
11 ** @version 0.0.1
12 ** @purpose 1:8.2.3.1, Verify that structured type is imported together with its field names and nested type definitions
13 ** @verdict pass accept, ttcn3verdict:pass
14 *****************************************************************/
15
16 // The following requirements are tested:
17 // Restriction c:
18 // A definition is imported together with its name and all local definitions.
19 // Restriction d:
20 // A definition is imported together with all information of referenced definitions that
21 // are necessary for the usage of the imported definition, independent of the visibility
22 // of the referenced definitions.
23 // Table 8:
24 // User-defined type, structured type
25
26 module Sem_08020301_GeneralFormatOfImport_008_import
27 {
28 type record R {
29 integer field1,
30 integer field2
31 }
32
33 type union U {
34 set {
35 integer subfield1,
36 integer subfield2
37 } variant1,
38 integer variant2
39 }
40 }
This page took 0.03192 seconds and 5 git commands to generate.