From bc3a4a76a813aeceb19a2c2fd81d49e5659c6c50 Mon Sep 17 00:00:00 2001 From: Jan Laupetin Date: Wed, 24 Dec 2025 10:05:02 +0100 Subject: [PATCH] chore: move extend and dereference description into test source file --- .../Game/T6/ExtendAndDereference/README.md | 9 --------- test/SystemTests/Game/T6/ExtendAndDereferenceT6.cpp | 11 +++++++++++ 2 files changed, 11 insertions(+), 9 deletions(-) delete mode 100644 test/SystemTests/Game/T6/ExtendAndDereference/README.md diff --git a/test/SystemTests/Game/T6/ExtendAndDereference/README.md b/test/SystemTests/Game/T6/ExtendAndDereference/README.md deleted file mode 100644 index 545ba1de..00000000 --- a/test/SystemTests/Game/T6/ExtendAndDereference/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Extend and dereference system test - -This makes sure that when reusing assets from an existing zone, asset dependencies that are references can be overwritten to be non-references. - -In this case: - -- The zone `ZoneWithTechsetT6` contains the techniqueset `trivial_floatz_2992w610` -- The zone `ZoneWithMaterialT6` contains the material `test` and with a reference to its techniqueset `,trivial_floatz_2992w610` -- The final zone `CombinedZoneT6` is built while loading both of the other fastfile and is expected to contain both the material `test` with a reference to a (actual asset, not a reference) techniqueset `trivial_floatz_2992w610` diff --git a/test/SystemTests/Game/T6/ExtendAndDereferenceT6.cpp b/test/SystemTests/Game/T6/ExtendAndDereferenceT6.cpp index 22eb208b..b83e2fa6 100644 --- a/test/SystemTests/Game/T6/ExtendAndDereferenceT6.cpp +++ b/test/SystemTests/Game/T6/ExtendAndDereferenceT6.cpp @@ -1,3 +1,14 @@ +/* +This makes sure that when reusing assets from an existing zone, asset dependencies that are references can be overwritten to be non-references. + +In this case: + +- The zone `ZoneWithTechsetT6` contains the techniqueset `trivial_floatz_2992w610` +- The zone `ZoneWithMaterialT6` contains the material `test` and with a reference to its techniqueset `,trivial_floatz_2992w610` +- The final zone `CombinedZoneT6` is built while loading both of the other fastfile and is expected to contain both the material `test` with a reference to a +(actual asset, not a reference) techniqueset `trivial_floatz_2992w610` +*/ + #include "Game/T6/GameAssetPoolT6.h" #include "Linker.h" #include "OatTestPaths.h"