mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 08:49:35 +01:00
This makes the proto serializer characterisation test data be accompanied by JSON data. This is arguably useful for a reasons: - The JSON data is human-readable while the binary data is not, so it provides some indication of what the test data means beyond the C++ literals. - The JSON data is language-agnostic, and so can be used to quickly rig up tests for implementation in other languages, without having source code literals at all (just go back and forth between the JSON and the binary). - Even though we have no concrete plans to place the binary protocol 1-1 or with JSON, it is still nice to ensure that the JSON serializers and binary protocols have (near) equal coverage over data types, to help ensure we didn't forget a JSON (de)serializer. |
||
|---|---|---|
| .. | ||
| include/nix/store/tests | ||
| .version | ||
| derived-path.cc | ||
| meson.build | ||
| nix-meson-build-support | ||
| outputs-spec.cc | ||
| package.nix | ||
| path.cc | ||
| test-main.cc | ||