Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
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 48 of file media-access-mock-test.cpp.

Private Types

typedef MediaAccessFacade MAF
 

Private Member Functions

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

Member Typedef Documentation

◆ MAF

typedef MediaAccessFacade MAF
private

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

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 53 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 65 of file media-access-mock-test.cpp.

References ChanDesc::chanID, ChanDesc::codecID, ChanDesc::handle, MediaAccessFacade::instance, 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: