Cbeam
Loading...
Searching...
No Matches
test_item_registry.cpp File Reference
#include <cbeam/lifecycle/item_registry.hpp>
#include <gtest/gtest.h>
#include <string>
#include <vector>
Include dependency graph for test_item_registry.cpp:

Namespaces

namespace  cbeam
 The root namespace for the Cbeam library. This namespace unifies cross-platform utilities for concurrency, memory management, file handling, logging, serialization, and more. Its purpose is to provide a cohesive collection of modern C++ components that address common system-level and application-level tasks, while promoting thread-safety, interprocess communication, and stable resource handling across varied platform APIs.
 
namespace  cbeam::lifecycle
 Manages the lifecycle of singletons, item registries, and scoped variables. This namespace introduces powerful constructs such as singleton_control and item_registry for explicitly managing the instantiation and teardown of resources, minimizing global-state risks and encouraging well-defined initialization flows.
 

Functions

 cbeam::lifecycle::TEST (ItemRegistryTest, RegisterNewItem)
 
 cbeam::lifecycle::TEST (ItemRegistryTest, DeregisterAndReuseId)
 
 cbeam::lifecycle::TEST (ItemRegistryTest, ReachMaximumItems)
 
 cbeam::lifecycle::TEST (ItemRegistryTest, RecycleIdentifier)