检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西南交通大学信息科学与技术学院,成都611756
出 处:《铁道标准设计》2017年第2期109-116,共8页Railway Standard Design
基 金:中国铁路总公司科技研究计划(2015X007-J;2015X009-D;2014X008-A)
摘 要:为了生成进路建立过程完备的测试案例,分析设备故障和人环因素的影响并结合对应的逻辑过程,建立了进路建立过程的状态机模型,并对模型解析得到状态与边的关系,将状态和边的关系抽象成图论中边和节点的关系进行存储。通过讨论3种覆盖准则的优劣,设计深度优先搜索算法遍历模型,得到抽象测试案例,采用Java反射机制对抽象案例进行反推,结果生成8种类型的测试片段,每种类型的片段进行组合生成所有的测试案例。最后分析进路正常建立所需的输入案例和引入的故障案例对建立过程的影响。To generate the complete test case of route establishment process, the route establishment state machine model is constructed by analyzing the influence of environment and human factors in combinationwith the corresponding logical process. The model is parsed to define the relationship between the state and the edge, and the relationship between the state and the edge is abstracted to that between edges and nodes in the graph theory forstorage. With the discussion of the pros and cons of the three kinds of coverage criteria, and the model of depth-prioritization search algorithm traversing the entire model, the abstract test cases are obtained. With Java reflection mechanism to reverse the abstract cases, 8 types of test fragments are generated, and each type of fragment is combined to generate test case. Finally, the influence resulted from the input cases required for normal route setup and from the introduced fault cases on the route establishment process is analyzed.
关 键 词:铁路信号 联锁系统 测试案例 状态机 图论 反射机制
分 类 号:U284[交通运输工程—交通信息工程及控制]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15