Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/*
* @author STF 370
* @version $Id: LibIot_TestInterface.ttcn 16 2009-06-16 15:06:42Z pintar $
* @desc This module provides the types and components used by the test
* system component for Interoperability tests.
*/
module LibIot_TestInterface {
import from LibUpperTester {
type EquipmentOperationReq, EquipmentOperationRsp;
}
import from LibIot_TypesAndValues all;
import from LibIot_PIXITS {modulepar PX_MAX_MSG_WAIT;}
import from LibCommon_Sync all;
import from LibSip_SIPTypesAndValues all;
import from AtsImsIot_TypesAndValues all;
group abstractTestComponents {
/**
* @desc
* used to coordinate the behavior of other components. It is in charge
* of controlling the overall execution, manangement of testing phases,
* test verdicts collection and synchronization. Used as MTC.
*/
type component TestCoordinator extends OracleServer {
var ComponentIdList vc_compIds;
port AdapterConfigPort acPort;
}
/**
* @desc
* collecting information to manage E2E and conformance verdicts.
* Can be used as MTC.
*/
type component OracleServer extends ServerSyncComp {
port VerdictPort vPort;
var VerdictType vc_e3e_verdict := {none, "init"};
var VerdictType vc_conf_verdict := {none, "init"};
}
type component OracleClient extends SelfSyncComp {
port VerdictPort vPort;
}
/**
* @desc
* This component type is used to monitor interfaces.
* The library provides on the adapter configuration port.
* @remark
* As part of the ATS test system module this component type must be
* extended to include the ATS specific data port!
*/
type component InterfaceMonitor extends OracleClient {
timer tc_wait := PX_MAX_MSG_WAIT;
var charstring vc_interfaceName := "Undefined";
var MonitorInterfaceInfo vc_Interface;
port AdapterConfigPort acPort;
}
/**
* @desc
* This component type is used to trigger, stimualte, configure etc any
* equipment related to the test, i.e., EUTs or other, or the
* interconnecting network. To be used as PTC.
*/
type component EquipmentUser extends OracleClient{
port EquipmentAccessPort eaPort;
timer T_Equipment;
}
/**
* @desc This component type is used to trigger, stimulate, configure etc
* any equipment related to the test, i.e., EUTs or other, or
* the interconnecting network. To be used as PTC.
*/
type component IotEquipmentUser extends EquipmentUser {
}
// TODO commented out due to problems with tools not accepting 'extends' from several components
/**
* @desc This component type is used to trigger, stimulate, configure etc
* any equipment related to the test, i.e., EUTs or other, or
* the interconnecting network. To be used as PTC.
*/
// type component IotEquipmentUser extends EquipmentUser, OracleClient {
// }
}// end group abstractTestComponents
group portDefinitions {
type port EquipmentAccessPort message {
out EquipmentOperationReq;
in EquipmentOperationRsp;
}
type port VerdictPort message {
inout IotVerdict;
}
type port AdapterConfigPort message {
out GeneralConfigurationReq;
out SetFilterReq;
out StartTrafficCaptureReq;
out StopTrafficCaptureReq;
in GeneralConfigurationRsp;
in SetFilterRsp;
in StartTrafficCaptureRsp;
in StopTrafficCaptureRsp;
}
}// end group portDefinitions
}