From f5290a99a31e13ef9b49de7e6383e6d6b8a51276 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sun, 8 Jan 2012 03:06:32 +0100 Subject: [PATCH] OutputSlot : simulated usage protocol passes unit test OutputSlotProtocol_test Some parts are still missing - timings _ initialisation --- src/proc/play/output-slot-connection.hpp | 2 ++ tests/47playout.tests | 2 +- .../components/proc/play/diagnostic-output-slot.hpp | 4 ++-- .../proc/play/output-slot-protocol-test.cpp | 13 +------------ 4 files changed, 6 insertions(+), 15 deletions(-) diff --git a/src/proc/play/output-slot-connection.hpp b/src/proc/play/output-slot-connection.hpp index f83b789c6..ed61ef864 100644 --- a/src/proc/play/output-slot-connection.hpp +++ b/src/proc/play/output-slot-connection.hpp @@ -162,6 +162,7 @@ namespace play { OpenedSinks getOpenedSinks() { + //////////////////////////TICKET #878 not re-entrant, lifecycle isn't clear REQUIRE (this->isActive()); return transform (eachElm(connections_), connectOutputSink); } @@ -189,6 +190,7 @@ namespace play { void init() ///< derived classes need to invoke this to build the actual connections { + //////////////////////////TICKET #878 really build all at once? or on demand? connections_.populate_by (&ConnectionStateManager::buildConnection, this); } diff --git a/tests/47playout.tests b/tests/47playout.tests index d59689f3b..0bdc2a9ad 100644 --- a/tests/47playout.tests +++ b/tests/47playout.tests @@ -2,6 +2,6 @@ TESTING "Component Test Suite: Player and Output" ./test-components --group=play -PLANNED "Output Slot Protocol" OutputSlotProtocol_test < -//#include - -//using boost::format; -//using std::string; -//using std::cout; namespace proc { namespace play { namespace test { -// using lib::AllocationCluster; -// using mobject::session::PEffect; using proc::engine::BuffHandle; using proc::engine::test::testData; using proc::engine::test::TestFrame; - namespace { // Test fixture - - } /*******************************************************************