Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
compoundmediatest.cpp
Go to the documentation of this file.
1/*
2 CompoundMedia(Test) - handling multichannel Media Assets
3
4 Copyright (C)
5 2008, Hermann Vosseler <Ichthyostega@web.de>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12* *****************************************************************/
13
19#include "include/logging.h"
20#include "lib/test/run.hpp"
21#include "lib/util.hpp"
22
24#include "steam/asset/media.hpp"
25#include "steam/asset/proc.hpp"
26
28
29using util::isnil;
30using std::string;
31
32
33namespace steam {
34namespace asset{
35namespace test {
36
37
38
39
40 /*******************************************************************/
44 class CompoundMedia_test : public Test
45 {
46 virtual void run(Arg arg)
47 {
51
52 if (!isnil (arg))
54 TRACE (asset_mem, "leaving CreateAsset_test::run()");
55 }
56
57
58
59 typedef shared_ptr<asset::Media> PM;
60
65 {
66 UNIMPLEMENTED ("create new compound media");
67 }
68
72 {
73 UNIMPLEMENTED ("add and remove elementary media to compound media asset");
74 }
75
76
81 {
82 UNIMPLEMENTED ("create compound clip from compound media and verify structure");
83 }
84
85
86 bool checkProperties (PM object, Asset::Ident identity, string filename)
87 {
88 return identity == object->ident
89 and filename == object->getFilename();
90 }
91 };
92
93
96
97
98
99}}} // namespace steam::asset::test
Small helper and diagnostic functions related to Asset and AssetManager.
Steam-Layer Interface: Asset Lookup and Organisation.
Verifying the special operations available for compound media assets comprised of several elementary ...
bool checkProperties(PM object, Asset::Ident identity, string filename)
This header is for including and configuring NoBug.
Media data represented a specific kind of Asset.
The asset subsystem of the Steam-Layer.
Steam-Layer implementation namespace root.
Test runner and basic definitions for tests.
bool isnil(lib::time::Duration const &dur)
Data processing Plugins and Codecs can be treated as a specific Kind of Asset.
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Definition run.hpp:116
a POD comprised of all the information sufficiently identifying any given Asset.
Definition asset.hpp:147
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...