Abstract:
An integrated white-box testing tool for C++ and Java programming language is presented. One function of this tool is toreverse-analyze the source files of program and to display the analysis result uses class-diagram or object-diagram. The requirements of the graphicsystem are that the relationship between classes or objects can be drawn in right layout, which can be selected by users. Based on these requirementsand the analysis of the defect in the last version of the tool, an extendable framework of graphic display kit with high flexibility is given.
摘要: 一个集成的对C++和Java语言的进行白盒测试工具需要对程序的源代码进行逆向分析,并且需要将分析的结果以类图、对象图等形式表现出来。对图形系统的要求是能够对类、对象之间的关系以合适的布局进行绘制,并且能够由用户选择不同的布局方式。针对该项目所提出的需求,并通过分析该测试工具上一个版本的缺陷,采用面向对象的思想,对布局、图元的显示进行抽象和封装,设计了一个较为完整的、有更高的灵活性和可扩展性的图形包的框架。
关键词:
面向对象,
类,
包,
UML
CLC Number:
WU Yunqin1, OU Jinlang2. A Framework of Graphic Display Kit Used in a Test Tool[J]. , 2005, 31(14): 94-.
吴韵琴,欧金梁. 一个测试工具的图形显示包的设计[J]. , 2005, 31(14): 94-.