Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_internal_call_stack.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <memory>
5
6#include <gmock/gmock.h>
7
9
10namespace bb::avm2::simulation {
11
13
14 public:
15 // https://google.github.io/googletest/gmock_cook_book.html#making-the-compilation-faster
18
19 MOCK_METHOD(void, push, (PC pc), (override));
20 MOCK_METHOD(PC, pop, (), (override));
22 MOCK_METHOD(InternalCallId, get_call_id, (), (const, override));
24};
25
26} // namespace bb::avm2::simulation
virtual InternalCallId get_return_call_id() const =0
virtual InternalCallId get_next_call_id() const =0
MOCK_METHOD(void, push,(PC pc),(override))
MOCK_METHOD(InternalCallId, get_call_id,(),(const, override))
MOCK_METHOD(InternalCallId, get_next_call_id,(),(const, override))
MOCK_METHOD(InternalCallId, get_return_call_id,(),(const, override))
uint32_t PC
uint32_t InternalCallId