Searched refs:parse_boot_metadata (Results 1 – 1 of 1) sorted by relevance
63 fn parse_boot_metadata(toml_str: &str) -> Result<BootMetadata, toml::de::Error> { in parse_boot_metadata() function83 let result = parse_boot_metadata(toml_str).unwrap(); in test_parse_grub_legacy_graphic()96 let result = parse_boot_metadata(toml_str).unwrap(); in test_parse_grub_efi_graphic_vnc()109 let result = parse_boot_metadata(toml_str).unwrap(); in test_parse_direct_no_graphic()122 let result = parse_boot_metadata(toml_str).unwrap(); in test_parse_dragon_stub_graphic()133 let r = parse_boot_metadata(toml_str); in test_parse_missing_boot_protocol()146 let r = parse_boot_metadata(toml_str); in test_parse_missing_boot_mode()158 let r = parse_boot_metadata(toml_str); in test_parse_invalid_boot_protocol()171 let r = parse_boot_metadata(toml_str); in test_parse_invalid_boot_mode()184 assert!(parse_boot_metadata(toml_str).is_err()); in test_parse_empty_fields()