/** * 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/LibOneM2M/OneM2M_TestSystem.ttcn $ * $Id: OneM2M_TestSystem.ttcn 347 2017-08-11 08:48:20Z reinaortega $ * @desc Test System module for oneM2M * */ module OneM2M_TestSystem { import from OneM2M_Types all; import from LibCommon_Time all; import from OneM2M_Ports all; import from OneM2M_Pixits all; /* *************************************** * Test System Components * *************************************** */ type component Tester { port AdapterControlPort acPort; port InfoPort infoPort; //timers timer tc_ac := PX_TAC; timer tc_wait; //global variables var Configurations vc_config; var MyResourcesList vc_resourcesList; var IntegerList vc_resourcesIndexToBeDeleted := {}; //var PrimitiveScope vc_primitiveScope := PX_PRIMITIVE_SCOPE; //var AddressingMethod vc_addressingMethod := PX_ADDRESSING_METHOD; var integer vc_aeAuxIndex;//TODO To be removed var integer vc_acpAuxIndex; var AccessControlPolicy_optional vc_acpAux; } type component AeSimu extends Tester { port OneM2MPort mcaPort; port OneM2MPort mcaPortIn; //global variables var PrimitiveContent vc_primitiveContentRetrievedResource; var MsgIn vc_request; var MsgIn vc_response; var CseSimu vc_cseSimu;//For CF02 when AeSimu is master } type component CseSimu extends Tester { port OneM2MPort mcaPort; port OneM2MPort mccPort; //global variables var AeSimu vc_aeSimu;//For CF02 when CseSimu is master var integer vc_remoteCseIndex; var MsgIn vc_request; var MsgIn vc_response; } type component InCseSimu extends CseSimu {} type component MnCseSimu extends CseSimu {} type component AeTester extends Tester { port OneM2MPort mcaPort; //global variables } type component CseSystem { port OneM2MPort mcaPort; port OneM2MPort mcaPortIn; port OneM2MPort mccPort; port AdapterControlPort acPort; } type component AeSystem { port OneM2MPort mcaPort; port AdapterControlPort acPort; } }// end of module with { extension "anytype charstring" }