|
From: Frank M. H. <fm...@us...> - 2007-02-21 19:15:58
|
Update of /cvsroot/boost-sandbox/boost-sandbox/libs/signals/test In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28978 Modified Files: trackable_test.cpp Log Message: Made the test of an already auto-disconnected slot actually test something (the slot was never connected to the signal). Index: trackable_test.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/signals/test/trackable_test.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- trackable_test.cpp 7 Feb 2007 01:21:51 -0000 1.1 +++ trackable_test.cpp 21 Feb 2007 19:15:57 -0000 1.2 @@ -57,7 +57,7 @@ sig_type::slot_type slot(boost::bind<int>(swallow(), shorty, _1)); delete shorty; - + s1.connect(slot); BOOST_CHECK(s1(5) == 0); } |