Software APIs
Data Structures | Functions
anonymous_namespace{mock_mmio_test.cc} Namespace Reference

Data Structures

class  MockMmioTest
 

Functions

uint32_t WriteTwice (mmio_region_t dev)
 Exercises the register |dev| by reading a value at offset 0x0, writing its complement to 0x4, and then writing it byte by byte back over itself, from MSB to LSB.
 
 TEST_F (MockMmioTest, WriteTwice)
 
 TEST_F (MockMmioTest, ExpectReadZero)
 
 TEST_F (MockMmioTest, ExpectWithString)
 
 TEST_F (MockMmioTest, ExpectWithBits)
 
 TEST_F (MockMmioTest, ExpectMask)