Lumiera  0.pre.03
»edit your freedom«
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 
23 #include "steam/assetmanager.hpp"
24 #include "steam/asset/media.hpp"
25 #include "steam/asset/proc.hpp"
26 
28 
29 using util::isnil;
30 using std::string;
31 
32 
33 namespace steam {
34 namespace asset{
35 namespace test {
36 
37 
38 
39 
40  /*******************************************************************/
44  class CompoundMedia_test : public Test
45  {
46  virtual void run(Arg arg)
47  {
48  buildCompound();
51 
52  if (!isnil (arg))
53  dumpAssetManager();
54  TRACE (asset_mem, "leaving CreateAsset_test::run()");
55  }
56 
57 
58 
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  && filename == object->getFilename();
90  }
91  };
92 
93 
95  LAUNCHER (CompoundMedia_test, "unit asset");
96 
97 
98 
99 }}} // namespace steam::asset::test
Steam-Layer Interface: Asset Lookup and Organisation.
Media data represented a specific kind of Asset.
Definition: run.hpp:40
This header is for including and configuring NoBug.
Steam-Layer implementation namespace root.
Data processing Plugins and Codecs can be treated as a specific Kind of Asset.
a POD comprised of all the information sufficiently identifying any given Asset.
Definition: asset.hpp:149
Simplistic test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
Small helper and diagnostic functions related to Asset and AssetManager.
The asset subsystem of the Steam-Layer.
Definition: wrapperptr.hpp:35
Verifying the special operations available for compound media assets comprised of several elementary ...