OneM2M_Testcases.ttcn 145 KB
Newer Older
1 2 3 4 5 6 7 8 9
/**
 *  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
 *  @version    $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_Testcases.ttcn $
10
 *              $Id: OneM2M_Testcases.ttcn 99 2016-06-09 15:04:43Z reinaortega $
11 12 13
 *  @desc       Module containing test cases for oneM2M
 *
 */
14
 //Test
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

module OneM2M_Testcases {

	import from OneM2M_TestSystem all;
	import from OneM2M_Templates all;
	import from OneM2M_Types all;//{type XSD.ID};
	import from OneM2M_TypesAndValues all;
	import from OneM2M_Pixits all;
	import from OneM2M_Functions all;
	import from LibCommon_Time {modulepar all};
	import from XSD all;
	
	//Demos used for validation purposes
	group oneM2M_demos {
	
30
		group helpingTestCases {//These are not part of the test suite, just for verification purposes
31 32 33 34 35 36
			
			testcase TC_DELETE_AE() runs on M2M system M2MSystem {
				
				timer t_ac := 5.0;
				map(self:mcaPort, system:mcaPort); 
		
37
				mcaPort.send(m_request(m_deleteRequest(PX_URI_CSE & PX_CSE_NAME & "/" & PX_RESOURCE_TO_BE_DELETED)));
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
				t_ac.start;
				alt {
					[] mcaPort.receive(mw_responseOK) {
						t_ac.stop;
						log("Postamble: Resource deleted");
						setverdict(pass);
					}
					[] mcaPort.receive(mw_responseKO) {
						t_ac.stop;
						log("Postamble: Error while deleting resource");
						setverdict(fail);
					}
					[] mcaPort.receive {
						t_ac.stop;
						log("Postamble: Unexpected message received");
						setverdict(inconc);
					}
					[] t_ac.timeout {
						log("Postamble: No answer while deleting resource");
						setverdict(inconc);
					}	
				}	
				
				unmap(self:mcaPort, system:mcaPort); 
				stop;
			}	
			
			testcase TC_DELETE_RESOURCES() runs on M2M system M2MSystem {
				
				timer t_ac := 5.0;
				var integer i; 
				map(self:mcaPort, system:mcaPort); 
					
				for (i:=0; i<lengthof(PX_RESOURCES_TO_BE_DELETED); i:= i+1) {  
72
					mcaPort.send(m_request(m_delete(PX_URI_CSE & "/" & PX_CSE_NAME & "/" & PX_RESOURCES_TO_BE_DELETED[i])));
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
					t_ac.start;
					alt {
						[] mcaPort.receive(mw_responseOK) {
							t_ac.stop;
							log("Postamble: Resource deleted");
							setverdict(pass);
						}
						[] mcaPort.receive(mw_responseKO) {
							t_ac.stop;
							log("Postamble: Error while deleting resource");
							setverdict(fail);
						}
						[] mcaPort.receive {
							t_ac.stop;
							log("Postamble: Unexpected message received");
							setverdict(inconc);
						}
						[] t_ac.timeout {
							log("Postamble: No answer while deleting resource");
							setverdict(inconc);
						}	
					}	
				}
			
				unmap(self:mcaPort, system:mcaPort); 
				stop;
			}	
		}
		
	
	
	
	}//end group oneM2M_demos
	
	group CSE {
108
	  
109
		group Registration {
110
	  	  	
111
			testcase TC_CSE_REG_BV_001() runs on M2M system M2MSystem {
112
	  	  	
113
				var M2MResponsePrimitive v_response;
114
				var RequestPrimitive v_request;
115
				var integer v_cseBaseIndex := -1;
116 117 118
				var integer v_resourceIndex := -1;
				
				var ResourceType v_resourceType := int2;
119 120 121
				
				//Preambule
				v_cseBaseIndex := f_preamble_prepareCSE({"C-AE-ID-STEM"});//c_CRUDNDi);
122
	
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
				//Test Body
				v_request := valueof(m_createAe(PX_APP_ID, omit, omit));	
				
				v_request := f_getCreateRequestPrimitive(v_resourceType, omit, v_request, v_cseBaseIndex);
				
				mcaPort.send(m_request(v_request));
				
				tc_ac.start;
				alt {
					[] mcaPort.receive(mw_response(int2001)) {
						tc_ac.stop;
						setverdict(pass, testcasename() & ": AE successfuly created.");
					}
					[] mcaPort.receive(mw_responseInverse(int2001)) -> value v_response{
						tc_ac.stop;
						setverdict(fail, testcasename() & ": Error while creating AE with status code " & int2str(enum2int(v_response.responsePrimitive_.responseStatusCode)));
					}
					[] tc_ac.timeout {
						setverdict(inconc, testcasename() & ": No answer while creating AE");
					}
				}	
								
				// Postamble
				f_postamble_deleteResources();
147
					
148
			}
149
	  	  	
150
			testcase TC_CSE_REG_BV_002() runs on M2M system M2MSystem {
151
	  	  	
152
				var M2MResponsePrimitive v_response;
153 154 155 156 157
				var RequestPrimitive v_request;
				var integer v_aeIndex := -1;
				var integer v_resourceIndex := -1;
				
				var ResourceType v_resourceType := int2;
158
				template RequestPrimitive v_requestPrimitive := m_createAe("APP_ID", omit , "C-AE-ID-STEM");
159
	  	  	
160 161 162
				//Preambule
				template (value) AccessControlOperations v_allowedOperations := int63;
				v_aeIndex := f_preamble_prepareCSE({"C-AE-ID-STEM"}, v_allowedOperations);//c_CRUDNDi);
163 164 165 166 167 168 169
	
					
				v_resourceIndex := f_createResource(v_resourceType, v_requestPrimitive, v_aeIndex); 				
    									
				// Test Body
				v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
	  	  		
170
				v_request.resultContent := int0;//Nothing
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_response(int2001)) {
							tc_ac.stop;
							setverdict(pass, testcasename() & ": AE successfuly created.");
						}
						[] mcaPort.receive(mw_responseInverse(int2001)) -> value v_response{
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while creating AE with status code " & int2str(enum2int(v_response.responsePrimitive_.responseStatusCode)));
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while creating AE");
						}
					}	
    								
					// Postamble
					f_postamble_deleteResources();
					
190
			}
191
	  	  	
192
			testcase TC_CSE_REG_BV_003() runs on M2M system M2MSystem {
193
	  	  	
194
				var M2MResponsePrimitive v_response;
195 196 197 198
				var RequestPrimitive v_request;
				var integer v_aeIndex := -1;
				var integer v_resourceIndex := -1;
				var ResourceType v_resourceType := int2;
199
				template RequestPrimitive v_requestPrimitive := m_createAe("APP_ID", omit,  omit );
200
	  	  	
201 202 203
				//Preambule
				template (value) AccessControlOperations v_allowedOperations := int63;
				v_aeIndex := f_preamble_prepareCSE( omit, v_allowedOperations);//c_CRUDNDi);
204 205 206 207 208 209 210
	
					
				v_resourceIndex := f_createResource(v_resourceType, v_requestPrimitive, v_aeIndex); 				
    									
				// Test Body
				v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
	  	  		
211
				v_request.resultContent := int0;//Nothing
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_response(int4005)) {
							tc_ac.stop;
							setverdict(pass, testcasename() & ": AE creation rejected.");
						}
						[] mcaPort.receive(mw_responseInverse(int4005)) -> value v_response{
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while creating AE with status code " & int2str(enum2int(v_response.responsePrimitive_.responseStatusCode)));
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while creating AE");
						}
					}	
    								
					// Postamble
					f_postamble_deleteResources();
					
231
			}
232
	  	  	
233
			testcase TC_CSE_REG_BV_004() runs on M2M system M2MSystem {
234
	  	  	
235
				var M2MResponsePrimitive v_response;
236 237 238 239
				var RequestPrimitive v_request;
				var integer v_aeIndex := -1;
				var integer v_resourceIndex := -1;
				var ResourceType v_resourceType := int2;
240
				template RequestPrimitive v_requestPrimitive := m_createAe( "C-AE-ID-STEM", {"APP_ID"}, omit);
241
	  	  	
242 243 244
				//Preambule
				template (value) AccessControlOperations v_allowedOperations := int63;
				v_aeIndex := f_preamble_prepareCSE(omit, v_allowedOperations);//c_CRUDNDi);
245 246 247 248 249 250 251
	
					
				v_resourceIndex := f_createResource(v_resourceType, v_requestPrimitive, v_aeIndex); 				
    									
				// Test Body
				v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
	  	  		
252
				v_request.resultContent := int0;//Nothing
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_response(int4005)) {
							tc_ac.stop;
							setverdict(pass, testcasename() & ": AE creation rejected.");
						}
						[] mcaPort.receive(mw_responseInverse(int4005)) -> value v_response{
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while creating AE with status code " & int2str(enum2int(v_response.responsePrimitive_.responseStatusCode)));
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while creating AE");
						}
					}	
    								
					// Postamble
					f_postamble_deleteResources();
					
272
			}
273
	  	  	
274
			testcase TC_CSE_REG_BV_005() runs on M2M system M2MSystem {
275
	  	  	
276
				var M2MResponsePrimitive v_response;
277 278 279 280
				var RequestPrimitive v_request;
				var integer v_aeIndex := -1;
				var integer v_resourceIndex := -1;
				var ResourceType v_resourceType := int2;
281
				template RequestPrimitive v_requestPrimitive := m_createAe( "APP_ID", omit, omit);
282
	  	  	
283 284 285
				//Preambule
				template (value) AccessControlOperations v_allowedOperations := int63;
				v_aeIndex := f_preamble_prepareCSE({"S"}, v_allowedOperations);//c_CRUDNDi);
286 287 288 289 290 291 292 293 294
	
					
				v_resourceIndex := f_createResource(v_resourceType, v_requestPrimitive, v_aeIndex); 				
    									
				// Test Body
				v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
	  	  		
					mcaPort.send(m_request(v_request));
					tc_ac.start;
295

296
					alt {
297
						[] mccPort.receive(mw_request(mw_createAEannc( omit, omit, "APP_ID"))) {
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312
							tc_ac.stop;
							setverdict(pass, testcasename() & ": AE creation redirected.");
						}
						[] mccPort.receive {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while creating AE");
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while creating AE");
						}
					}	
    								
					// Postamble
					f_postamble_deleteResources();
					
313
			}
314
	  	  	
315
		}//end Registration
316 317
		
		group Data_Management_and_Repository {
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361

			group g_CSE_DMR_BV_001 {
					
				testcase TC_CSE_DMR_BV_001_01() runs on M2M system M2MSystem {
					// Local variables
                        
					f_CSE_DMR_BV_001(int3, m_createContainerBase);//Container
				}

				testcase TC_CSE_DMR_BV_001_02() runs on M2M system M2MSystem {
					// Local variables
						
					f_CSE_DMR_BV_001(int9, m_createGroupBase);//Group
				}
					
				testcase TC_CSE_DMR_BV_001_03() runs on M2M system M2MSystem {
					// Local variables
	
					f_CSE_DMR_BV_001(int1, m_createAcpBase);//AccessControlPolicy
				}
				
				testcase TC_CSE_DMR_BV_001_04() runs on M2M system M2MSystem {
					// Local variables
	
					f_CSE_DMR_BV_001(int18, m_createScheduleBase);//Schedule
				}
					
				testcase TC_CSE_DMR_BV_001_05() runs on M2M system M2MSystem {
					// Local variables
	
					f_CSE_DMR_BV_001(int15, m_createPollingChannelBase);//PollingChannel
				}
					
				testcase TC_CSE_DMR_BV_001_06() runs on M2M system M2MSystem {
						// Local variables
	
					f_CSE_DMR_BV_001(int23, m_createSubscriptionBase);//Subscription
					}
				
				function f_CSE_DMR_BV_001(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive) runs on M2M {
    				
					// Local variables
					var M2MResponsePrimitive v_response;
					var RequestPrimitive v_request;
362 363
					var integer v_aeIndex := -1;
					var integer v_resourceIndex := -1;
364 365 366 367 368 369 370 371 372
    										   
					// Test control
    				
					// Test component configuration
					f_cf01Up();
    				
					// Test adapter configuration
    				
					// Preamble
373 374 375
					v_aeIndex := f_preamble_registerAe();//c_CRUDNDi);
					    					
					v_resourceIndex := f_createResource(p_resourceType, p_requestPrimitive, v_aeIndex); 				
376 377
    									
					// Test Body
378
					v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
					v_request.resultContent := int0;//Nothing
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_responseOK) -> value v_response {
							tc_ac.stop;
							if(ispresent(v_response.responsePrimitive_.primitiveContent)){
								setverdict(fail, testcasename() & ": Providing content when RC set to 0");
							} else {
								setverdict(pass, testcasename() & ": No content provided with RC set to 0");
							}
						}
						[] mcaPort.receive(mw_responseKO) {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while retrieving resource");
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while retrieving resource");
						}
					}	
    								
					// Postamble
401
					f_postamble_deleteResources();
402 403 404 405 406 407 408 409 410 411 412
    				
				}//end f_CSE_DMR_BV_001
    				
			} // end g_CSE_DMR_BV_001
			
			group g_CSE_DMR_BV_002 {
					
				testcase TC_CSE_DMR_BV_002_01() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
413
					v_contentResponse.any_1[0].Container_optional := mw_contentContainer_rc1;
414 415 416 417 418 419 420 421
					                        
					f_CSE_DMR_BV_002(int3, m_createContainerBase, v_contentResponse);//Container
				}

				testcase TC_CSE_DMR_BV_002_02() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
422
					v_contentResponse.any_1[0].Group_optional := mw_contentGroup_rc1;
423 424 425 426 427 428 429 430
					
					f_CSE_DMR_BV_002(int9, m_createGroupBase, v_contentResponse);//Group
				}
					
				testcase TC_CSE_DMR_BV_002_03() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
431
					v_contentResponse.any_1[0].AccessControlPolicy_optional := mw_contentAcp_rc1;
432 433 434 435 436 437 438 439
						
					f_CSE_DMR_BV_002(int1, m_createAcpBase,v_contentResponse);//AccessControlPolicy
				}
				
				testcase TC_CSE_DMR_BV_002_04() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
440
					v_contentResponse.any_1[0].Schedule_optional := mw_contentSchedule_rc1;
441 442 443 444 445 446 447 448
						
					f_CSE_DMR_BV_002(int18, m_createScheduleBase, v_contentResponse);//Schedule
				}
					
				testcase TC_CSE_DMR_BV_002_05() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
449
					v_contentResponse.any_1[0].PollingChannel_optional := mw_contentPollingChannelBase;//FIXME
450 451 452 453 454 455 456 457
						
					f_CSE_DMR_BV_002(int15, m_createPollingChannelBase, v_contentResponse);//PollingChannel
				}
					
				testcase TC_CSE_DMR_BV_002_06() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
458
					v_contentResponse.any_1[0].Subscription_optional := mw_contentSubscription_rc1;
459 460 461 462 463 464 465 466 467

					f_CSE_DMR_BV_002(int23, m_createSubscriptionBase, v_contentResponse);//Subscription
				}
				
				function f_CSE_DMR_BV_002(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, template PrimitiveContent p_contentResponse) runs on M2M {
    				
					// Local variables
					var M2MResponsePrimitive v_response;
					var RequestPrimitive v_request;
468 469 470
					
					var integer v_aeIndex := -1;
					var integer v_resourceIndex := -1;
471 472 473 474 475 476 477 478 479
    										   
					// Test control
    				
					// Test component configuration
					f_cf01Up();
    				
					// Test adapter configuration
    				
					// Preamble
480
					v_aeIndex := f_preamble_registerAe();//c_CRUDNDi);
481
					
482
					v_resourceIndex := f_createResource(p_resourceType, p_requestPrimitive, v_aeIndex); 				
483 484
    									
					// Test Body
485
					v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507
					v_request.resultContent := int1;//Attributes
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_responseOK(p_contentResponse)) -> value v_response {
							tc_ac.stop;
							setverdict(pass, testcasename() & ": No child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseOK()) -> value v_response {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseKO) {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while retrieving resource");
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while retrieving resource");
						}
					}	
    								
					// Postamble
508
					f_postamble_deleteResources();
509 510 511 512
    				
				}//end f_CSE_DMR_BV_002
    				
			} // end g_CSE_DMR_BV_002
513
			
514 515 516 517 518 519
			group g_CSE_DMR_BV_003 {
					
				testcase TC_CSE_DMR_BV_003_01() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
520
					v_contentResponse.any_1[0].AnyURI := mw_contentContainer_rc2;
521 522 523 524 525 526 527 528
					                        
					f_CSE_DMR_BV_003(int3, m_createContainerBase, v_contentResponse);//Container
				}

				testcase TC_CSE_DMR_BV_003_02() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
529
					v_contentResponse.any_1[0].AnyURI := mw_contentGroup_rc2;
530 531 532 533 534 535 536 537
					
					f_CSE_DMR_BV_003(int9, m_createGroupBase, v_contentResponse);//Group
				}
					
				testcase TC_CSE_DMR_BV_003_03() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
538
					v_contentResponse.any_1[0].AnyURI := mw_contentAcp_rc2;
539 540 541 542 543 544 545 546
						
					f_CSE_DMR_BV_003(int1, m_createAcpBase,v_contentResponse);//AccessControlPolicy
				}
				
				testcase TC_CSE_DMR_BV_003_04() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
547
					v_contentResponse.any_1[0].AnyURI := mw_contentSchedule_rc2;
548 549 550 551 552 553 554 555
						
					f_CSE_DMR_BV_003(int18, m_createScheduleBase, v_contentResponse);//Schedule
				}
					
				testcase TC_CSE_DMR_BV_003_05() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
556
					v_contentResponse.any_1[0].PollingChannel_optional := mw_contentPollingChannelBase;//FIXME
557 558 559 560 561 562 563 564
						
					f_CSE_DMR_BV_003(int15, m_createPollingChannelBase, v_contentResponse);//PollingChannel
				}
					
				testcase TC_CSE_DMR_BV_003_06() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
565
					v_contentResponse.any_1[0].AnyURI := mw_contentSubscription_rc2;
566 567 568 569 570 571 572 573 574

					f_CSE_DMR_BV_003(int23, m_createSubscriptionBase, v_contentResponse);//Subscription
				}
				
				function f_CSE_DMR_BV_003(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, template PrimitiveContent p_contentResponse) runs on M2M {
    				
					// Local variables
					var M2MResponsePrimitive v_response;
					var RequestPrimitive v_request;
575 576 577 578
					
					var integer v_aeIndex := -1;
					var integer v_resourceIndex := -1;
 						   
579 580 581 582 583 584 585 586
					// Test control
    				
					// Test component configuration
					f_cf01Up();
    				
					// Test adapter configuration
    				
					// Preamble
587
					v_aeIndex := f_preamble_registerAe();//c_CRUDNDi);
588
					
589
					v_resourceIndex := f_createResource(p_resourceType, p_requestPrimitive, v_aeIndex); 				
590 591
    									
					// Test Body
592
					v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
593 594 595 596 597 598
					v_request.resultContent := int2;//Attributes
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_responseOK(p_contentResponse)) -> value v_response {
							tc_ac.stop;
599
							setverdict(pass, testcasename() & ": Only hierarchical address provided with RC set to 2");
600 601 602
						}
						[] mcaPort.receive(mw_responseOK()) -> value v_response {
							tc_ac.stop;
603
							setverdict(fail, testcasename() & ": Not only hierarchical address provided with RC set to 2");
604 605 606 607 608 609 610 611 612 613 614
						}
						[] mcaPort.receive(mw_responseKO) {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while retrieving resource");
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while retrieving resource");
						}
					}	
    								
					// Postamble
615
					f_postamble_deleteResources();
616 617 618 619 620 621 622 623 624 625 626
    				
				}//end f_CSE_DMR_BV_003
    				
			} // end g_CSE_DMR_BV_003
			
			group g_CSE_DMR_BV_004 {
					
				testcase TC_CSE_DMR_BV_004_01() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
627
					v_contentResponse.any_1[0].Container_optional := mw_contentContainer_rc3;
628 629 630 631 632 633 634 635
					                        
					f_CSE_DMR_BV_004(int3, m_createContainerBase, v_contentResponse);//Container
				}

				testcase TC_CSE_DMR_BV_004_02() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
636
					v_contentResponse.any_1[0].Group_optional := mw_contentGroup_rc3;
637 638 639 640 641 642 643 644
					
					f_CSE_DMR_BV_004(int9, m_createGroupBase, v_contentResponse);//Group
				}
					
				testcase TC_CSE_DMR_BV_004_03() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
645
					v_contentResponse.any_1[0].AccessControlPolicy_optional := mw_contentAcp_rc3;
646 647 648 649 650 651 652 653
						
					f_CSE_DMR_BV_004(int1, m_createAcpBase,v_contentResponse);//AccessControlPolicy
				}
				
				testcase TC_CSE_DMR_BV_004_04() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
654
					v_contentResponse.any_1[0].Schedule_optional := mw_contentSchedule_rc3;
655 656 657 658 659 660 661 662
						
					f_CSE_DMR_BV_004(int18, m_createScheduleBase, v_contentResponse);//Schedule
				}
					
				testcase TC_CSE_DMR_BV_004_05() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
663
					v_contentResponse.any_1[0].PollingChannel_optional := mw_contentPollingChannelBase;//FIXME
664 665 666 667 668 669 670 671
						
					f_CSE_DMR_BV_004(int15, m_createPollingChannelBase, v_contentResponse);//PollingChannel
				}
					
				testcase TC_CSE_DMR_BV_004_06() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
672
					v_contentResponse.any_1[0].Subscription_optional := mw_contentSubscription_rc3;
673 674 675 676 677 678 679 680 681

					f_CSE_DMR_BV_004(int23, m_createSubscriptionBase, v_contentResponse);//Subscription
				}
				
				function f_CSE_DMR_BV_004(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, template PrimitiveContent p_contentResponse) runs on M2M {
    				
					// Local variables
					var M2MResponsePrimitive v_response;
					var RequestPrimitive v_request;
682 683 684 685
					
					var integer v_aeIndex := -1;
					var integer v_resourceIndex := -1;
											   
686 687 688 689 690 691 692 693
					// Test control
    				
					// Test component configuration
					f_cf01Up();
    				
					// Test adapter configuration
    				
					// Preamble
694
					v_aeIndex := f_preamble_registerAe();//c_CRUDNDi);
695
					
696
					v_resourceIndex := f_createResource(p_resourceType, p_requestPrimitive, v_aeIndex); 				
697 698
    									
					// Test Body
699
					v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721
					v_request.resultContent := int1;//Attributes
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_responseOK(p_contentResponse)) -> value v_response {
							tc_ac.stop;
							setverdict(pass, testcasename() & ": No child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseOK()) -> value v_response {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseKO) {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while retrieving resource");
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while retrieving resource");
						}
					}	
    								
					// Postamble
722
					f_postamble_deleteResources();
723 724 725 726 727 728 729 730 731 732 733
    				
				}//end f_CSE_DMR_BV_004
    				
			} // end g_CSE_DMR_BV_004
			
			group g_CSE_DMR_BV_005 {
					
				testcase TC_CSE_DMR_BV_005_01() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
734
					v_contentResponse.any_1[0].Container_optional := mw_contentContainer_rc4;
735 736 737 738 739 740 741 742
					                        
					f_CSE_DMR_BV_005(int3, m_createContainerBase, v_contentResponse);//Container
				}

				testcase TC_CSE_DMR_BV_005_02() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
743
					v_contentResponse.any_1[0].Group_optional := mw_contentGroup_rc4;
744 745 746 747 748 749 750 751
					
					f_CSE_DMR_BV_005(int9, m_createGroupBase, v_contentResponse);//Group
				}
					
				testcase TC_CSE_DMR_BV_005_03() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
752
					v_contentResponse.any_1[0].AccessControlPolicy_optional := mw_contentAcp_rc4;
753 754 755 756 757 758 759 760
						
					f_CSE_DMR_BV_005(int1, m_createAcpBase,v_contentResponse);//AccessControlPolicy
				}
				
				testcase TC_CSE_DMR_BV_005_04() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
761
					v_contentResponse.any_1[0].Schedule_optional := mw_contentSchedule_rc4;
762 763 764 765 766 767 768 769
						
					f_CSE_DMR_BV_005(int18, m_createScheduleBase, v_contentResponse);//Schedule
				}
					
				testcase TC_CSE_DMR_BV_005_05() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
770
					v_contentResponse.any_1[0].PollingChannel_optional := mw_contentPollingChannelBase;//FIXME
771 772 773 774 775 776 777 778
						
					f_CSE_DMR_BV_005(int15, m_createPollingChannelBase, v_contentResponse);//PollingChannel
				}
					
				testcase TC_CSE_DMR_BV_005_06() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
779
					v_contentResponse.any_1[0].Subscription_optional := mw_contentSubscription_rc4;
780 781 782 783 784 785 786 787 788

					f_CSE_DMR_BV_005(int23, m_createSubscriptionBase, v_contentResponse);//Subscription
				}
				
				function f_CSE_DMR_BV_005(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, template PrimitiveContent p_contentResponse) runs on M2M {
    				
					// Local variables
					var M2MResponsePrimitive v_response;
					var RequestPrimitive v_request;
789 790 791
					
					var integer v_aeIndex := -1;
					var integer v_resourceIndex := -1;
792 793 794 795 796 797 798 799 800
    										   
					// Test control
    				
					// Test component configuration
					f_cf01Up();
    				
					// Test adapter configuration
    				
					// Preamble
801
					v_aeIndex := f_preamble_registerAe();//c_CRUDNDi);
802
					
803
					v_resourceIndex := f_createResource(p_resourceType, p_requestPrimitive, v_aeIndex); 				
804 805
    									
					// Test Body
806
					v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828
					v_request.resultContent := int1;//Attributes
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_responseOK(p_contentResponse)) -> value v_response {
							tc_ac.stop;
							setverdict(pass, testcasename() & ": No child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseOK()) -> value v_response {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseKO) {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while retrieving resource");
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while retrieving resource");
						}
					}	
    								
					// Postamble
829
					f_postamble_deleteResources();
830 831 832 833 834 835 836 837 838 839 840
    				
				}//end f_CSE_DMR_BV_005
    				
			} // end g_CSE_DMR_BV_005
			
			group g_CSE_DMR_BV_006 {
					
				testcase TC_CSE_DMR_BV_006_01() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
841
					v_contentResponse.any_1[0].Container_optional := mw_contentContainer_rc5;
842 843 844 845 846 847 848 849
					                        
					f_CSE_DMR_BV_006(int3, m_createContainerBase, v_contentResponse);//Container
				}

				testcase TC_CSE_DMR_BV_006_02() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
850
					v_contentResponse.any_1[0].Group_optional := mw_contentGroup_rc5;
851 852 853 854 855 856 857 858
					
					f_CSE_DMR_BV_006(int9, m_createGroupBase, v_contentResponse);//Group
				}
					
				testcase TC_CSE_DMR_BV_006_03() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
859
					v_contentResponse.any_1[0].AccessControlPolicy_optional := mw_contentAcp_rc5;
860 861 862 863 864 865 866 867
						
					f_CSE_DMR_BV_006(int1, m_createAcpBase,v_contentResponse);//AccessControlPolicy
				}
				
				testcase TC_CSE_DMR_BV_006_04() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
868
					v_contentResponse.any_1[0].Schedule_optional := mw_contentSchedule_rc5;
869 870 871 872 873 874 875 876
						
					f_CSE_DMR_BV_006(int18, m_createScheduleBase, v_contentResponse);//Schedule
				}
					
				testcase TC_CSE_DMR_BV_006_05() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
877
					v_contentResponse.any_1[0].PollingChannel_optional := mw_contentPollingChannelBase;//FIXME
878 879 880 881 882 883 884 885
						
					f_CSE_DMR_BV_006(int15, m_createPollingChannelBase, v_contentResponse);//PollingChannel
				}
					
				testcase TC_CSE_DMR_BV_006_06() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
886
					v_contentResponse.any_1[0].Subscription_optional := mw_contentSubscription_rc5;
887 888 889 890 891 892 893 894 895

					f_CSE_DMR_BV_006(int23, m_createSubscriptionBase, v_contentResponse);//Subscription
				}
				
				function f_CSE_DMR_BV_006(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, template PrimitiveContent p_contentResponse) runs on M2M {
    				
					// Local variables
					var M2MResponsePrimitive v_response;
					var RequestPrimitive v_request;
896 897 898 899
					
					var integer v_aeIndex := -1;
					var integer v_resourceIndex := -1;
     										   
900 901 902 903 904 905 906 907
					// Test control
    				
					// Test component configuration
					f_cf01Up();
    				
					// Test adapter configuration
    				
					// Preamble
908
					v_aeIndex := f_preamble_registerAe();//c_CRUDNDi);
909
					
910
					v_resourceIndex := f_createResource(p_resourceType, p_requestPrimitive, v_aeIndex); 				
911 912
    									
					// Test Body
913
					v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935
					v_request.resultContent := int1;//Attributes
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_responseOK(p_contentResponse)) -> value v_response {
							tc_ac.stop;
							setverdict(pass, testcasename() & ": No child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseOK()) -> value v_response {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseKO) {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while retrieving resource");
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while retrieving resource");
						}
					}	
    								
					// Postamble
936
					f_postamble_deleteResources();
937 938 939 940 941 942 943 944 945 946 947
    				
				}//end f_CSE_DMR_BV_006
    				
			} // end g_CSE_DMR_BV_006
			
			group g_CSE_DMR_BV_007 {
					
				testcase TC_CSE_DMR_BV_007_01() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
948
					v_contentResponse.any_1[0].Container_optional := mw_contentContainer_rc6;
949 950 951 952 953 954 955 956
					                        
					f_CSE_DMR_BV_007(int3, m_createContainerBase, v_contentResponse);//Container
				}

				testcase TC_CSE_DMR_BV_007_02() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
957
					v_contentResponse.any_1[0].Group_optional := mw_contentGroup_rc6;
958 959 960 961 962 963 964 965
					
					f_CSE_DMR_BV_007(int9, m_createGroupBase, v_contentResponse);//Group
				}
					
				testcase TC_CSE_DMR_BV_007_03() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
966
					v_contentResponse.any_1[0].AccessControlPolicy_optional := mw_contentAcp_rc6;
967 968 969 970 971 972 973 974
						
					f_CSE_DMR_BV_007(int1, m_createAcpBase,v_contentResponse);//AccessControlPolicy
				}
				
				testcase TC_CSE_DMR_BV_007_04() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
975
					v_contentResponse.any_1[0].Schedule_optional := mw_contentSchedule_rc6;
976 977 978 979 980 981 982 983
						
					f_CSE_DMR_BV_007(int18, m_createScheduleBase, v_contentResponse);//Schedule
				}
					
				testcase TC_CSE_DMR_BV_007_05() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
984
					v_contentResponse.any_1[0].PollingChannel_optional := mw_contentPollingChannelBase;//FIXME
985 986 987 988 989 990 991 992
						
					f_CSE_DMR_BV_007(int15, m_createPollingChannelBase, v_contentResponse);//PollingChannel
				}
					
				testcase TC_CSE_DMR_BV_007_06() runs on M2M system M2MSystem {
					// Local variables
					var template PrimitiveContent v_contentResponse;
					
993
					v_contentResponse.any_1[0].Subscription_optional := mw_contentSubscription_rc6;
994 995 996 997 998 999 1000 1001 1002

					f_CSE_DMR_BV_007(int23, m_createSubscriptionBase, v_contentResponse);//Subscription
				}
				
				function f_CSE_DMR_BV_007(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, template PrimitiveContent p_contentResponse) runs on M2M {
    				
					// Local variables
					var M2MResponsePrimitive v_response;
					var RequestPrimitive v_request;
1003 1004 1005
					
					var integer v_aeIndex := -1;
					var integer v_resourceIndex := -1;
1006 1007 1008 1009 1010 1011 1012 1013 1014
    										   
					// Test control
    				
					// Test component configuration
					f_cf01Up();
    				
					// Test adapter configuration
    				
					// Preamble
1015
					v_aeIndex := f_preamble_registerAe();//c_CRUDNDi);
1016
					
1017
					v_resourceIndex := f_createResource(p_resourceType, p_requestPrimitive, v_aeIndex); 				
1018 1019
    									
					// Test Body
1020
					v_request := valueof(m_retrieveResource(f_getResourceAddress(v_resourceIndex)));
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042
					v_request.resultContent := int1;//Attributes
					mcaPort.send(m_request(v_request));
					tc_ac.start;
					alt {
						[] mcaPort.receive(mw_responseOK(p_contentResponse)) -> value v_response {
							tc_ac.stop;
							setverdict(pass, testcasename() & ": No child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseOK()) -> value v_response {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Child resources provided with RC set to 1");
						}
						[] mcaPort.receive(mw_responseKO) {
							tc_ac.stop;
							setverdict(fail, testcasename() & ": Error while retrieving resource");
						}
						[] tc_ac.timeout {
							setverdict(inconc, testcasename() & ": No answer while retrieving resource");
						}
					}	
    								
					// Postamble
1043
					f_postamble_deleteResources();
1044 1045 1046 1047 1048
    				
				}//end f_CSE_DMR_BV_007
    				
			} // end g_CSE_DMR_BV_007
						
1049 1050 1051 1052 1053 1054
			group Create {
				
				group g_CSE_DMR_CRE_BV_001 {
					
					testcase TC_CSE_DMR_CRE_BV_001_01() runs on M2M system M2MSystem {
						// Local variables
1055
						var template RequestPrimitive v_createRequest := m_createContainerBase;
1056
						var ResponsePrimitive v_responsePrimitive;
1057
						
1058
						v_createRequest.primitiveContent.any_1[0].Container_optional.resourceName := omit;
1059
                        
1060
						v_responsePrimitive := f_CSE_DMR_CRE_BV_001(int3, v_createRequest);//Container
1061 1062 1063
						
						log(v_responsePrimitive);
                        
1064 1065 1066 1067 1068
						if(getverdict == pass){
							if(not ispresent(v_responsePrimitive.primitiveContent.any_1[0].Container_optional.resourceName)){
								setverdict(fail, testcasename(), ": Error, resourceName attribute not provided");
							}
						}
1069 1070 1071 1072
					}

					testcase TC_CSE_DMR_CRE_BV_001_02() runs on M2M system M2MSystem {
						// Local variables
1073
						var template RequestPrimitive v_createRequest := m_createGroupBase;
1074
						var ResponsePrimitive v_responsePrimitive;
1075
						
1076
						v_createRequest.primitiveContent.any_1[0].Group_optional.resourceName := omit;
1077
						
1078
						v_responsePrimitive := f_CSE_DMR_CRE_BV_001(int9, v_createRequest);//Group
1079 1080
						
						if(getverdict == pass){
1081
							if(not ispresent(v_responsePrimitive.primitiveContent.any_1[0].Group_optional.resourceName)){
1082 1083 1084
								setverdict(fail, testcasename(), ": Error, resourceName attribute not provided");
							}
						}
1085 1086 1087 1088
					}
					
					testcase TC_CSE_DMR_CRE_BV_001_03() runs on M2M system M2MSystem {
						// Local variables
1089
						var template RequestPrimitive v_createRequest := m_createAcpBase;
1090
						var ResponsePrimitive v_responsePrimitive;
1091
						
1092
						v_createRequest.primitiveContent.any_1[0].AccessControlPolicy_optional.resourceName := omit;
1093
	
1094
						v_responsePrimitive := f_CSE_DMR_CRE_BV_001(int1, v_createRequest);//AccessControlPolicy
1095 1096
						
						if(getverdict == pass){
1097
							if(not ispresent(v_responsePrimitive.primitiveContent.any_1[0].AccessControlPolicy_optional.resourceName)){
1098 1099 1100
								setverdict(fail, testcasename(), ": Error, resourceName attribute not provided");
							}
						}
1101 1102 1103 1104
					}
				
					testcase TC_CSE_DMR_CRE_BV_001_04() runs on M2M system M2MSystem {
						// Local variables
1105
						var template RequestPrimitive v_createRequest := m_createScheduleBase;
1106
						var ResponsePrimitive v_responsePrimitive;
1107
						
1108
						v_createRequest.primitiveContent.any_1[0].Schedule_optional.resourceName := omit;
1109
	
1110
						v_responsePrimitive := f_CSE_DMR_CRE_BV_001(int18, v_createRequest);//Schedule
1111 1112
						
						if(getverdict == pass){
1113
							if(not ispresent(v_responsePrimitive.primitiveContent.any_1[0].Schedule_optional.resourceName)){
1114 1115 1116
								setverdict(fail, testcasename(), ": Error, resourceName attribute not provided");
							}
						}
1117 1118 1119 1120
					}
					
					testcase TC_CSE_DMR_CRE_BV_001_05() runs on M2M system M2MSystem {
						// Local variables
1121
						var template RequestPrimitive v_createRequest := m_createPollingChannelBase;
1122
						var ResponsePrimitive v_responsePrimitive;
1123
						
1124
						v_createRequest.primitiveContent.any_1[0].PollingChannel_optional.resourceName := omit;
1125
	
1126
						v_responsePrimitive := f_CSE_DMR_CRE_BV_001(int15, v_createRequest);//PollingChannel
1127 1128
						
						if(getverdict == pass){
1129
							if(not ispresent(v_responsePrimitive.primitiveContent.any_1[0].PollingChannel_optional.resourceName)){
1130 1131 1132
								setverdict(fail, testcasename(), ": Error, resourceName attribute not provided");
							}
						}
1133 1134 1135
					}
					
					testcase TC_CSE_DMR_CRE_BV_001_06() runs on M2M system M2MSystem {
1136 1137
						// Local variables
						var template RequestPrimitive v_createRequest := m_createSubscriptionBase;
1138
						var ResponsePrimitive v_responsePrimitive;
1139
						
1140
						v_createRequest.primitiveContent.any_1[0].Subscription_optional.resourceName := omit;
1141

1142
						v_responsePrimitive := f_CSE_DMR_CRE_BV_001(int23, v_createRequest);//Subscription
1143 1144
						
						if(getverdict == pass){
1145
							if(not ispresent(v_responsePrimitive.primitiveContent.any_1[0].Subscription_optional.resourceName)){
1146 1147 1148
								setverdict(fail, testcasename(), ": Error, resourceName attribute not provided");
							}
						}
1149
					}
1150
					
1151
					function f_CSE_DMR_CRE_BV_001(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive) runs on M2M return ResponsePrimitive {
1152
    				
1153 1154 1155
						// Local variables
						var M2MResponsePrimitive v_response;
						var RequestPrimitive v_request;
1156 1157
    					
						var integer v_aeIndex := -1;
1158
    										   
1159
						// Test control
1160
    				
1161 1162
						// Test component configuration
						f_cf01Up();
1163
    				
1164
						// Test adapter configuration
1165
    				
1166
						// Preamble
1167
						v_aeIndex := f_preamble_registerAe();//c_CRUDNDi); 			
1168
    									
1169
						// Test Body
1170
    					
1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183