OneM2M_Pixits.ttcn 3.06 KB
Newer Older
1
2
3
4
5
6
7
/**
 *  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.
 *  
8
 *  @author     oneM2M
9
 *  @version    $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/LibOneM2M/OneM2M_Pixits.ttcn $
10
 *              $Id: OneM2M_Pixits.ttcn 234 2017-03-20 16:37:29Z reinaortega $
11
12
13
14
15
16
 *  @desc       Module containing Pixits for oneM2M
 *
 */
module OneM2M_Pixits {
	
	import from XSD all;
17
	import from OneM2M_Types all;
18
	
19
	group TestAdapterParameters {}
20

oneM2MTester Develop Team's avatar
oneM2MTester Develop Team committed
21
	modulepar boolean PX_DELETE_CREATED_RESOURCES 	:= true;
22
	
23
	modulepar XSD.AnyURI PX_RESOURCE_TO_BE_DELETED 	:= "/ae_test";
24
25
26
	
	modulepar XSD.IDREFS PX_RESOURCES_TO_BE_DELETED := {"/ae_test", "/MyAcp"};
	
27
	modulepar charstring PX_SUT_ADDRESS 			:= "127.0.0.1:8080";
28
	
29
	modulepar charstring PX_TESTER_ADDRESS 			:= "127.0.0.1:3131";
30
	
31
	modulepar charstring PX_XML_NAMESPACE 			:= "m2m=""http://www.onem2m.org/xml/protocols""";
32
	
33
34
35
36
37
	modulepar XSD.ID PX_CSE_NAME 				:= "cseName";
		
	modulepar XSD.ID PX_CSE_ID 					:= "cseId";
	
	modulepar XSD.ID PX_CSE_RESOURCE_ID			:= "cseResourceId";
38
	
39
	modulepar XSD.AnyURI PX_URI_CSE 				:= "in-name";//TODO to be deleted
40
		
oneM2MTester Develop Team's avatar
oneM2MTester Develop Team committed
41
	modulepar boolean PX_UNSTRUCTURED 				:= false;
42
	
43
44
45
	modulepar XSD.ID PX_AE_ID_STEM				:= "";
	
	modulepar XSD.ID PX_SUPER_USER				:= "admin:admin";
46
	
47
	modulepar XSD.ID PX_APP_ID 					:= "myAppId";
48
	
oneM2MTester Develop Team's avatar
oneM2MTester Develop Team committed
49
50
51
	modulepar boolean PX_RUN_POSTAMBLE 				:= true;
	
	modulepar ListOfURIs PX_ACOR 					:= {"*"};
52
	
53
54
	modulepar AddressingFormat PX_ADDRESSING_FORMAT := e_cseRelative;
	
55
	modulepar charstring PX_SERIALIZATION			:= "XML";
oneM2MTester Develop Team's avatar
oneM2MTester Develop Team committed
56
57
	
	modulepar charstring PX_PROTOCOL_BINDING 		:= "HTTP";
58
	
59
	modulepar boolean PX_FROM_IS_AE_ID 				:= true;
60
61
	//@Martin
	//for checking whether the locationPolicy creation request is originated from a ASN-AE
62
63
	//NOTE: Apply to Device-based location request, and this requires Test System (TS) to activate ASN-AE mode to test IUT  	
	modulepar boolean PX_IUT_IS_ASN_CSE				:= false; //default //set it to true when running Device-based location testcases 	
64
	modulepar boolean PX_IUT_IS_MN_CSE				:= false; //default //set it to true when running Share-based location testcases
65
	
oneM2MTester Develop Team's avatar
oneM2MTester Develop Team committed
66
	//@Martin
67
	//constant parameters for LOC  
68
	modulepar XSD.Token PX_LOCATION_TARGET_ID				:= "{LOCATION-TARGET-ID}"; //SUPPOSE TO BE RECEIVED FROM LOCATION SERVER
69
70
	modulepar XSD.AnyURI PX_LOCATION_SERVER_ADDRESS		:= "{LOCATION-SERVER-ADDRESS}";
	
oneM2MTester Develop Team's avatar
oneM2MTester Develop Team committed
71
	modulepar charstring PX_LOCATION_UPDATE_PERIOD			:= "PT10M10S" ;//10 Minute 10 Seconds
72
	modulepar charstring PX_LOCATION_CONTAINER_NAME		:= "myLoContainer";
73
	
74
	modulepar Labels PX_LABELS := {"VALUE_1"}; 	
75
	modulepar boolean PX_IS_LOC_CONTAINER	:= false;//default //set it to true when the container is created to store location information
76
	
77
	modulepar boolean PX_DISABLE_STOP_ON_ERROR := false;
78
}  // end of module