]> git.proxmox.com Git - proxmox.git/commit
api-test: import struct tests
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 1 Aug 2019 12:40:12 +0000 (14:40 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 1 Aug 2019 12:40:13 +0000 (14:40 +0200)
commite985dc8f84ad36137f902ed22c0244bda8e43e29
tree27db0025a698f2d03ec4d21061673b2ab1b6d4dc
parent75e90ebb2518ee5db580ae61561115b920f93d2e
api-test: import struct tests

This is a bigger set of tests for the type-side (mostly for
`struct`s) of the #[api] macro, tasting serialization and
verifiers in various forms.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
16 files changed:
api-test/Cargo.toml
api-test/src/api.rs [deleted file]
api-test/src/bin/api-test.rs [new file with mode: 0644]
api-test/src/lib.rs [new file with mode: 0644]
api-test/src/lxc/mod.rs [new file with mode: 0644]
api-test/src/lxc/schema/mod.rs [new file with mode: 0644]
api-test/src/main.rs [deleted file]
api-test/src/schema/memory.rs [new file with mode: 0644]
api-test/src/schema/mod.rs [new file with mode: 0644]
api-test/src/schema/string_list.rs [new file with mode: 0644]
api-test/src/schema/string_set.rs [new file with mode: 0644]
api-test/src/schema/tools.rs [new file with mode: 0644]
api-test/src/schema/types/memory.rs [new file with mode: 0644]
api-test/src/schema/types/mod.rs [new file with mode: 0644]
api-test/src/schema/types/volume_id.rs [new file with mode: 0644]
api-test/tests/lxc-config.rs [new file with mode: 0644]