文章介绍了一个具备测试系统的可重构性和测试套优化性的DHCP一致性测试系统。DHCP一致性测试系统的设计采用分层设计、底层封装以及公用API的方式来实现系统软件的可伸胞陛,通过有限状态机模型(FSM)描述DHCP的状态变换,并使用了二叉树形式表述测试套设计的继承性以达到简单优化测试套。
Protocol conformance test of DHCP which is made up of a testing system designed newly and testing suite improved.It adopted delamination designed, physical layer encapsulated and common API in order that system can be designed newly. FSM was used to describeDHCP's states changing. AND the inhefitablecharacterof testing suiteformatted by binarytreewas so as to predigest it.