Files
logos-cpp-sdk/cpp/implementations/mock/mock_registry.h
Iuri MatiasandLogos Workspace 4197ee1830 Finish Abstraction & Refactor (Ongoing) - part 1 (#25)
* refactor: abstract connection/transport; and clearly separate qt remote obj and qt local into separate implementations

* abstract qt remote registry

* add mock implementation; these serves to further test the abstraction but also useful for testing modules later

* use LogosObject instead of QObject

* abstract provider side

* updates to use new api

* re-add async api back

---------

Co-authored-by: Logos Workspace <logos@workspace.local>
2026-03-23 11:45:25 -04:00

18 lines
439 B
C++

#ifndef MOCK_REGISTRY_H
#define MOCK_REGISTRY_H
#include "../../logos_registry.h"
/**
* @brief Trivial LogosRegistry implementation for mock mode.
*
* No real registry endpoint is needed in mock mode; this implementation
* simply reports itself as initialized so that callers do not stall.
*/
class MockRegistry : public LogosRegistry {
public:
bool isInitialized() const override { return true; }
};
#endif // MOCK_REGISTRY_H