LUMIERA.clone/tests/core/proc/mobject/session/testsession1.hpp

77 lines
2.1 KiB
C++

/*
TESTSESSION1.hpp - complete session configuration used for various tests
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 testsession1.hpp
** Dummy session content prepared for unit test
** @todo this is an idea from the early stages of the project and was never really implemented.
** But it still seems like a good idea (as of 2016), while likely the implementation will be
** completely different, based on JSON to be injected via the diff system
*/
#ifndef MOBJECT_SESSION_TESTSESSION1_H
#define MOBJECT_SESSION_TESTSESSION1_H
#include "proc/mobject/session.hpp"
#include "lib/error.hpp"
//#include "lib/util.hpp"
//#include <string>
//using std::string;
namespace proc {
namespace mobject {
namespace session {
/**
* Create a Test Session configuration usable for various Tests.
* This Session holds two Clips and corresponds to "Example1"
* in the UML design. All changes are done to the (global)
* current session.
*/
inline void
buildTestsession1 ()
{
UNIMPLEMENTED ("Test-Session 1");
};
/**
* Analyse the current (global) Session to verify the
* configuration of "Test-Session 1"
*/
inline bool
checkTestsession1 ()
{
UNIMPLEMENTED ("Test-Session 1");
return false;
};
const string SESSION1_CLIP("TODO: some sensible way to refer to a clip");
}}} // namespace proc::mobject::session
#endif