Namespaces | |
namespace | emu |
namespace | gfx |
namespace | integration |
namespace | message |
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) | |
TEST (YazeTest, LoadAndUnloadRom) | |
TEST (YazeTest, NoFilename) | |
::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 41 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
LoadFromFile | ) |
Definition at line 46 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
LoadFromFileInvalid | ) |
Definition at line 55 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
LoadFromFileEmpty | ) |
Definition at line 62 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadByteOk | ) |
Definition at line 67 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
ReadByteInvalid | ) |
Definition at line 77 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadWordOk | ) |
Definition at line 82 of file rom_test.cc.
References EXPECT_OK, and IsOkAndHolds().
yaze::test::TEST_F | ( | RomTest | , |
ReadWordInvalid | ) |
Definition at line 93 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadLongOk | ) |
Definition at line 98 of file rom_test.cc.
References EXPECT_OK, and IsOkAndHolds().
yaze::test::TEST_F | ( | RomTest | , |
ReadLongInvalid | ) |
Definition at line 110 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadBytesOk | ) |
Definition at line 115 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
ReadBytesInvalid | ) |
Definition at line 123 of file rom_test.cc.
yaze::test::TEST_F | ( | RomTest | , |
ReadBytesOutOfRange | ) |
Definition at line 128 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteByteOk | ) |
Definition at line 136 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteByteInvalid | ) |
Definition at line 147 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteWordOk | ) |
Definition at line 156 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteWordInvalid | ) |
Definition at line 167 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteLongOk | ) |
Definition at line 176 of file rom_test.cc.
References ASSERT_OK_AND_ASSIGN, and EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteLongInvalid | ) |
Definition at line 187 of file rom_test.cc.
References EXPECT_OK.
yaze::test::TEST_F | ( | RomTest | , |
WriteTransactionSuccess | ) |
Definition at line 196 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 209 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 223 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 235 of file rom_test.cc.
References EXPECT_OK, yaze::app::Rom::LoadFromBytes(), and yaze::app::Rom::ReadTransaction().
yaze::test::TEST | ( | YazeTest | , |
LoadAndUnloadRom | ) |
Definition at line 14 of file yaze_test.cc.
References yaze_flags::rom_filename, yaze_cleanup(), and yaze_init().
yaze::test::TEST | ( | YazeTest | , |
NoFilename | ) |
Definition at line 22 of file yaze_test.cc.
References yaze_cleanup(), and yaze_init().