test bindings in an integration-tests crate

This commit is contained in:
Dustin J. Mitchell
2022-01-25 01:27:24 +00:00
parent 56a805151d
commit c006cbe8e5
29 changed files with 4389 additions and 7123 deletions

View File

@@ -0,0 +1,15 @@
macro_rules! suite(
{ $s:ident } => {
#[test]
fn $s() {
assert_eq!(integration_tests::bindings_tests::$s(), 0);
}
};
);
// keep this list in sync with integration-tests/build.rs and
// integration-tests/src/bindings_tests/mod.rs
suite!(uuid_tests);
suite!(string_tests);
suite!(task_tests);
suite!(replica_tests);