Newer
Older
/**
* @author ETSI / STF405
* @version $URL$
* $Id$
* @desc Module containing functions for basic Transport Protocol
*
*/
module LibItsBtp_Functions {
import from LibIts_Interface all;
import from LibItsBtp_TypesAndValues all;
import from LibCommon_VerdictControl all;
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
group preambles {
/**
* @desc Brings the IUT into an initial state.
* @return
*/
function f_prInitialState() {
// TODO: any specific action ?
setverdict(pass);
}
} // end of group preambles
group upperTester {
function f_utGenerateBtpAMessage(in BtpPortId p_DestPort, in BtpPortId p_SrcPort) runs on ItsNt {
//TODO
};
function f_utGenerateBtpBMessage(in BtpPortId p_DestPort, in BtpPortInfo p_DestPortInfo) runs on ItsNt {
//TODO
};
function f_utCheckPayload(in BtpPayload p_payload) runs on ItsNt return FncRetCode {
var FncRetCode v_ret := e_error;
//TODO
return v_ret;
};
} // end of group upper tester