Searched refs:Exists (Results 1 – 2 of 2) sorted by relevance
/trusty/user/app/storage/test/storage-unittest-aidl/unittests/ |
D | mod.rs | 9 use helpers::{ensure_deleted, Exists}; 29 assert_ok!(ensure_deleted(ss, fname, Exists::Unknown)); in create_delete() 52 assert_ok!(ensure_deleted(ss, fname, Exists::Must)); in create_delete() 59 assert_ok!(ensure_deleted(ss, fname1, Exists::Unknown)); in create_move_delete() 60 assert_ok!(ensure_deleted(ss, fname2, Exists::Unknown)); in create_move_delete() 120 assert_ok!(ensure_deleted(ss, fname1, Exists::Must)); in create_move_delete() 121 assert_ok!(ensure_deleted(ss, fname2, Exists::Must)); in create_move_delete() 130 assert_ok!(ensure_deleted(ss, fname, Exists::Unknown), "file: {}", fname); in file_list() 167 assert_ok!(ensure_deleted(ss, fname, Exists::Must), "file: {}", fname); in file_list() 185 assert_ok!(ensure_deleted(ss, fname, Exists::Unknown)); in write_read_sequential() [all …]
|
D | helpers.rs | 7 pub(crate) enum Exists { enum 16 expectation: Exists, in ensure_deleted() argument 27 if let Exists::MustNot = expectation { in ensure_deleted() 38 if let Exists::Must = expectation { in ensure_deleted() 54 ensure_deleted(ss, fname, Exists::MustNot) in ensure_deleted()
|