1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-23 17:31:08 +01:00
nix/src/libstore/tests
John Ericson 4de54b2190 Unit test the "common protocol" too
Copy the relevant tests to ensure the new interfaces added in the last
commit are tested.

Perhaps I should try to deduplicat these tests some more. However its
not clear how to do that outside of a big ugly C++ macro.
https://github.com/google/googletest/blob/main/docs/advanced.md has some
stuff but it is cumbersome and I didn't figure it out yet.

This is done in a separate commit in order to be sure that the first
commit really didn't change any behavior; if we changed the
implementation and the tests at once, it would be harder to tell whether
or not some behavioral changes slipped in what is supposed to be a "pure
refactor".

Co-Authored-By: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-10-09 16:57:03 -04:00
..
test-data Add error reporting to machine spec paser 2021-10-17 12:45:56 +04:00
characterization.hh Unit test the "common protocol" too 2023-10-09 16:57:03 -04:00
common-protocol.cc Unit test the "common protocol" too 2023-10-09 16:57:03 -04:00
derivation.cc Allow dynamic derivation deps in inputDrvs 2023-09-07 10:39:37 -04:00
derived-path.cc Disable rapidcheck tests in the coverage run 2023-09-19 16:04:00 +02:00
derived-path.hh Make the Derived Path family of types inductive for dynamic derivations 2023-08-10 00:08:32 -04:00
downstream-placeholder.cc Feature gate DownstreamPlaceholder::unknownCaOutput 2023-07-13 07:56:33 -04:00
libstore.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
local.mk More property tests 2023-01-29 17:09:59 -05:00
machines.cc Add error reporting to machine spec paser 2021-10-17 12:45:56 +04:00
nar-info-disk-cache.cc NarInfoDiskCache: Also test id consistency with updated fields 2023-02-07 23:34:36 +01:00
outputs-spec.cc Disable rapidcheck tests in the coverage run 2023-09-19 16:04:00 +02:00
outputs-spec.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
path.cc StorePath: reject names starting with '.' 2023-10-04 22:10:52 +00:00
path.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
protocol.hh Unit test the "common protocol" too 2023-10-09 16:57:03 -04:00
references.cc Add a test for RefScanSink and clean up the code 2021-10-04 14:29:42 +02:00
worker-protocol.cc Unit test the "common protocol" too 2023-10-09 16:57:03 -04:00