Lumiera  0.pre.03
»edityourfreedom«
MediaAccessMock_test Class Reference

Description

Test:
inject a Mock object replacing the backend_interface::MediaAccessFacade.

Verify if the Mock object behaves as expected when calling the Facade.

Definition at line 53 of file media-access-mock-test.cpp.

Private Types

typedef MediaAccessFacade MAF
 

Private Member Functions

void queryScenario (string const &filename)
 perform the test: query for an (alleged) file and retrieve the mock answer. More...
 
virtual void run (Arg)
 

Member Typedef Documentation

◆ MAF

typedef MediaAccessFacade MAF
private

Definition at line 55 of file media-access-mock-test.cpp.

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 57 of file media-access-mock-test.cpp.

References MediaAccessMock_test::queryScenario().

+ Here is the call graph for this function:

◆ queryScenario()

void queryScenario ( string const &  filename)
inlineprivate

perform the test: query for an (alleged) file and retrieve the mock answer.

Definition at line 69 of file media-access-mock-test.cpp.

References ChanDesc::chanID, ChanDesc::codecID, ChanDesc::handle, MediaAccessFacade::instance, backend::test::LAUNCHER(), MediaDesc::length, MediaAccessFacade::queryChannel(), and MediaAccessFacade::queryFile().

Referenced by MediaAccessMock_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for MediaAccessMock_test:
+ Collaboration diagram for MediaAccessMock_test:

The documentation for this class was generated from the following file: