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
9 * Adrien Kirjak – initial implementation
12 ** @purpose 1:8.2.3.1, Verify that signature is imported together with parameter names
13 ** @verdict pass accept, ttcn3verdict:pass
14 *****************************************************************/
16 // The following requirements are tested:
18 // A definition is imported together with its name and all local definitions.
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.
26 module Sem_08020301_GeneralFormatOfImport_010 {
28 import from Sem_08020301_GeneralFormatOfImport_010_import { signature Signature1 };
30 type component GeneralComp {}
32 // type compatibility is checked during parameter passing: for this check, type
33 // information for the signature parameters should be available at this point
34 // to compile the script correctly
35 template Signature1 s_test := {
36 p_param1 := 1 // testing signature parameter name
39 testcase TC_Sem_08020301_GeneralFormatOfImport_010() runs on GeneralComp {
45 execute(TC_Sem_08020301_GeneralFormatOfImport_010());