summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/qa_logger.cc
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-06-21 16:12:51 -0700
committerMarcus Müller <marcus@hostalia.de>2018-06-23 00:17:18 +0200
commit1f30b5b14f6d5a189a44565d0f7e4e8618bfa864 (patch)
tree38c38c2e2e98ee04e721cc01b9251052835a110f /gnuradio-runtime/lib/qa_logger.cc
parent136fc7225ea99fae34813b0b2968dced6abdf95f (diff)
runtime: Replace QA test framework w/ Boost UTF
Diffstat (limited to 'gnuradio-runtime/lib/qa_logger.cc')
-rw-r--r--gnuradio-runtime/lib/qa_logger.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnuradio-runtime/lib/qa_logger.cc b/gnuradio-runtime/lib/qa_logger.cc
index 904893cc4d..b74a0c0e27 100644
--- a/gnuradio-runtime/lib/qa_logger.cc
+++ b/gnuradio-runtime/lib/qa_logger.cc
@@ -29,12 +29,10 @@
#include <config.h>
#endif
-#include <qa_logger.h>
#include <gnuradio/logger.h>
+#include <boost/test/unit_test.hpp>
-void
-qa_logger::t1()
-{
+BOOST_AUTO_TEST_CASE(t1) {
#ifdef ENABLE_GR_LOG
// This doesn't really test anything, more just
// making sure nothing's gone horribly wrong.
@@ -47,6 +45,6 @@ qa_logger::t1()
GR_LOG_WARN(LOG,"test from c++ WARN");
GR_LOG_ERROR(LOG,"test from c++ ERROR");
GR_LOG_FATAL(LOG,"test from c++ FATAL");
- CPPUNIT_ASSERT(true);
+ BOOST_CHECK(true);
#endif
}