Changeset 61:15845a0791ab in rrlib_xml


Ignore:
Timestamp:
05.06.2014 13:44:04 (5 years ago)
Author:
Tobias Föhst <foehst@…>
Branch:
default
Children:
62:00b9888b237c, 63:6e56f95badd3
Phase:
public
Message:

Adapted to changes in rrlib_util

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.cpp

    r59 r61  
    3232// External includes (system with <>, local with "") 
    3333//---------------------------------------------------------------------- 
     34#include "rrlib/util/tUnitTestSuite.h" 
     35 
    3436#include <cstdlib> 
    3537#include <unistd.h> 
     
    4042// Internal includes with "" 
    4143//---------------------------------------------------------------------- 
    42 #include "rrlib/util/tUnitTestSuite.h" 
    4344 
    4445//---------------------------------------------------------------------- 
     
    7071// Implementation 
    7172//---------------------------------------------------------------------- 
    72 class tTest : public util::tUnitTestSuite 
     73class Test : public util::tUnitTestSuite 
    7374{ 
    74   RRLIB_UNIT_TESTS_BEGIN_SUITE(tTest); 
     75  RRLIB_UNIT_TESTS_BEGIN_SUITE(Test); 
    7576  RRLIB_UNIT_TESTS_ADD_TEST(CreateDocument); 
    7677  RRLIB_UNIT_TESTS_ADD_TEST(AccessAttributes); 
     
    8586  tDocument document; 
    8687 
    87   virtual void InitializeTests() 
     88  virtual void InitializeTests() override 
    8889  { 
    8990    tNode &root_node = document.AddRootNode("test"); 
     
    108109    node1.RemoveChildNode(node2); 
    109110  } 
    110  
    111   virtual void CleanUp() 
    112   {} 
    113111 
    114112  void CreateDocument() 
     
    177175}; 
    178176 
     177RRLIB_UNIT_TESTS_REGISTER_SUITE(Test); 
     178 
    179179//---------------------------------------------------------------------- 
    180180// End of namespace declaration 
     
    182182} 
    183183} 
    184  
    185 RRLIB_UNIT_TESTS_REGISTER_SUITE(rrlib::xml::tTest); 
Note: See TracChangeset for help on using the changeset viewer.