Debian Codegraph @

tests/test-pipeline.cc

raw symbols SCIP
1 /*
2 * test-pipeline.cc
3 *
4 * Created on: Aug 14, 2014
5 * Author: m.kolny
6 */
7
8 #include "mmtest.h"
9 #include <gstreamermm.h>
10
11 using namespace Gst;
12
13 TEST(PipelineTest, ShouldCorrectCreatePipelineWithSpecyficName)
14 {
15 Glib::ustring name = "pipeline-name";
16 Glib::RefPtr<Pipeline> pipeline = Pipeline::create(name);
17
18 ASSERT_STREQ(name.c_str(), pipeline->get_name().c_str());
19 ASSERT_EQ(1, pipeline->get_refcount());
20 }