mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
18 lines
456 B
C++
18 lines
456 B
C++
#pragma once
|
|
|
|
#include "util/LoggerFixtures.hpp"
|
|
#include "util/async/AnyExecutionContext.hpp"
|
|
#include "util/async/context/SyncExecutionContext.hpp"
|
|
|
|
#include <gmock/gmock.h>
|
|
|
|
/**
|
|
* @brief Fixture with an embedded AnyExecutionContext wrapping a SyncExecutionContext
|
|
*
|
|
*/
|
|
struct SyncExecutionCtxFixture : virtual public ::testing::Test {
|
|
protected:
|
|
util::async::SyncExecutionContext syncCtx_;
|
|
util::async::AnyExecutionContext ctx_{syncCtx_};
|
|
};
|