projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/CMakeLists.txt: Drop obsolete boost-thread references.
[pulseview.git]
/
test
/
data
/
decoderstack.cpp
diff --git
a/test/data/decoderstack.cpp
b/test/data/decoderstack.cpp
index 84a496f1f2ada2c0292b425ec2efae0ebbf99e0d..0fc0da392249b33179e6e6202e0f655f53d57032 100644
(file)
--- a/
test/data/decoderstack.cpp
+++ b/
test/data/decoderstack.cpp
@@
-28,15
+28,16
@@
#include "../../pv/sigsession.h"
#include "../../pv/view/decodetrace.h"
#include "../../pv/sigsession.h"
#include "../../pv/view/decodetrace.h"
-using namespace boost;
-using namespace std;
+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)
BOOST_AUTO_TEST_CASE(TwoDecoderStack)
{
BOOST_AUTO_TEST_SUITE(DecoderStackTest)
BOOST_AUTO_TEST_CASE(TwoDecoderStack)
{
- using namespace pv;
-
sr_context *ctx = NULL;
BOOST_REQUIRE(sr_init(&ctx) == SR_OK);
sr_context *ctx = NULL;
BOOST_REQUIRE(sr_init(&ctx) == SR_OK);
@@
-59,13
+60,13
@@
BOOST_AUTO_TEST_CASE(TwoDecoderStack)
ss.add_decoder(dec);
// Check the signals were created
ss.add_decoder(dec);
// Check the signals were created
- const vector< shared_ptr<
view::
DecodeTrace> > sigs =
+ const vector< shared_ptr<DecodeTrace> > sigs =
ss.get_decode_signals();
ss.get_decode_signals();
- shared_ptr<
data::
DecoderStack> dec0 = sigs[0]->decoder();
+ shared_ptr<DecoderStack> dec0 = sigs[0]->decoder();
BOOST_REQUIRE(dec0);
BOOST_REQUIRE(dec0);
- shared_ptr<
data::
DecoderStack> dec1 = sigs[0]->decoder();
+ shared_ptr<DecoderStack> dec1 = sigs[0]->decoder();
BOOST_REQUIRE(dec1);
// Wait for the decode threads to complete
BOOST_REQUIRE(dec1);
// Wait for the decode threads to complete