mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04: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;
|
||||
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);
|
||||
|
@ -1 +1,2 @@
|
||||
pub mod test_serialize_json;
|
||||
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;
|
||||
}
|
||||
|
||||
#[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();
|
||||
|
Loading…
Reference in New Issue
Block a user