Commit f88a4ebb authored by garciay's avatar garciay
Browse files

CAM layers & codecs ongoing

parent e17d5e3a
Loading
Loading
Loading
Loading
+184 −149
Original line number Diff line number Diff line
@@ -110,6 +110,41 @@ module TestCodec_CAM {
            
    } // End of group testCamPrimitiveMessages
        
    group testCamPort {
            
      /**
       * @desc validate CamReq
       * @verdict Pass on success, Fail otherwise
       */
      testcase tc_Cam_Port() runs on ItsCam system ItsCamSystem {
	var CamReq v_camReq;
	
	map(self:camPort, system:camPort);
        
      v_camReq := valueof(
			  CamReq : { msgOut := m_camMsg(
							f_getTsStationId(),
							35000 // See ETSI EN 302 637-2 V1.3.0 - Clause B.3 generationDelatTime
							)
			    }
			  );                
	camPort.send(v_camReq);
	tc_ac.start;
	alt {
	  [] camPort.receive(CamInd : ?) {
	    setverdict(pass);
	  }
	  [] tc_ac.timeout {
	    setverdict(fail, "Expected message not received1");
	  }
	}
                
	unmap(self:camPort, system:camPort);
                
      }
            
    } // End of group testCamPort 
        
  } // End of group LibItsCam_testCases
    
  group encdec_functions {