mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-24 23:09:25 -05:00
Added serialization tests to iOS/Android and wasm
This commit is contained in:
parent
ff711080ab
commit
f9a9949466
@ -11,6 +11,7 @@ use crate::*;
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub async fn run_all_tests() {
|
||||
// iOS and Android tests also run these.
|
||||
info!("TEST: test_host_interface");
|
||||
test_host_interface::test_all().await;
|
||||
info!("TEST: test_types");
|
||||
@ -31,6 +32,10 @@ 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::test_serialize");
|
||||
veilid_api::tests::test_serialize_rkyv::test_all().await;
|
||||
info!("TEST: routing_table::test_serialize");
|
||||
routing_table::tests::test_serialize::test_all().await;
|
||||
|
||||
info!("Finished unit tests");
|
||||
}
|
||||
@ -170,7 +175,7 @@ cfg_if! {
|
||||
fn run_test_serialize_rkyv() {
|
||||
setup();
|
||||
block_on(async {
|
||||
test_serialize_rkyv::test_all().await;
|
||||
veilid_api::tests::test_serialize_rkyv::test_all().await;
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -89,3 +89,15 @@ async fn exec_test_envelope_receipt() {
|
||||
setup();
|
||||
test_envelope_receipt::test_all().await;
|
||||
}
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
async fn veilid_api__test_serialize_rkyv() {
|
||||
setup();
|
||||
veilid_api::test_serialize_rkyv::test_all().await;
|
||||
}
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
async fn routing_table__test_serialize() {
|
||||
setup();
|
||||
routing_table::test_serialize::test_all().await;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user