| 本文已被:浏览 4331次 下载 5774次 |
 码上扫一扫! |
|
|
| UML Statechart图的操作语义 |
|
李留英1, 王戟2, 齐治昌1
|
|
1.国防科学技术大学,计算机学院,湖南,长沙,410073;2.国防科学技术大学,计算机学院,湖南,长沙,410073武汉大学,软件工程国家重点实验室,湖北,武汉,430072
|
|
| 摘要: |
| 面向对象标准建模语言UML(unified modeling language)缺乏精确的动态语义.根据UML1.1语义文档,提出描述对象状态机的UML Statechart图的形式化操作语义.该语义覆盖了UML Statechart图的绝大部分特征,为UML Statechart图的代码产生、模拟和测试用例生成奠定了基础.根据上述语义,基于Rose98完成了UML Statechart图的测试用例生成和测试过程的模拟. |
| 关键词: UML(unified modeling language) 操作语义 测试 |
| DOI: |
| 分类号: |
| 基金项目:国家自然科学基金资助项目(69973051);国家863高科技发展计划资助项目(863-306-ZT06-04-1);武汉大学软件工程国家重点实验室基金资助项目;霍英东青年教师基金资助项目(71064) |
|
| An Operational Semantics for UML Statechart Diagrams |
|
LI Liu-ying,WANG Ji,QI Zhi-chang
|
| Abstract: |
| As a standard object-oriented modeling language, UKL (unified modeling language) is lack of formal dynamic semantics. In this paper, an operational semantics for UML statechart diagrams is proposed according to UML1.1 specification documents. The formalization is able to deal with most of the features of UML statechart diagrams, which sets the basis for code generation, simulation and test cases generation. It has been used to generate test cases and to simulate the test process on platform of Rose98. |
| Key words: UML (unified modeling language) operational semantics test |