• The results of the Python unit test were not correctly tracked due to some subtle problems related to the way how C++ code is called through the Python interface. A kluge has been found and added to GTestSuite.i to retrieve the Python test results and to propagate them to the C++ test suite, so now Python test results are also written into the XML file, and the Python tests signal failure in case that something goes wrong.
    Jürgen Knödlseder authored
     
    Browse File »


  • GTestSuites
      The GTestSuites class now derives from GContainer and implements
      the usual container class methods (at(), size(), isempty(),
      set(), append(), insert(), remove(), reserve() and extend()).
      The operator[] now returns pointers to GTestSuite. The name()
      and timestamp() methods now return const references.
    
    GTestSuite
      The GTestSuite class now derives from GBase. This implies that
      the clone() method needs to be implemented for derived classes.
      The test_assert() method now takes a const reference for the
      boolean argument. The name(), errors(), failures(), and
      timestamp() methods return const references. The obsolete
      add_test() method has been removed.
    
    The unit tests have been updated to conform to the new interfaces.
    Jürgen Knödlseder authored
     
    Browse File »