X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=test%2Fdata%2Fdecoderstack.cpp;h=baeec2d6d11b69f36713d996b9991d86fc3cde07;hb=2b81ae4682ade4109ffa442794de36ceb32045eb;hp=d6e4f75a8a898dbbf3aea473690dcffdbbdbfb71;hpb=819f4c25391a9c74d3d2f528d462142d5c4aad4d;p=pulseview.git diff --git a/test/data/decoderstack.cpp b/test/data/decoderstack.cpp index d6e4f75..baeec2d 100644 --- a/test/data/decoderstack.cpp +++ b/test/data/decoderstack.cpp @@ -28,10 +28,10 @@ #include "../../pv/sigsession.h" #include "../../pv/view/decodetrace.h" -using boost::shared_ptr; using pv::data::DecoderStack; using pv::data::decode::Decoder; using pv::view::DecodeTrace; +using std::shared_ptr; using std::vector; BOOST_AUTO_TEST_SUITE(DecoderStackTest) @@ -49,7 +49,7 @@ BOOST_AUTO_TEST_CASE(TwoDecoderStack) { pv::DeviceManager dm(ctx); - pv::SigSession ss(dm); + pv::Session ss(dm); const GSList *l = srd_decoder_list(); BOOST_REQUIRE(l); @@ -70,8 +70,8 @@ BOOST_AUTO_TEST_CASE(TwoDecoderStack) BOOST_REQUIRE(dec1); // Wait for the decode threads to complete - dec0->_decode_thread.join(); - dec1->_decode_thread.join(); + dec0->decode_thread_.join(); + dec1->decode_thread_.join(); // Check there were no errors BOOST_CHECK_EQUAL(dec0->error_message().isEmpty(), true);