X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=test%2Fdata%2Fdecoderstack.cpp;h=3bb2f3eb310d52f525845142cd52baf51e109a8a;hb=7ceb2376de956f72e2055467efe0a16a68da4bd8;hp=1bfbfc1cf6369014428ab824c8b648811e6555e0;hpb=48ecc1fcd47fd239ae525634bc1a9d2e7a46ac0e;p=pulseview.git
diff --git a/test/data/decoderstack.cpp b/test/data/decoderstack.cpp
index 1bfbfc1..3bb2f3e 100644
--- a/test/data/decoderstack.cpp
+++ b/test/data/decoderstack.cpp
@@ -14,19 +14,20 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
+#if 0
+
#include /* First, so we avoid a _POSIX_C_SOURCE warning. */
#include
-#include
+#include
-#include "../../pv/data/decoderstack.h"
-#include "../../pv/devicemanager.h"
-#include "../../pv/sigsession.h"
-#include "../../pv/view/decodetrace.h"
+#include "../../pv/data/decoderstack.hpp"
+#include "../../pv/devicemanager.hpp"
+#include "../../pv/session.hpp"
+#include "../../pv/view/decodetrace.hpp"
using pv::data::DecoderStack;
using pv::data::decode::Decoder;
@@ -34,17 +35,16 @@ using pv::view::DecodeTrace;
using std::shared_ptr;
using std::vector;
-#if 0
BOOST_AUTO_TEST_SUITE(DecoderStackTest)
BOOST_AUTO_TEST_CASE(TwoDecoderStack)
{
- sr_context *ctx = NULL;
+ sr_context *ctx = nullptr;
BOOST_REQUIRE(sr_init(&ctx) == SR_OK);
BOOST_REQUIRE(ctx);
- BOOST_REQUIRE(srd_init(NULL) == SRD_OK);
+ BOOST_REQUIRE(srd_init(nullptr) == SRD_OK);
srd_decoder_load_all();