OneM2M_TestControl_ADN_profile_4.ttcn 7.32 KB
/**
 *  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://oldforge.etsi.org/svn/oneM2M/branches/Release1/ttcn/OneM2M_TestControl.ttcn $
 *              $Id: OneM2M_TestControl.ttcn 347 2017-08-11 08:48:20Z reinaortega $
 *  @desc       Test control module for oneM2M
 *
 */
module OneM2M_TestControl_ADN_profile_4 {


	import from OneM2M_Testcases_AE_Release_1 all;	
	import from OneM2M_Pics all;
	
	control {
		//AE_GEN_00001
		if(PICS_PRIMITIVE_SCOPE_CSE_RELATIVE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_CRE_001_CSR());}
		if(PICS_PRIMITIVE_SCOPE_SP_RELATIVE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_CRE_001_SPR());}
		if(PICS_PRIMITIVE_SCOPE_ABSOLUTE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_CRE_001_ABS());}
		if(PICS_PRIMITIVE_SCOPE_CSE_RELATIVE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_CRE_002_CSR());}
		if(PICS_PRIMITIVE_SCOPE_SP_RELATIVE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_CRE_002_SPR());}
		if(PICS_PRIMITIVE_SCOPE_ABSOLUTE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_CRE_002_ABS());}
		if(PICS_PRIMITIVE_SCOPE_CSE_RELATIVE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_UPD_001_CSR());}
		if(PICS_PRIMITIVE_SCOPE_SP_RELATIVE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_UPD_001_SPR());}
		if(PICS_PRIMITIVE_SCOPE_ABSOLUTE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_UPD_001_ABS());}
		if(PICS_PRIMITIVE_SCOPE_CSE_RELATIVE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_UPD_002_CSR());}
		if(PICS_PRIMITIVE_SCOPE_SP_RELATIVE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_UPD_002_SPR());}
		if(PICS_PRIMITIVE_SCOPE_ABSOLUTE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_UPD_002_ABS());}
		if(PICS_PRIMITIVE_SCOPE_CSE_RELATIVE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_RET_001_CSR());}
		if(PICS_PRIMITIVE_SCOPE_SP_RELATIVE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_RET_001_SPR());}
		if(PICS_PRIMITIVE_SCOPE_ABSOLUTE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_RET_001_ABS());}
		if(PICS_PRIMITIVE_SCOPE_CSE_RELATIVE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_RET_002_CSR());}
		if(PICS_PRIMITIVE_SCOPE_SP_RELATIVE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_RET_002_SPR());}
		if(PICS_PRIMITIVE_SCOPE_ABSOLUTE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_RET_002_ABS());}
		if(PICS_PRIMITIVE_SCOPE_CSE_RELATIVE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_DEL_001_CSR());}
		if(PICS_PRIMITIVE_SCOPE_SP_RELATIVE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_DEL_001_SPR());}
		if(PICS_PRIMITIVE_SCOPE_ABSOLUTE and PICS_UNSTRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_DEL_001_ABS());}
		if(PICS_PRIMITIVE_SCOPE_CSE_RELATIVE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_DEL_002_CSR());}
		if(PICS_PRIMITIVE_SCOPE_SP_RELATIVE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_DEL_002_SPR());}
		if(PICS_PRIMITIVE_SCOPE_ABSOLUTE and PICS_STRUCTURED_CSE_RELATIVE_RESOURCE_ID_FORMAT) {execute (TC_AE_GEN_DEL_002_ABS());}
		//AE_GEN_00002 
		if(true) {execute (TC_AE_DMR_CRE_001());}
		if(true) {execute (TC_AE_DMR_RET_001_CB());}
		if(true) {execute (TC_AE_DMR_RET_001_AE());}
		if(true) {execute (TC_AE_DMR_RET_001_CNT());}
		if(true) {execute (TC_AE_DMR_UPD_002_LBL());}
		if(true) {execute (TC_AE_DMR_DEL_003());}
		//AE_REG_00001
		if(true) {execute (TC_AE_DMR_RET_001_CB());}
		//AE_REG_00002
		if(true) {execute (TC_AE_REG_CRE_001());}
		if(true) {execute (TC_AE_REG_CRE_002_RR());}
		if(true) {execute (TC_AE_REG_CRE_002_RN());}
		if(true) {execute (TC_AE_REG_CRE_002_ET());}
		if(true) {execute (TC_AE_REG_CRE_002_LBL());}
		if(true) {execute (TC_AE_REG_CRE_002_APN());}
		if(true) {execute (TC_AE_REG_CRE_002_POA());}
		if(true) {execute (TC_AE_REG_CRE_002_NL());}
		if(true) {execute (TC_AE_REG_CRE_002_CSZ());}
		if(true) {execute (TC_AE_DMR_UPD_001_ET());}
		if(true) {execute (TC_AE_DMR_UPD_001_LBL());}
		if(true) {execute (TC_AE_DMR_UPD_001_APN());}
		if(true) {execute (TC_AE_DMR_UPD_001_POA());}
		if(true) {execute (TC_AE_DMR_UPD_001_NL());}
		if(true) {execute (TC_AE_DMR_UPD_001_RR());}
		if(true) {execute (TC_AE_DMR_UPD_001_CSZ());}
		if(true) {execute (TC_AE_REG_DEL_001());}
		if(true) {execute (TC_AE_DMR_RET_001_AE());}
		//AE/DMR/00001
		if(true) {execute (TC_AE_DMR_CRE_001());}
		if(PICS_CNT_RN) {execute (TC_AE_DMR_CRE_004_RN());}
		if(PICS_CNT_ET) {execute (TC_AE_DMR_CRE_004_ET());}
		if(PICS_CNT_LBL) {execute (TC_AE_DMR_CRE_004_LBL());}
		if(PICS_CNT_CR) {execute (TC_AE_DMR_CRE_004_CR());}
		if(PICS_CNT_MNI) {execute (TC_AE_DMR_CRE_004_MNI());}
		if(PICS_CNT_MBS) {execute (TC_AE_DMR_CRE_004_MBS());}
		if(PICS_CNT_MIA) {execute (TC_AE_DMR_CRE_004_MIA());}
		if(true) {execute (TC_AE_DMR_UPD_002_ET());}
		if(true) {execute (TC_AE_DMR_UPD_002_LBL());}
		if(true) {execute (TC_AE_DMR_UPD_002_MNI());}
		if(true) {execute (TC_AE_DMR_UPD_002_MBS());}
		if(true) {execute (TC_AE_DMR_UPD_002_MIA());}
		if(true) {execute (TC_AE_DMR_DEL_003());}
		if(true) {execute (TC_AE_DMR_RET_004());}
		//AE/DMR/00002
		if(true) {execute (TC_AE_DMR_CRE_002());}
		if(PICS_CIN_RN) {execute (TC_AE_DMR_CRE_003_RN());}
		if(PICS_CIN_ET) {execute (TC_AE_DMR_CRE_003_ET());}
		if(PICS_CIN_LBL) {execute (TC_AE_DMR_CRE_003_LBL());}
		if(PICS_CIN_CR) {execute (TC_AE_DMR_CRE_003_CR());}
		if(PICS_CIN_CNF) {execute (TC_AE_DMR_CRE_003_CNF());}
		if(true) {execute (TC_AE_DMR_RET_005());}
		if(true) {execute (TC_AE_DMR_RET_002());}
		if(true) {execute (TC_AE_DMR_RET_003());}
		if(true) {execute (TC_AE_DMR_DEL_004());}
		if(true) {execute (TC_AE_DMR_DEL_001());}
		if(true) {execute (TC_AE_DMR_DEL_002());}

		//Extendable features
		//AE/REG/00002
		if(true) {execute (TC_AE_REG_CRE_002_API());}
		if(true) {execute (TC_AE_REG_CRE_002_OR());}
		if(true) {execute (TC_AE_DMR_UPD_001_OR());}
		// AE/DMR/00001
		if(PICS_CNT_ACPI) {execute (TC_AE_DMR_CRE_004_ACPI());}
		if(PICS_CNT_OR) {execute (TC_AE_DMR_CRE_004_OR());}
		//if(true) {execute (TC_AE_DMR_CRE_004_LI());}//TODO To be implemented
		//AE/SUB/00001
		//if(true) {execute (TC_AE_SUB_CRE_002_LBL());}//TODO To be implemented. TP As well
		if(PICS_SUB_SU) {execute (TC_AE_SUB_CRE_002_SU());}
		if(PICS_SUB_ACPI) {execute (TC_AE_SUB_CRE_002_ACPI());}
		if(PICS_SUB_ENC) {execute (TC_AE_SUB_CRE_002_ENC());}
		if(PICS_SUB_EXC) {execute (TC_AE_SUB_CRE_002_EXC());}
		if(PICS_SUB_NFU) {execute (TC_AE_SUB_CRE_002_NFU());}
		if(PICS_SUB_NCT) {execute (TC_AE_SUB_CRE_002_NCT());}
		if(PICS_SUB_NEC) {execute (TC_AE_SUB_CRE_002_NEC());}
		if(true) {execute (TC_AE_SUB_NTF_001());}
		if(true) {execute (TC_AE_SUB_NTF_002());}

	}

}  // end of module OneM2M_TestControl_ADN_profile_4