yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
message_test.cc
Go to the documentation of this file.
1#include <gtest/gtest.h>
2
5#include "test/core/testing.h"
6
7namespace yaze {
8namespace test {
9namespace zelda3 {
10
11class MessageTest : public ::testing::Test, public app::SharedRom {
12 protected:
13 void SetUp() override {
14#if defined(__linux__)
15 GTEST_SKIP();
16#endif
17 }
18 void TearDown() override {}
19
21 std::vector<app::editor::DictionaryEntry> dictionary_;
22};
23
24TEST_F(MessageTest, LoadMessagesFromRomOk) {
25 EXPECT_OK(rom()->LoadFromFile("zelda3.sfc"));
26 EXPECT_OK(message_editor_.Initialize());
27}
28
43TEST_F(MessageTest, VerifySingleMessageFromRomOk) {
44 // TODO - Implement this test
45}
46
47} // namespace zelda3
48} // namespace test
49} // namespace yaze
A class to hold a shared pointer to a Rom object.
Definition rom.h:576
std::vector< app::editor::DictionaryEntry > dictionary_
app::editor::MessageEditor message_editor_
TEST_F(DungeonRoomTest, SingleRoomLoadOk)
Definition common.cc:22
#define EXPECT_OK(expr)
Definition testing.h:10