Added the bones of test_serialize_json

This commit is contained in:
Teknique 2023-05-25 15:22:01 -07:00
parent d0ac838708
commit cd8e90cafa
4 changed files with 14 additions and 0 deletions

View File

@ -33,6 +33,8 @@ pub async fn run_all_tests() {
test_crypto::test_all().await;
info!("TEST: test_envelope_receipt");
test_envelope_receipt::test_all().await;
info!("TEST: veilid_api::tests::test_serialize_json");
veilid_api::tests::test_serialize_json::test_all().await;
info!("TEST: veilid_api::tests::test_serialize_rkyv");
veilid_api::tests::test_serialize_rkyv::test_all().await;
info!("TEST: routing_table::test_serialize_routing_table");
@ -129,6 +131,8 @@ cfg_if! {
run_test!(test_envelope_receipt);
run_test!(veilid_api, test_serialize_json);
run_test!(veilid_api, test_serialize_rkyv);
run_test!(routing_table, test_serialize_routing_table);

View File

@ -1 +1,2 @@
pub mod test_serialize_json;
pub mod test_serialize_rkyv;

View File

@ -0,0 +1,3 @@
pub async fn test_all() {
// test_simple_string().await;
}

View File

@ -90,6 +90,12 @@ async fn wasm_test_envelope_receipt() {
test_envelope_receipt::test_all().await;
}
#[wasm_bindgen_test]
async fn wasm_test_serialize_json() {
setup();
test_serialize_json::test_all().await;
}
#[wasm_bindgen_test]
async fn wasm_test_serialize_rkyv() {
setup();