From f470cb8569d57f4b474045d6d2bd292b6d8fd7cc Mon Sep 17 00:00:00 2001 From: John Turner <7strbass@gmail.com> Date: Thu, 5 Oct 2023 15:49:47 -0400 Subject: [PATCH] --initial commit --- src/tests/CMakeLists.txt | 10 ++++++++++ src/tests/GfxPbrIblTest.cpp | 39 +++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 src/tests/GfxPbrIblTest.cpp diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 66991e7175..1053efa170 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -114,6 +114,16 @@ corrade_add_test( ) target_include_directories(GfxBatchHbaoTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) +corrade_add_test( + GfxPbrIblTest + GfxPbrIblTest.cpp + LIBRARIES + assets + core + gfx + metadata +) +target_include_directories(GfxPbrIblTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) corrade_add_test( GfxReplayTest GfxReplayTest.cpp diff --git a/src/tests/GfxPbrIblTest.cpp b/src/tests/GfxPbrIblTest.cpp new file mode 100644 index 0000000000..aa70e508c5 --- /dev/null +++ b/src/tests/GfxPbrIblTest.cpp @@ -0,0 +1,39 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree. + +#include +#include +#include +#include + +#include "esp/assets/ResourceManager.h" +#include "esp/core/Logging.h" +#include "esp/metadata/MetadataMediator.h" + +#include "configure.h" + +namespace { +namespace Cr = Corrade; +namespace Mn = Magnum; + +using esp::assets::ResourceManager; +using esp::gfx::LightInfo; +using esp::gfx::LightPositionModel; +using esp::gfx::LightSetup; +using esp::metadata::MetadataMediator; +using esp::sim::Simulator; +using esp::sim::SimulatorConfiguration; + +struct GfxPbrIblTest : Cr::TestSuite::Tester { + explicit GfxPbrIblTest(); + + esp::logging::LoggingContext loggingContext; + +}; // struct GfxReplayTest + +GfxPbrIblTest::GfxPbrIblTest() {} + +} // namespace + +CORRADE_TEST_MAIN(GfxPbrIblTest)