Software APIs
Protected Attributes
rom_test::RomTest Class Reference

Test fixture for ROM tests. More...

#include <sw/device/silicon_creator/testing/rom_test.h>

Protected Attributes

std::unique_ptr< testing::InSequence > seq_
 

Detailed Description

Test fixture for ROM tests.

Test suites should derive their test fixtures from this class. This class enforces that mock methods are called in the order EXPECT_CALL statements are written. In cases where this behavior is not desired, test fixtures can derive from Unordered<RomTest> instead to opt-out.

Definition at line 21 of file rom_test.h.

Field Documentation

◆ seq_

std::unique_ptr<testing::InSequence> rom_test::RomTest::seq_
protected
Initial value:
=
std::make_unique<testing::InSequence>()

Definition at line 23 of file rom_test.h.