MockAudioRam is a mock class for the AudioRam class.
More...
|
| MOCK_METHOD (void, reset,(),(override)) |
|
| MOCK_METHOD (uint8_t, read,(uint16_t address),(const, override)) |
|
| MOCK_METHOD (uint8_t &, mutable_read,(uint16_t address),(override)) |
|
| MOCK_METHOD (void, write,(uint16_t address, uint8_t value),(override)) |
|
void | SetupMemory (uint16_t address, const std::vector< uint8_t > &values) |
|
void | SetUp () |
|
virtual | ~AudioRam ()=default |
|
virtual void | reset ()=0 |
|
virtual uint8_t | read (uint16_t address) const =0 |
|
virtual uint8_t & | mutable_read (uint16_t address)=0 |
|
virtual void | write (uint16_t address, uint8_t value)=0 |
|
uint8_t | operator[] (uint16_t address) |
|
MockAudioRam is a mock class for the AudioRam class.
Definition at line 20 of file spc700_test.cc.
◆ MOCK_METHOD() [1/4]
yaze::test::emu::MockAudioRam::MOCK_METHOD |
( |
void | , |
|
|
reset | , |
|
|
() | , |
|
|
(override) | ) |
◆ MOCK_METHOD() [2/4]
yaze::test::emu::MockAudioRam::MOCK_METHOD |
( |
uint8_t | , |
|
|
read | , |
|
|
(uint16_t address) | , |
|
|
(const, override) | ) |
◆ MOCK_METHOD() [3/4]
yaze::test::emu::MockAudioRam::MOCK_METHOD |
( |
uint8_t & | , |
|
|
mutable_read | , |
|
|
(uint16_t address) | , |
|
|
(override) | ) |
◆ MOCK_METHOD() [4/4]
yaze::test::emu::MockAudioRam::MOCK_METHOD |
( |
void | , |
|
|
write | , |
|
|
(uint16_t address, uint8_t value) | , |
|
|
(override) | ) |
◆ SetupMemory()
void yaze::test::emu::MockAudioRam::SetupMemory |
( |
uint16_t | address, |
|
|
const std::vector< uint8_t > & | values ) |
|
inline |
◆ SetUp()
void yaze::test::emu::MockAudioRam::SetUp |
( |
| ) |
|
|
inline |
◆ internal_audio_ram_
std::vector<uint8_t> yaze::test::emu::MockAudioRam::internal_audio_ram_ = std::vector<uint8_t>(0x10000, 0) |
The documentation for this class was generated from the following file: