mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-06-01 01:54:00 +00:00
logging updates
This commit is contained in:
@@ -1,15 +1,29 @@
|
||||
//
|
||||
// Created by aaronpo on 13/05/2026.
|
||||
//
|
||||
|
||||
#ifndef BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_MOCK_ENRICHMENT_H_
|
||||
#define BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_MOCK_ENRICHMENT_H_
|
||||
|
||||
/**
|
||||
* @file services/enrichment/mock_enrichment.h
|
||||
* @brief Mock implementation of enrichment service for testing.
|
||||
*/
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "enrichment_service.h"
|
||||
|
||||
/**
|
||||
* @brief Mock implementation of enrichment service for testing and prototyping.
|
||||
*
|
||||
* Returns empty context without performing actual web queries or enrichment.
|
||||
* Useful for unit tests and development scenarios.
|
||||
*/
|
||||
class MockEnrichmentService final : public IEnrichmentService {
|
||||
public:
|
||||
/**
|
||||
* @brief Returns empty location context.
|
||||
*
|
||||
* @param loc Unused location parameter.
|
||||
* @return Empty string (no enrichment performed).
|
||||
*/
|
||||
std::string GetLocationContext(const Location& /*loc*/) override {
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user