TTCN-3 编码解码相关模块引入
作者:网络转载 发布时间:[ 2013/11/27 16:15:51 ] 推荐标签:
而解码器则是对应编码器的一个逆过程。
该例子成功编译运行后打印如下结果:
[CPC] testcase_started: Basic_TC() return <NULL>
[CPC] component_created: MyMTC.create('MTC')
[CPC] component_started: 'MTC'.start(Basic_TC() return <NULL>)
Codec_A.ttcn (18): [MTC] scope_entered: Basic_TC() return <undefined>
Codec_A.ttcn (25): [MTC] port_mapped: 'MTC':mtc_port <-> SYSTEM:sut_port
Codec_A.ttcn (31): [MTC] sut_message_sent: mtc_port.send ('ABCD'O)
Codec_A.ttcn (33): [MTC] sut_message_received: mtc_port.receive ('ABCD'O)
Codec_A.ttcn (34): [MTC] local_verdict_changed: setverdict(pass)
Codec_A.ttcn (35): [MTC] scope_left: Basic_TC() return <undefined>
[MTC] component_stopped: 'MTC' stopped
[CPC] local_verdict_changed: setverdict(pass)
[CPC] local_verdict_changed: setverdict(pass)
[CPC] testcase_ended: Basic_TC() return <NULL> => pass ()
[CPC] testcase_verdict: 'Basic_TC' => pass ()
[final] MESSAGE Test case summary:
[final] MESSAGE
[final] MESSAGE none 0 (0%)
[final] MESSAGE pass 1 ()
[final] MESSAGE inconc 0 (0%)
[final] MESSAGE fail 0 (0%)
[final] MESSAGE error 0 (0%)
[final] MESSAGE
[final] MESSAGE total 1
结果中略去了编解码中检验的打印代码
相关推荐
更新发布
功能测试和接口测试的区别
2023/3/23 14:23:39如何写好测试用例文档
2023/3/22 16:17:39常用的选择回归测试的方式有哪些?
2022/6/14 16:14:27测试流程中需要重点把关几个过程?
2021/10/18 15:37:44性能测试的七种方法
2021/9/17 15:19:29全链路压测优化思路
2021/9/14 15:42:25性能测试流程浅谈
2021/5/28 17:25:47常见的APP性能测试指标
2021/5/8 17:01:11