nix-super/src/libstore/tests
John Ericson f7b8f8aff6 Introduce separate Serve protocol serialisers
To start, it is just a clone of the common protocol. But now that we
have the separate protocol implementations, we can add versioning
information without the versions of one protocol leaking into another.

Using the infrastructure from the previous commit, we don't have to
duplicate code for shared behavior.

Motivation: No more perverse incentives. [0] did some awkward things
because the serialisers did not store the version. I don't want anyone
making changes to be pushed towards keeping the serialization logic with
the core data types just because it's easier or the alternative is
tedious.

The actual versioning of the Worker and Serve protocol serialisers
(Common remains unversioned as the underlying mini-protocols are not
versioned) will happen in subsequent commits / PRs.

[0]: fe1f34fa60
2023-10-10 11:52:45 -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
serve-protocol.cc Introduce separate Serve protocol serialisers 2023-10-10 11:52:45 -04:00
worker-protocol.cc Unit test the "common protocol" too 2023-10-09 16:57:03 -04:00