backend-infra-engineer: Release v0.3.9-hotfix7 snapshot
This commit is contained in:
@@ -1,6 +1,25 @@
|
||||
/**
|
||||
* @file object_rendering_test.cc
|
||||
* @brief Unit tests for object rendering with mock data
|
||||
*
|
||||
* ============================================================================
|
||||
* DEPRECATED - DO NOT USE - November 2025
|
||||
* ============================================================================
|
||||
*
|
||||
* This file is DEPRECATED and excluded from the build. It duplicates coverage
|
||||
* already provided by dungeon_object_rendering_tests.cc but uses mock ROM data
|
||||
* instead of the proper TestRomManager fixture.
|
||||
*
|
||||
* REPLACEMENT:
|
||||
* - Use test/integration/zelda3/dungeon_object_rendering_tests.cc instead
|
||||
*
|
||||
* This file is kept for reference only.
|
||||
* ============================================================================
|
||||
*/
|
||||
|
||||
#include "absl/status/status.h"
|
||||
#include "app/gfx/background_buffer.h"
|
||||
#include "app/gfx/snes_palette.h"
|
||||
#include "app/gfx/render/background_buffer.h"
|
||||
#include "app/gfx/types/snes_palette.h"
|
||||
#include "app/rom.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "zelda3/dungeon/object_drawer.h"
|
||||
|
||||
@@ -13,9 +13,10 @@ namespace zelda3 {
|
||||
class OverworldTest : public ::testing::Test {
|
||||
protected:
|
||||
void SetUp() override {
|
||||
// Skip tests on Linux for automated github builds
|
||||
// Skip tests on Linux CI - these require SDL/graphics system initialization
|
||||
// that is not available in headless CI environments
|
||||
#if defined(__linux__)
|
||||
GTEST_SKIP();
|
||||
GTEST_SKIP() << "Overworld tests require graphics context (unavailable on Linux CI)";
|
||||
#endif
|
||||
// Create a mock ROM for testing
|
||||
rom_ = std::make_unique<Rom>();
|
||||
|
||||
Reference in New Issue
Block a user