source: trunk/ETSI-Testsuites/ETSI_auto_IOT/adapter/validation/LibIot/LibIot_TestInterface.ttcn @ 32

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