| 1 | /* |
| 2 | * test-message.cc |
| 3 | * |
| 4 | * Created on: Feb 27, 2015 |
| 5 | * Author: m.kolny |
| 6 | */ |
| 7 | #include "mmtest.h" |
| 8 | #include <gstreamermm.h> |
| 9 | |
| 10 | using namespace Gst; |
| 11 | |
| 12 | TEST(MessageTest, CheckDerivedMessageRefcount) |
| 13 | { |
| 14 | Glib::RefPtr<MessageStateDirty> msg = MessageStateDirty::create(Glib::RefPtr<Object>()); |
| 15 | ASSERT_EQ(1, msg->get_refcount()); |
| 16 | } |