1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-20 17:29:36 +01:00
nix/src/libstore-tests/data
John Ericson 204749270b JSON alongside binary proto serialization test data
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.
2025-11-10 18:32:31 -05:00
..
build-result JSON Impl and schema for BuildResult 2025-11-03 18:25:16 -05:00
common-protocol JSON alongside binary proto serialization test data 2025-11-10 18:32:31 -05:00
content-address nlohmann::json instance and JSON Schema for ContentAddress 2025-10-27 14:47:50 -04:00
derivation Test output checks referring to other outputs 2025-11-07 00:17:37 -05:00
derived-path Modernize and test derived path JSON 2025-09-23 15:05:56 -04:00
machines Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
nar-info Futher cleans up store object info JSON v2 2025-11-06 23:28:56 -05:00
outputs-spec Convert {Extended,}OutputsSpec JSON tests to characterization tests 2025-09-23 14:47:00 -04:00
path-info Futher cleans up store object info JSON v2 2025-11-06 23:28:56 -05:00
realisation Add JSON tests for Realisation 2025-09-24 18:09:24 -04:00
serve-protocol JSON alongside binary proto serialization test data 2025-11-10 18:32:31 -05:00
store-path Make the JSON format for derivation use basename store paths 2025-09-17 16:38:17 -04:00
store-reference libstore: Improve store-reference back-compat with IPv6 ZoneId literals 2025-11-01 00:36:15 +03:00
worker-protocol JSON alongside binary proto serialization test data 2025-11-10 18:32:31 -05:00