2007-09-03 02:33:47 +02:00
|
|
|
/*
|
|
|
|
|
RenderSegment(Test) - Proc-Layer Integrationtest
|
|
|
|
|
|
2008-03-10 04:25:03 +01:00
|
|
|
Copyright (C) Lumiera.org
|
|
|
|
|
2008, Hermann Vosseler <Ichthyostega@web.de>
|
2007-09-03 02:33:47 +02:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
* *****************************************************/
|
|
|
|
|
|
|
|
|
|
|
2008-12-18 04:47:41 +01:00
|
|
|
#include "lib/test/run.hpp"
|
|
|
|
|
//#include "lib/util.hpp"
|
2007-09-03 02:33:47 +02:00
|
|
|
|
|
|
|
|
//#include <boost/format.hpp>
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
//using boost::format;
|
|
|
|
|
using std::string;
|
|
|
|
|
using std::cout;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace mobject
|
|
|
|
|
{
|
|
|
|
|
namespace controller
|
|
|
|
|
{
|
|
|
|
|
namespace test
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-02-22 03:52:52 +01:00
|
|
|
/********************************************************************
|
|
|
|
|
* @test create a render process from a given segment of the Session.
|
2007-09-03 02:33:47 +02:00
|
|
|
* Basically this includes cooperation of all parts of the
|
2010-02-22 03:52:52 +01:00
|
|
|
* Lumiera Proc Layer. For a prepared test-Session we invoke the
|
2007-09-03 02:33:47 +02:00
|
|
|
* controller to create a render process. This includes building
|
|
|
|
|
* the render pipeline. Finally, we analyze all the created
|
|
|
|
|
* Structures.
|
|
|
|
|
* @note this test doesn't cover the actual rendering.
|
|
|
|
|
* @see proc_interface::ControllerFacade
|
|
|
|
|
*/
|
|
|
|
|
class RenderSegment_test : public Test
|
|
|
|
|
{
|
|
|
|
|
virtual void run(Arg arg)
|
|
|
|
|
{
|
2010-02-22 03:52:52 +01:00
|
|
|
UNIMPLEMENTED ("complete render process for a given test segment of the Session");
|
2007-09-03 02:33:47 +02:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Register this test class... */
|
|
|
|
|
LAUNCHER (RenderSegment_test, "function operate");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace test
|
|
|
|
|
|
|
|
|
|
} // namespace controller
|
|
|
|
|
|
|
|
|
|
} // namespace mobject
|