lumiera_documentation/tests/steam/play/dummy-play-connection.cpp
Ichthyostega b804015cd7 Attempt to fix DummyBuilderContext / DummyPlayConnection
These provide a faked context setup for unit testing.
I created them ''out of sheer desperation'' several years ago,
since it is impossible to verify the building blocks if you
don't know what the building itself will look like.

The recent design clean-up of OutputSlot has unfortunately
removed a bunch of »hexagonal hooks« — and now I seem to be unable
to hook into anything with my tests. Oh my!
2026-06-01 19:54:51 +02:00

48 lines
1.2 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
DummyPlayConnection.hpp - simplified test setup for playback
Copyright (C)
2011, Hermann Vosseler <Ichthyostega@web.de>
  **Lumiera** is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by the
  Free Software Foundation; either version 2 of the License, or (at your
  option) any later version. See the file COPYING for further details.
* *****************************************************************/
/** @file dummy-play-connection.cpp
** Implementation of a service for mock render playback to support testing.
*/
#include "steam/play/dummy-play-connection.hpp"
//#include "steam/play/dummy-image-generator.hpp"
//#include "steam/play/tick-service.hpp"
//#include "lib/depend.hpp"
//#include <string>
//#include <memory>
//#include <functional>
namespace steam{
namespace play {
namespace test {
namespace { // hidden local details of the service implementation....
} // (End) hidden service impl details
FakeOutput::DummyOutputConnection::~DummyOutputConnection() { } ///< emit VTable here...
/** */
}}} // namespace steam::play