Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_class_id_derivation.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <gmock/gmock.h>
4
5
#include "
barretenberg/vm2/simulation/class_id_derivation.hpp
"
6
7
namespace
bb::avm2::simulation
{
8
9
class
MockClassIdDerivation
:
public
ClassIdDerivationInterface
{
10
public
:
11
// https://google.github.io/googletest/gmock_cook_book.html#making-the-compilation-faster
12
MockClassIdDerivation
();
13
~MockClassIdDerivation
()
override
;
14
15
MOCK_METHOD
(
void
,
assert_derivation
, (
const
ContractClassId
& class_id,
const
ContractClass
& klass), (
override
));
16
};
17
18
}
// namespace bb::avm2::simulation
bb::avm2::simulation::ClassIdDerivationInterface
Definition
class_id_derivation.hpp:12
bb::avm2::simulation::ClassIdDerivationInterface::assert_derivation
virtual void assert_derivation(const ContractClassId &class_id, const ContractClass &klass)=0
bb::avm2::simulation::MockClassIdDerivation
Definition
mock_class_id_derivation.hpp:9
bb::avm2::simulation::MockClassIdDerivation::MOCK_METHOD
MOCK_METHOD(void, assert_derivation,(const ContractClassId &class_id, const ContractClass &klass),(override))
bb::avm2::simulation::MockClassIdDerivation::MockClassIdDerivation
MockClassIdDerivation()
bb::avm2::simulation::MockClassIdDerivation::~MockClassIdDerivation
~MockClassIdDerivation() override
bb::avm2::simulation
Definition
address_derivation.cpp:8
bb::avm2::ContractClassId
FF ContractClassId
Definition
aztec_types.hpp:12
class_id_derivation.hpp
bb::avm2::ContractClass
Definition
aztec_types.hpp:93
src
barretenberg
vm2
simulation
testing
mock_class_id_derivation.hpp
Generated by
1.9.8