mirror of
https://github.com/meekrosoft/fff
synced 2026-01-23 00:15:59 +01:00
Introduce a test that uses a capturing lambda as a custom_fake. Signed-off-by: Yuval Peress <peress@google.com>
11 lines
221 B
C++
11 lines
221 B
C++
/* Copyright 2022 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
|
|
#define CUSTOM_FFF_FUNCTION_TEMPLATE(RETURN, FUNCNAME, ...) \
|
|
std::function<RETURN (__VA_ARGS__)> FUNCNAME
|