mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-17 19:54:46 -05:00
Added the bones of test_serialize_json
This commit is contained in:
parent
d0ac838708
commit
cd8e90cafa
@ -33,6 +33,8 @@ pub async fn run_all_tests() {
|
|||||||
test_crypto::test_all().await;
|
test_crypto::test_all().await;
|
||||||
info!("TEST: test_envelope_receipt");
|
info!("TEST: test_envelope_receipt");
|
||||||
test_envelope_receipt::test_all().await;
|
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");
|
info!("TEST: veilid_api::tests::test_serialize_rkyv");
|
||||||
veilid_api::tests::test_serialize_rkyv::test_all().await;
|
veilid_api::tests::test_serialize_rkyv::test_all().await;
|
||||||
info!("TEST: routing_table::test_serialize_routing_table");
|
info!("TEST: routing_table::test_serialize_routing_table");
|
||||||
@ -129,6 +131,8 @@ cfg_if! {
|
|||||||
|
|
||||||
run_test!(test_envelope_receipt);
|
run_test!(test_envelope_receipt);
|
||||||
|
|
||||||
|
run_test!(veilid_api, test_serialize_json);
|
||||||
|
|
||||||
run_test!(veilid_api, test_serialize_rkyv);
|
run_test!(veilid_api, test_serialize_rkyv);
|
||||||
|
|
||||||
run_test!(routing_table, test_serialize_routing_table);
|
run_test!(routing_table, test_serialize_routing_table);
|
||||||
|
@ -1 +1,2 @@
|
|||||||
|
pub mod test_serialize_json;
|
||||||
pub mod test_serialize_rkyv;
|
pub mod test_serialize_rkyv;
|
||||||
|
3
veilid-core/src/veilid_api/tests/test_serialize_json.rs
Normal file
3
veilid-core/src/veilid_api/tests/test_serialize_json.rs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pub async fn test_all() {
|
||||||
|
// test_simple_string().await;
|
||||||
|
}
|
@ -90,6 +90,12 @@ async fn wasm_test_envelope_receipt() {
|
|||||||
test_envelope_receipt::test_all().await;
|
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]
|
#[wasm_bindgen_test]
|
||||||
async fn wasm_test_serialize_rkyv() {
|
async fn wasm_test_serialize_rkyv() {
|
||||||
setup();
|
setup();
|
||||||
|
Loading…
Reference in New Issue
Block a user