backend-infra-engineer: Release v0.3.3 snapshot
This commit is contained in:
@@ -6,15 +6,15 @@
|
||||
|
||||
#include "app/editor/dungeon/dungeon_editor_v2.h"
|
||||
#include "app/rom.h"
|
||||
#include "zelda3/dungeon/room.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "zelda3/dungeon/room.h"
|
||||
|
||||
namespace yaze {
|
||||
namespace test {
|
||||
|
||||
/**
|
||||
* @brief Integration test framework using real ROM data
|
||||
*
|
||||
*
|
||||
* Updated for DungeonEditorV2 with card-based architecture
|
||||
*/
|
||||
class DungeonEditorIntegrationTest : public ::testing::Test {
|
||||
@@ -31,15 +31,15 @@ class DungeonEditorIntegrationTest : public ::testing::Test {
|
||||
}
|
||||
ASSERT_TRUE(status.ok()) << "Could not load zelda3.sfc from any location";
|
||||
ASSERT_TRUE(rom_->InitializeForTesting().ok());
|
||||
|
||||
|
||||
// Initialize DungeonEditorV2 with ROM
|
||||
dungeon_editor_ = std::make_unique<editor::DungeonEditorV2>();
|
||||
dungeon_editor_->set_rom(rom_.get());
|
||||
|
||||
|
||||
// Load editor data
|
||||
auto load_status = dungeon_editor_->Load();
|
||||
ASSERT_TRUE(load_status.ok()) << "Failed to load dungeon editor: "
|
||||
<< load_status.message();
|
||||
ASSERT_TRUE(load_status.ok())
|
||||
<< "Failed to load dungeon editor: " << load_status.message();
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
@@ -49,7 +49,7 @@ class DungeonEditorIntegrationTest : public ::testing::Test {
|
||||
|
||||
std::unique_ptr<Rom> rom_;
|
||||
std::unique_ptr<editor::DungeonEditorV2> dungeon_editor_;
|
||||
|
||||
|
||||
static constexpr int kTestRoomId = 0x01;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user