Searched refs:run_test (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Virtualization/guest/apkdmverity/src/ |
D | main.rs | 205 fn run_test(apk: &[u8], idsig: &[u8], name: &str, check: fn(TestContext)) { in run_test() function 242 run_test(apk.as_ref(), idsig.as_ref(), "correct", |ctx| { in correct_inputs() 265 run_test(modified_apk.as_slice(), idsig.as_ref(), "incorrect_apk", |ctx| { in incorrect_apk() 290 run_test(apk.as_ref(), modified_idsig.as_slice(), "incorrect_merkle_tree", |ctx| { in incorrect_merkle_tree() 306 run_test(apk.as_ref(), idsig.as_ref(), "tampered_apk", |ctx| { in tampered_apk() 329 run_test(apk.as_ref(), idsig.as_ref(), "tampered_idsig", |ctx| { in tampered_idsig()
|
/packages/modules/Virtualization/tests/backcompat_test/src/ |
D | main.rs | 45 run_test(false, GOLDEN_DEVICE_TREE) in test_device_tree_compat() 51 run_test(true, GOLDEN_DEVICE_TREE_PROTECTED) in test_device_tree_protected_compat() 54 fn run_test(protected: bool, golden_dt: &str) -> Result<()> { in run_test() function
|
/packages/modules/Virtualization/tests/vmbase_example/src/ |
D | main.rs | 43 run_test(Some(open_payload(VMBASE_EXAMPLE_KERNEL_PATH)?), None) in test_run_example_kernel_vm() 49 run_test(None, Some(open_payload(VMBASE_EXAMPLE_BIOS_PATH)?)) in test_run_example_bios_vm() 52 fn run_test( in run_test() function
|
/packages/modules/Virtualization/guest/zipfuse/src/ |
D | main.rs | 536 fn run_test(add: fn(&mut zip::ZipWriter<File>), check: fn(&std::path::Path)) { in run_test() function 623 run_test( in empty() 633 run_test( in single_file() 652 run_test(add_executable, |root| { in noexec() 690 run_test( in single_dir() 719 run_test( in complex_hierarchy() 759 run_test( in large_file() 775 run_test( in large_dir() 825 run_test( in supports_store()
|