From 18b9899f30d4b66a9217b200bef0c79d33eb2688 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Thu, 9 Apr 2026 19:30:58 -0400 Subject: [PATCH] + xo-gc: utest: + README.md --- utest/README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 utest/README.md diff --git a/utest/README.md b/utest/README.md new file mode 100644 index 0000000..4d6477d --- /dev/null +++ b/utest/README.md @@ -0,0 +1,35 @@ +Unit test here relies on generated facet support. + +Also rehearsing subsystem setup that we use in other xo subsystems +to perform facet registration. +(This is for form's sake. Could just as well invoke directly from gc_utest_main.cpp). + +idl/ config for obj. + + +IGCObject_DMockCollector.*pp automatically generated from idl/ + +MockCollector.hpp fop header file for DX1Collector. + +DMockCollector.*pp mock ACollector impl. Wraps a GCObjectStore pointer. + Load-bearing for GCObjectStore.test.cpp + +init_gc_utest.*pp mock subsystem setup for this directory, + as if it were an "xo-gc-utest" subsystem + +GCObjectStore.test.cpp Generative tests for GCObjectStore. + Generate non-trivial object graphs, + verify evacuation algorithm. + +---------------------------------------------------------------- +These don't use anything downstream of idl/ + +Collector.test.cpp X1 tests. Does some random allocs, + but doesn't exercise GC features + +X1Collector.test.cpp standalone X1Collector test. + does some atomic allocs + verifies + GC behavior for a few xo-object2/ types. + Verify simple tests here. + +DX1CollectorIterator.test.cpp Collector iterator test