From 572ee3cf7d9a7c99575a74705ce871aaee6885e2 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Thu, 8 Jan 2026 14:30:29 -0800 Subject: [PATCH] container: root: test: unit: type: add PluggableSpace entrypoint --- container/src/root/test/unit/type.hh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/container/src/root/test/unit/type.hh b/container/src/root/test/unit/type.hh index 2e8505b..7e99075 100644 --- a/container/src/root/test/unit/type.hh +++ b/container/src/root/test/unit/type.hh @@ -1,6 +1,6 @@ // docker-finance | modern accounting for the power-user // -// Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC) +// Copyright (C) 2021-2026 Aaron Fiore (Founder, Evergreen Crypto LLC) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -274,27 +274,32 @@ struct PluggableSpaceType : public ::testing::Test, public ::dfi::common::type::PluggableSpace { PluggableSpaceType() - : ::dfi::common::type::PluggableSpace({"outer::space", "inner::space"}) + : ::dfi::common::type::PluggableSpace( + {"outer::space", "inner::space", "class_C"}) { } const std::string kOuter{"outer::space"}; const std::string kInner{"inner::space"}; + const std::string kEntry{"class_C"}; }; TEST_F(PluggableSpaceType, Accessors) { ASSERT_EQ(outer(), kOuter); ASSERT_EQ(inner(), kInner); + ASSERT_EQ(entry(), kEntry); } TEST_F(PluggableSpaceType, Mutators) { - ASSERT_NO_THROW( - outer(kOuter + "::more_outer").inner(kInner + "::more_inner")); + ASSERT_NO_THROW(outer(kOuter + "::more_outer") + .inner(kInner + "::more_inner") + .entry(kEntry + "_")); ASSERT_EQ(outer(), kOuter + "::more_outer"); ASSERT_EQ(inner(), kInner + "::more_inner"); + ASSERT_EQ(entry(), kEntry + "_"); } //! \brief PluggableArgs type fixture