Lumiera  0.pre.03
»edit your freedom«
media-access-mock.cpp File Reference

Go to the source code of this file.

Description

Mock implementation of the Interface normally used to query media file information from the data backend.

The Mock implementation instead holds a map of fixed response which will be delivered when querying some magic filenames.

Todo:
this facility was occasionally used until 2011, yet never really completed
See also
mediaaccessmocktest.cpp validating the Mock
MediaAccessFactory the real thing

Definition in file media-access-mock.cpp.

#include "vault/media-access-mock.hpp"
#include "steam/mobject/session/testclip.hpp"
#include "lib/util.hpp"
#include "lib/depend.hpp"
#include "lib/time/mutation.hpp"
#include "lib/symbol.hpp"
#include <vector>
#include <map>

Classes

struct  Response
 
struct  TestCases
 

Typedefs

typedef MediaAccessFacade::ChanHandle ChanHandle
 

Variables

const ChanDesc NULLResponse
 
lib::Depend< TestCases > testCases
 

Namespaces

 vault
 Vault-Layer implementation namespace root.