FOSSology  4.7.1
Open Source License Compliance by Open Source Software
MockReuserDatabaseHandler.hpp File Reference

Mock ReuserDatabaseHandler for unit tests. More...

#include "ReuserDatabaseHandler.hpp"
#include <functional>
#include <map>
#include <vector>
Include dependency graph for MockReuserDatabaseHandler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MockReuserDatabaseHandler
 Test double for ReuserDatabaseHandler. More...
 

Detailed Description

Mock ReuserDatabaseHandler for unit tests.

Derives from ReuserDatabaseHandler and overrides only the public business-logic methods so that no real DB connection is needed. All private DB helpers stay in the base class and are never called because the overrides short-circuit execution.

Definition in file MockReuserDatabaseHandler.hpp.