]> sigrok.org Git - pulseview.git/blobdiff - test/data/decoder.cpp
Moved decoder config into the popup
[pulseview.git] / test / data / decoder.cpp
index 4ea4b10ff50f6231313c9aa8f9f341c13f2d7dd7..0a54a8669dae376e28c51a391a972768cd230832 100644 (file)
@@ -55,14 +55,8 @@ BOOST_AUTO_TEST_CASE(TwoDecoder)
                srd_decoder *const dec = (struct srd_decoder*)l->data;
                BOOST_REQUIRE(dec);
 
-               map<const srd_probe*, shared_ptr<view::LogicSignal> > probes;
-               ss.add_decoder(dec, probes,
-                       g_hash_table_new_full(g_str_hash, g_str_equal, g_free,
-                               (GDestroyNotify)g_variant_unref));
-               
-               ss.add_decoder(dec, probes,
-                       g_hash_table_new_full(g_str_hash, g_str_equal, g_free,
-                               (GDestroyNotify)g_variant_unref));
+               ss.add_decoder(dec);
+               ss.add_decoder(dec);
 
                // Check the signals were created
                const vector< shared_ptr<view::DecodeSignal> > sigs =