Commit f47f2604 authored by poglitsch's avatar poglitsch
Browse files

test configuration for 1 ptc added

parent e2a57f6c
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
@@ -36,6 +36,27 @@
	
	group cfUp {
		
		/**
		 * @desc Creates test configuration of 1 IMS component
		 * @param p_imsComponent IMS component 
		 */
		function f_cf_1imsUp(
			out ImsComponent p_imsComponent
		)runs on ServerSyncComp {
			//Variables
			var FncRetCode v_ret := e_success;
			//Create
			p_imsComponent := ImsComponent.create ;
						
			//Connect
			connect(p_imsComponent:syncPort, self:syncPort) ;
			
			// Map
			map(p_imsComponent:SIPP, system:IMSCN1);		// Init test Configuration
			
			f_setVerdict(v_ret);
		}//end f_cf_2imsUp
	
		/**
		 * @desc Creates test configuration of 2 IMS components
		 * @param p_imsComponent1 first IMS component 
@@ -96,6 +117,25 @@
	}//end group cfUp
	
	group cfDown {
	 	/**
	     * @desc Deletes test configuration of 1 IMS component
	     * @param p_imsComponent IMS component
	     */
		function f_cf_1imsDown(
			in ImsComponent p_imsComponent
		) runs on ServerSyncComp {
			//Variables
			var FncRetCode v_ret := e_success;
			
			//Wait for clients 
			f_serverWaitForAllClientsToStop();
			
			//Disconnect
			disconnect(p_imsComponent:syncPort, self:syncPort) ;

			//Unmap
			unmap(p_imsComponent:SIPP, system:IMSCN1);
		}//end f_cf_2imsDown

		/**
		 * @desc Deletes test configuration of 2 IMS components