• DocumentCode
    3288653
  • Title

    A new polymorphism testing method for C++ software

  • Author

    Su, Hui

  • Author_Institution
    Sch. of Inf., Xi´´an Univ. of Finance & Econ., Xi´´an, China
  • fYear
    2011
  • fDate
    15-17 April 2011
  • Firstpage
    2904
  • Lastpage
    2907
  • Abstract
    A new polymorphism testing method for C++ software is presented in this paper, which is based on UML class diagram and UML sequence diagram. The testing course includes four steps. Firstly, the communicated messages among the classes are extracted from the UML sequence diagram file. Secondly, the classes messages are took out from UML class diagram file, which according with the polymorphism terms. Thirdly, instrumentations are inserted into the C++ software based on the results of second step. The communicated messages among the classes are recorded while software is running. Finally, two kinds of results are got from step one and step three, which are contrasted to obtain the testing results. The method is proved to be effective and feasible by an example.
  • Keywords
    C++ language; Unified Modeling Language; program testing; C++ software; UML class diagram file; UML sequence diagram file; Unified Modeling Language; polymorphism testing method; testing course; Books; Computational modeling; Computers; Instruments; Software; Testing; Unified modeling language; C++ Software; Cluster-Level Testing; Polymorphism Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Electric Information and Control Engineering (ICEICE), 2011 International Conference on
  • Conference_Location
    Wuhan
  • Print_ISBN
    978-1-4244-8036-4
  • Type

    conf

  • DOI
    10.1109/ICEICE.2011.5778053
  • Filename
    5778053