This resolves a long-standing issue: we could not use proper include paths for test-helper code that was defined alongside the tests. Since some test-helper code must now be relocated into the »Vault«-Layer, I took the opportunity to finally resolve this annoyance. The solution is two-fold * introduce a dedicated test-support library * remove the quirks that were necessary to support some plain-C tests Together, this allows to raise the include-directory by one level, and then to adjust all folder names so that they match the namespace
60 lines
1.5 KiB
C++
60 lines
1.5 KiB
C++
/*
|
||
MediaStructureQuery(Test) - check functionality used for creating media assets
|
||
|
||
Copyright (C)
|
||
2008, 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 media-structure-query-test.cpp
|
||
** unit test \ref MediaStructureQuery_test
|
||
*/
|
||
|
||
|
||
#include "test/run.hpp"
|
||
#include "lib/util.hpp"
|
||
|
||
#include "steam/assetmanager.hpp"
|
||
#include "steam/asset/media.hpp"
|
||
#include "steam/asset/proc.hpp"
|
||
|
||
#include "steam/asset/asset-diagnostics.hpp"
|
||
|
||
using util::isnil;
|
||
using std::string;
|
||
|
||
|
||
namespace steam {
|
||
namespace asset{
|
||
namespace test {
|
||
|
||
|
||
|
||
|
||
/*******************************************************************//**
|
||
* This test documents the Interface used by MediaFactory when loading
|
||
* media files for querying Lumiera's vault layer for information
|
||
* on how the media file is structured.
|
||
*/
|
||
class MediaStructureQuery_test : public Test
|
||
{
|
||
virtual void run(Arg)
|
||
{
|
||
UNIMPLEMENTED ("querying media file structure from vault");
|
||
}
|
||
|
||
|
||
};
|
||
|
||
|
||
/** Register this test class... */
|
||
LAUNCHER (MediaStructureQuery_test, "unit asset");
|
||
|
||
|
||
|
||
}}} // namespace steam::asset::test
|