Facing quite some difficulties here, since there are (at least) two abandoned past efforts towards building a render node network in the code base; the structure and architecture decisions from these previous attempts seem largely valid still, yet on a technical level, the style of construction evolved considerably in the meantime. Moreover, these old fragments of code, written during the early stages of the project, were lacking clear goals and anchor points at places; the situation is quite different now in this respect. Sticking to well proven practice, the rework will be driven by a test setup, and will progress over three steps with increasing levels of integration.
59 lines
1.5 KiB
C++
59 lines
1.5 KiB
C++
/*
|
|
NodeInput(Test) - unit test of the source reading render node
|
|
|
|
Copyright (C) Lumiera.org
|
|
2008, Hermann Vosseler <Ichthyostega@web.de>
|
|
|
|
This program 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.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
* *****************************************************/
|
|
|
|
/** @file node-input-test.cpp
|
|
** unit test \ref NodeInput_test
|
|
*/
|
|
|
|
|
|
#include "lib/test/run.hpp"
|
|
//#include "lib/util.hpp"
|
|
|
|
|
|
//using std::string;
|
|
|
|
|
|
namespace steam {
|
|
namespace engine{
|
|
namespace test {
|
|
|
|
|
|
|
|
|
|
/***************************************************************//**
|
|
* @test the source reading render node.
|
|
*/
|
|
class NodeInput_test : public Test
|
|
{
|
|
virtual void run(Arg)
|
|
{
|
|
UNIMPLEMENTED ("render node pulling source data from vault");
|
|
}
|
|
};
|
|
|
|
|
|
/** Register this test class... */
|
|
LAUNCHER (NodeInput_test, "unit node");
|
|
|
|
|
|
|
|
}}} // namespace steam::engine::test
|