作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2005, Vol. 31 ›› Issue (14): 94-.

• 论文 • 上一篇    下一篇

一个测试工具的图形显示包的设计

吴韵琴,欧金梁   

  1. 东南大学软件工程学院,北京航空航天大学 南京 210028
  • 发布日期:2005-07-25

A Framework of Graphic Display Kit Used in a Test Tool

WU Yunqin1, OU Jinlang2   

  1. (1. College of Software Engineering, Southeast University, Nanjing 210028; 2. Beijing Univesity of Aeronautics and Astronautics, Beijing 100083)
  • Published:2005-07-25

摘要: 一个集成的对C++和Java语言的进行白盒测试工具需要对程序的源代码进行逆向分析,并且需要将分析的结果以类图、对象图等形式表现出来。对图形系统的要求是能够对类、对象之间的关系以合适的布局进行绘制,并且能够由用户选择不同的布局方式。针对该项目所提出的需求,并通过分析该测试工具上一个版本的缺陷,采用面向对象的思想,对布局、图元的显示进行抽象和封装,设计了一个较为完整的、有更高的灵活性和可扩展性的图形包的框架。

关键词: 面向对象, 类, 包, UML

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.

中图分类号: