Changeset 4832

Show
Ignore:
Timestamp:
01/27/07 07:09:56 (23 months ago)
Author:
erijo
Message:

Actually run the unit tests for TEvent and fix an infinite recursion

Location:
branches/erijo-dev/licq
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/erijo-dev/licq/licq/interface/event.h

    r4829 r4832  
    6565inline bool Licq::IEvent::getProperty(const std::string& key, ValueType* value) const 
    6666{ 
    67   boost::any* valuePtr; 
     67  const boost::any* valuePtr; 
    6868  if (!getProperty(key, &valuePtr)) 
    6969    return false; 
  • branches/erijo-dev/licq/src/tests/eventtest.cpp

    r4829 r4832  
    3535unsigned int TCopyCounter::Counter = 0; 
    3636 
    37 void test_TEvent() 
     37BOOST_AUTO_UNIT_TEST( tc_event ) 
    3838{ 
    3939  Licq::IEventPtr data = Licq::IEvent::create(1, "test-event"); 
     
    7878// added to and retreived from TEventData. Since this depends on the implementation 
    7979// of std::map, this test uses BOOST_WARN_EQUAL instead of BOOST_CHECK_EQUAL. 
    80 void test_TEventCopy() 
     80BOOST_AUTO_UNIT_TEST( tc_event_copy ) 
    8181{ 
    8282  Licq::IEventPtr data = Licq::IEvent::create(1, "test-event");