OneM2M_TestSystem.ttcn 2.04 KB
Newer Older
1 2 3 4 5 6 7 8
/**
 *  Copyright Notification
 *  No part of this document may be reproduced, in an electronic retrieval system or otherwise, except as authorized by written permission.
 *  The copyright and the foregoing restriction extend to reproduction in all media.
 *  © 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC).
 *  All rights reserved.
 *  
 *  @author     ETSI
9 10
 *  @version    $URL: https://oldforge.etsi.org/svn/oneM2M/branches/Release1/ttcn/LibOneM2M/OneM2M_TestSystem.ttcn $
 *              $Id: OneM2M_TestSystem.ttcn 347 2017-08-11 08:48:20Z reinaortega $
11 12 13 14 15 16
 *  @desc       Test System module for oneM2M
 *
 */
module OneM2M_TestSystem {

	import from OneM2M_Types all;
17 18 19
	import from LibCommon_Time all;
	import from OneM2M_Ports all;
	import from OneM2M_Pixits all;
20

21 22 23 24
/* ***************************************
 * 		Test System Components 
 * ***************************************
 */	
25
	type component Tester {
26
		port AdapterControlPort acPort;
27 28 29
		//timers
		timer tc_ac := PX_TAC;
		timer tc_wait;
30
		//global variables
31
		var Configurations vc_config;
32
		var MyResourcesList vc_resourcesList;
33
		var IntegerList vc_resourcesIndexToBeDeleted := {};
34 35
		var PrimitiveScope vc_primitiveScope := PX_PRIMITIVE_SCOPE;
		var AddressingMethod vc_addressingMethod := PX_ADDRESSING_METHOD;
36 37 38 39 40 41
	}
		
	type component CseTester extends Tester {
		port OneM2MPort mcaPort;
		port OneM2MPort mccPort;

42
		//global variables
43
		var AE_optional vc_aeAux;//TODO To be removed
44
		var RemoteCSE_optional vc_remoteCSEAux;//TODO To be removed
45
		var AccessControlPolicy_optional vc_acpAux;
46
		var integer vc_acpAuxIndex := -1;
47 48 49 50 51 52 53

	}
	
	type component AeTester extends Tester {
		port OneM2MPort mcaPort;

		//global variables
54 55
	}
			
56
	type component CseSystem {
57
		port OneM2MPort mcaPort;
58
		port OneM2MPort mccPort;
59
		port AdapterControlPort acPort;
60 61 62 63 64 65 66 67
	}	
	
	type component AeSystem {
		port OneM2MPort mcaPort;
		port AdapterControlPort acPort;
	}		
	
			
68
	
69
	
70 71

}// end of module
72 73 74 75
with {
	extension "anytype charstring"

}