[Liblas-commits] libpc: missed fix to signaller test

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Feb 28 12:31:12 EST 2011


details:   http://hg.liblas.orglibpc/rev/7b7d0aa2cbec
changeset: 114:7b7d0aa2cbec
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Mon Feb 28 09:31:08 2011 -0800
description:
missed fix to signaller test

diffstat:

 test/unit/SignallerTest.cpp |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 17a4815c9c58 -r 7b7d0aa2cbec test/unit/SignallerTest.cpp
--- a/test/unit/SignallerTest.cpp	Mon Feb 28 09:29:10 2011 -0800
+++ b/test/unit/SignallerTest.cpp	Mon Feb 28 09:31:08 2011 -0800
@@ -104,16 +104,16 @@
     ok = worker.tick();
     BOOST_CHECK(ok);
     BOOST_CHECK(sig.m_perc == 1);
-    worker.tick();
+    ok = worker.tick();
     BOOST_CHECK(ok);
     BOOST_CHECK(sig.m_perc == 2);
-    worker.tick();
+    ok = worker.tick();
     BOOST_CHECK(ok);
     BOOST_CHECK(sig.m_perc == 3);
 
     sig.m_stop = true;
 
-    worker.tick();
+    ok = worker.tick();
     BOOST_CHECK(!ok);
     BOOST_CHECK(sig.m_perc == 3);
 


More information about the Liblas-commits mailing list