nix-super/src/libutil/tests
John Ericson 6636202356 Factor out a GcStore interface
Starts progress on #5729.

The idea is that we should not have these default methods throwing
"unimplemented". This is a small step in that direction.

I kept `addTempRoot` because it is a no-op, rather than failure. Also,
as a practical matter, it is called all over the place, while doing
other tasks, so the downcasting would be annoying.

Maybe in the future I could move the "real" `addTempRoot` to `GcStore`,
and the existing usecases use a `tryAddTempRoot` wrapper to downcast or
do nothing, but I wasn't sure whether that was a good idea so with a
bias to less churn I didn't do it yet.
2022-03-03 19:01:25 +00:00
..
closure.cc Extract a generic computeClosure function 2021-05-19 11:44:58 +02:00
compression.cc Get rid of std::shared_ptr<std::string> and ref<std::string> 2022-01-18 11:12:30 +01:00
config.cc reproducibility: hide non-reproducible settings from manual 2021-12-01 17:25:58 +01:00
fmt.cc Add some tests for hiliteMatches in libutil 2022-01-21 20:10:54 +01:00
hash.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
json.cc Add unit tests for "json.hh" 2020-05-25 11:57:45 +02:00
local.mk Add tests for logging.hh 2020-06-06 10:22:32 +02:00
logging.cc Factor out a GcStore interface 2022-03-03 19:01:25 +00:00
lru-cache.cc src/libutil/tests/lru-cache.cc: Check erase() 2020-06-02 12:06:59 +02:00
pool.cc Add tests for pool.hh 2020-06-10 22:29:50 +02:00
tests.cc Fix error detection in 'base64Decode()' 2021-10-17 12:45:26 +04:00
url.cc Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
xml-writer.cc Add unit tests for xml-writer 2020-05-25 18:34:55 +02:00