Searched refs:config_content (Results 1 – 4 of 4) sorted by relevance
55 let config_content = r#" in test_load_from_valid_file() 63 .write_all(config_content.as_bytes()) in test_load_from_valid_file() 75 let config_content = r#" in test_load_from_valid_str() 81 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_invalid_fs_type() 89 let config_content = r#"94 assert!(RootFSConfigFile::load_from_str(config_content).is_err()); in test_load_from_valid_str_size_integer() 100 let config_content = r#" in test_load_from_valid_str_size_integer() 106 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_valid_str_size_bytes_str() 114 let config_content = r#" in test_load_from_valid_str_size_bytes_str() 120 let config = RootFSConfigFile::load_from_str(config_content)48 let config_content = r#" test_load_from_valid_file() localVariable 68 let config_content = r#" test_load_from_valid_str() localVariable 82 let config_content = r#" test_load_from_invalid_fs_type() localVariable 93 let config_content = r#" test_load_from_valid_str_size_integer() localVariable 107 let config_content = r#" test_load_from_valid_str_size_bytes_str() localVariable [all...]
55 let config_content = r#" in test_load_from_valid_file() localVariable63 .write_all(config_content.as_bytes()) in test_load_from_valid_file()75 let config_content = r#" in test_load_from_valid_str() localVariable81 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_valid_str()89 let config_content = r#" in test_load_from_invalid_fs_type() localVariable94 assert!(RootFSConfigFile::load_from_str(config_content).is_err()); in test_load_from_invalid_fs_type()100 let config_content = r#" in test_load_from_valid_str_size_integer() localVariable106 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_valid_str_size_integer()114 let config_content = r#" in test_load_from_valid_str_size_bytes_str() localVariable120 let config = RootFSConfigFile::load_from_str(config_content) in test_load_from_valid_str_size_bytes_str()
43 for (config_content, expected_type) in test_cases { in test_parse_partition_type() 44 let partition_config: PartitionConfig = toml::from_str(config_content).unwrap(); in test_parse_partition_type()
43 for (config_content, expected_type) in test_cases { in test_parse_partition_type()44 let partition_config: PartitionConfig = toml::from_str(config_content).unwrap(); in test_parse_partition_type()