Namespaces | |
namespace | emu |
namespace | gfx |
namespace | integration |
namespace | zelda3 |
Classes | |
class | MockRom |
class | RomTest |
Functions | |
MATCHER_P (StatusIs, status, "") | |
template<typename T > | |
::testing::AssertionResult | IsOkAndHolds (const absl::StatusOr< T > &status_or, const T &value) |
MATCHER_P (IsOkAndHolds, value, "") | |
TEST_F (RomTest, Uninitialized) | |
TEST_F (RomTest, LoadFromFile) | |
TEST_F (RomTest, LoadFromFileInvalid) | |
TEST_F (RomTest, LoadFromFileEmpty) | |
TEST_F (RomTest, ReadByteOk) | |
TEST_F (RomTest, ReadByteInvalid) | |
TEST_F (RomTest, ReadWordOk) | |
TEST_F (RomTest, ReadWordInvalid) | |
TEST_F (RomTest, ReadLongOk) | |
TEST_F (RomTest, ReadLongInvalid) | |
TEST_F (RomTest, ReadBytesOk) | |
TEST_F (RomTest, ReadBytesInvalid) | |
TEST_F (RomTest, ReadBytesOutOfRange) | |
TEST_F (RomTest, WriteByteOk) | |
TEST_F (RomTest, WriteByteInvalid) | |
TEST_F (RomTest, WriteWordOk) | |
TEST_F (RomTest, WriteWordInvalid) | |
TEST_F (RomTest, WriteLongOk) | |
TEST_F (RomTest, WriteLongInvalid) | |
TEST_F (RomTest, WriteTransactionSuccess) | |
TEST_F (RomTest, WriteTransactionFailure) | |
TEST_F (RomTest, ReadTransactionSuccess) | |
TEST_F (RomTest, ReadTransactionFailure) | |
::testing::AssertionResult yaze::test::IsOkAndHolds | ( | const absl::StatusOr< T > & | status_or, |
const T & | value ) |
Definition at line 30 of file testing.h.
Referenced by MATCHER_P(), TEST_F(), and TEST_F().
yaze::test::MATCHER_P | ( | IsOkAndHolds | , |
value | , | ||
"" | ) |
Definition at line 43 of file testing.h.
References IsOkAndHolds().
yaze::test::TEST_F | ( | RomTest | , |
Uninitialized | ) |
Definition at line 42 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
LoadFromFile | ) |
Definition at line 47 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
LoadFromFileInvalid | ) |
Definition at line 56 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
LoadFromFileEmpty | ) |
Definition at line 63 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadByteOk | ) |
Definition at line 68 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
ReadByteInvalid | ) |
Definition at line 78 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadWordOk | ) |
Definition at line 83 of file rom_test.cc.
References EXPECT_OK, and IsOkAndHolds().
yaze::test::TEST_F | ( | RomTest | , |
ReadWordInvalid | ) |
Definition at line 94 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadLongOk | ) |
Definition at line 99 of file rom_test.cc.
References EXPECT_OK, and IsOkAndHolds().
yaze::test::TEST_F | ( | RomTest | , |
ReadLongInvalid | ) |
Definition at line 111 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadBytesOk | ) |
Definition at line 116 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
ReadBytesInvalid | ) |
Definition at line 124 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadBytesOutOfRange | ) |
Definition at line 129 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteByteOk | ) |
Definition at line 137 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteByteInvalid | ) |
Definition at line 148 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteWordOk | ) |
Definition at line 157 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteWordInvalid | ) |
Definition at line 168 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteLongOk | ) |
Definition at line 177 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteLongInvalid | ) |
Definition at line 188 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteTransactionSuccess | ) |
Definition at line 197 of file rom_test.cc.
References EXPECT_OK, yaze::app::Rom::LoadFromBytes(), and yaze::app::Rom::WriteTransaction().
yaze::test::TEST_F | ( | RomTest | , |
WriteTransactionFailure | ) |
Definition at line 210 of file rom_test.cc.
References EXPECT_OK, yaze::app::Rom::LoadFromBytes(), and yaze::app::Rom::WriteTransaction().
yaze::test::TEST_F | ( | RomTest | , |
ReadTransactionSuccess | ) |
Definition at line 224 of file rom_test.cc.
References EXPECT_OK, yaze::app::Rom::LoadFromBytes(), and yaze::app::Rom::ReadTransaction().
yaze::test::TEST_F | ( | RomTest | , |
ReadTransactionFailure | ) |
Definition at line 236 of file rom_test.cc.
References EXPECT_OK, yaze::app::Rom::LoadFromBytes(), and yaze::app::Rom::ReadTransaction().