diff options
author | Eric Blossom | 2009-08-18 21:02:13 -0700 |
---|---|---|
committer | Eric Blossom | 2009-08-18 21:02:13 -0700 |
commit | 4425cea2297d29f7cb90ac045b39928358cff1e4 (patch) | |
tree | b6ec6d036c15167de4720f8b93def9af97176aea /gruel/src/lib | |
parent | 0f12441cf801f060c8b0a778016c658db5486607 (diff) | |
download | gnuradio-4425cea2297d29f7cb90ac045b39928358cff1e4.tar.gz gnuradio-4425cea2297d29f7cb90ac045b39928358cff1e4.tar.bz2 gnuradio-4425cea2297d29f7cb90ac045b39928358cff1e4.zip |
gruel::send can now send to a pmt.
Diffstat (limited to 'gruel/src/lib')
-rw-r--r-- | gruel/src/lib/pmt/qa_pmt_prims.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gruel/src/lib/pmt/qa_pmt_prims.cc b/gruel/src/lib/pmt/qa_pmt_prims.cc index e2d6ec4c6..04fdc1a43 100644 --- a/gruel/src/lib/pmt/qa_pmt_prims.cc +++ b/gruel/src/lib/pmt/qa_pmt_prims.cc @@ -22,8 +22,7 @@ #include <qa_pmt_prims.h> #include <cppunit/TestAssert.h> -#include <gruel/pmt.h> -#include <gruel/msg_accepter.h> +#include <gruel/msg_passing.h> #include <stdio.h> #include <sstream> @@ -479,6 +478,12 @@ qa_pmt_prims::test_msg_accepter() CPPUNIT_ASSERT_THROW(pmt_msg_accepter_ref(sym), pmt_wrong_type); CPPUNIT_ASSERT_THROW(pmt_msg_accepter_ref(p0), pmt_wrong_type); + + // just confirm interfaces on send are OK + gruel::send(ma0.get(), sym); + gruel::send(ma0, sym); + gruel::send(p1, sym); + } // ------------------------------------------------------------------------ |