]> sigrok.org Git - pulseview.git/blobdiff - test/util.cpp
View: Change the type of tick_period to pv::util::Timestamp
[pulseview.git] / test / util.cpp
index 70550ae660c34115b6bc334ef0a01fdc4b20a36d..17c9155586f5ad9aa6da7cc0d855cdb26f1510cf 100644 (file)
@@ -21,6 +21,7 @@
 #include <boost/test/unit_test.hpp>
 
 #include "pv/util.hpp"
+#include "test/test.hpp"
 
 using namespace pv::util;
 using ts = pv::util::Timestamp;
@@ -39,11 +40,6 @@ namespace {
        pv::util::TimeUnit Time = pv::util::TimeUnit::Time;
 }
 
-std::ostream& operator<<(std::ostream& stream, const QString& str)
-{
-       return stream << str.toUtf8().data();
-}
-
 BOOST_AUTO_TEST_SUITE(UtilTest)
 
 BOOST_AUTO_TEST_CASE(exponent_test)