Computer and Modernization

Previous Articles     Next Articles

A Method for Implementing Template Matching Mechanism in TTCN-3 Test System

  

  1. (1. Department of Public Courses Teaching, Inner Mongolia Technical College of Construction, Hohhot 010050, China; 
    2. College of Computer Science, Inner Mongolia University, Hohhot 010021, China)
  • Received:2014-10-11 Online:2015-01-19 Published:2015-01-21

Abstract:  TTCN-3 had a powerful template matching mechanism which is easy to master. A generic and open solution to implementation of template matching mechanism in the TTCN-3 test system was presented. The role of the template matching in the TTCN-3 test system was analyzed. Template matching mechanism representation and template matching operations in TTCN-3 test system were implemented using objectoriented programming language C++. As an example, an ATS for functional test of the DNS protocol was given to verify the rationality of the design.

Key words: TTCN-3, test system, template, template matching mechanism

CLC Number: