Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword TupleLoad Str Str Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Num keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore ListLoad Str Str Str Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Tests for the file entry implementation using sqlite blob. N/A os N/A unittest dfvfs.path sqlite_blob_path_spec dfvfs.path os_path_spec dfvfs.resolver context dfvfs.vfs sqlite_blob_file_entry dfvfs.vfs sqlite_blob_file_system SQLiteBlobFileEntryTest N/A N/A unittest TestCase N/A N/A The unit test for the sqlite blob file entry object. setUp N/A N/A self N/A N/A N/A Sets up the needed objects used throughout the test. N/A N/A self _resolver_context N/A N/A context Context N/A test_file N/A N/A N/A os path join test_data blob.db N/A path_spec N/A N/A os_path_spec OSPathSpec location test_file N/A N/A self _sqlite_blob_path_spec N/A N/A sqlite_blob_path_spec SQLiteBlobPathSpec table_name myblobs column_name blobs row_condition N/A name == mmssms.db parent path_spec N/A N/A self _sqlite_blob_path_spec_2 N/A N/A sqlite_blob_path_spec SQLiteBlobPathSpec table_name myblobs column_name blobs row_index 2 parent path_spec N/A N/A self _sqlite_blob_path_spec_directory N/A N/A sqlite_blob_path_spec SQLiteBlobPathSpec table_name myblobs column_name blobs parent path_spec N/A N/A self _file_system N/A N/A sqlite_blob_file_system SQLiteBlobFileSystem N/A self _resolver_context N/A N/A N/A N/A self _file_system Open N/A self _sqlite_blob_path_spec N/A tearDown N/A N/A self N/A N/A N/A Cleans up the needed objects used throughout the test. N/A N/A N/A N/A self _file_system Close N/A testIntialize N/A N/A self N/A N/A N/A Test the initialize functionality. N/A file_entry N/A N/A sqlite_blob_file_entry SQLiteBlobFileEntry N/A self _resolver_context N/A self _file_system N/A self _sqlite_blob_path_spec N/A N/A N/A self assertIsNotNone file_entry N/A file_entry N/A N/A sqlite_blob_file_entry SQLiteBlobFileEntry N/A self _resolver_context N/A self _file_system N/A self _sqlite_blob_path_spec_2 N/A N/A N/A self assertIsNotNone file_entry N/A testGetFileEntryByPathSpec N/A N/A self N/A N/A N/A Test the get a file entry by path specification functionality. N/A file_entry N/A N/A N/A self _file_system GetFileEntryByPathSpec N/A self _sqlite_blob_path_spec N/A N/A N/A self assertIsNotNone file_entry N/A file_entry N/A N/A N/A self _file_system GetFileEntryByPathSpec N/A self _sqlite_blob_path_spec_2 N/A N/A N/A self assertIsNotNone file_entry N/A testGetParentFileEntry N/A N/A self N/A N/A N/A Tests the GetParentFileEntry function. N/A file_entry N/A N/A N/A self _file_system GetFileEntryByPathSpec N/A self _sqlite_blob_path_spec N/A N/A N/A self assertIsNotNone file_entry N/A parent_file_entry N/A N/A file_entry GetParentFileEntry N/A N/A N/A self assertIsNotNone parent_file_entry N/A N/A N/A self assertEqual N/A parent_file_entry name myblobs.blobs N/A testGetStat N/A N/A self N/A N/A N/A Tests the GetStat function. N/A file_entry N/A N/A N/A self _file_system GetFileEntryByPathSpec N/A self _sqlite_blob_path_spec N/A stat_object N/A N/A file_entry GetStat N/A N/A N/A self assertIsNotNone stat_object N/A N/A N/A self assertEqual N/A stat_object type N/A stat_object TYPE_FILE N/A N/A N/A self assertEqual N/A stat_object size 110592 N/A file_entry N/A N/A N/A self _file_system GetFileEntryByPathSpec N/A self _sqlite_blob_path_spec_2 N/A stat_object N/A N/A file_entry GetStat N/A N/A N/A self assertIsNotNone stat_object N/A N/A N/A self assertEqual N/A stat_object type N/A stat_object TYPE_FILE N/A N/A N/A self assertEqual N/A stat_object size 11 N/A testIsFunctions N/A N/A self N/A N/A N/A Test the Is? functions. N/A file_entry N/A N/A N/A self _file_system GetFileEntryByPathSpec N/A self _sqlite_blob_path_spec N/A N/A N/A self assertFalse N/A N/A file_entry IsRoot N/A N/A N/A self assertFalse N/A N/A file_entry IsVirtual N/A N/A N/A self assertTrue N/A N/A file_entry IsAllocated N/A N/A N/A self assertFalse N/A N/A file_entry IsDevice N/A N/A N/A self assertFalse N/A N/A file_entry IsDirectory N/A N/A N/A self assertTrue N/A N/A file_entry IsFile N/A N/A N/A self assertFalse N/A N/A file_entry IsLink N/A N/A N/A self assertFalse N/A N/A file_entry IsPipe N/A N/A N/A self assertFalse N/A N/A file_entry IsSocket N/A testSubFileEntries N/A N/A self N/A N/A N/A Test the sub file entries iteration functionality. N/A file_entry N/A N/A N/A self _file_system GetFileEntryByPathSpec N/A self _sqlite_blob_path_spec_directory N/A N/A N/A self assertTrue N/A N/A file_entry IsDirectory N/A N/A N/A self assertIsNotNone file_entry N/A N/A N/A self assertEqual N/A file_entry number_of_sub_file_entries 4 N/A expected_sub_file_entry_names N/A OFFSET 0 OFFSET 1 OFFSET 2 OFFSET 3 N/A sub_file_entry_names N/A N/A sub_file_entry N/A file_entry sub_file_entries N/A N/A N/A N/A sub_file_entry_names append N/A sub_file_entry name N/A N/A N/A self assertEqual N/A len sub_file_entry_names N/A len expected_sub_file_entry_names N/A N/A N/A self assertEqual N/A sorted sub_file_entry_names expected_sub_file_entry_names N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main