protected store test

This commit is contained in:
John Smith
2022-01-09 00:13:47 -05:00
parent 84b1ef5e9e
commit 8aea9ee1ab
9 changed files with 138 additions and 121 deletions

View File

@@ -57,6 +57,8 @@ pub fn run_all_tests() {
exec_test_connection_table();
info!("TEST: exec_test_table_store");
exec_test_table_store();
info!("TEST: exec_test_protected_store");
exec_test_protected_store();
info!("TEST: exec_test_crypto");
exec_test_crypto();
info!("TEST: exec_test_envelope_receipt");
@@ -100,6 +102,11 @@ fn exec_test_table_store() {
test_table_store::test_all().await;
})
}
fn exec_test_protected_store() {
async_std::task::block_on(async {
test_protected_store::test_all().await;
})
}
fn exec_test_crypto() {
async_std::task::block_on(async {
test_crypto::test_all().await;
@@ -180,6 +187,13 @@ cfg_if! {
exec_test_table_store();
}
#[test]
#[serial]
fn run_test_protected_store() {
setup();
exec_test_protected_store();
}
#[test]
#[serial]
fn run_test_crypto() {