()
| 2767 | /// Test all valid refcount orders (0-6) can be opened. |
| 2768 | #[test] |
| 2769 | fn refcount_all_orders() { |
| 2770 | for order in 0..=6u8 { |
| 2771 | let mut header = valid_header_v3(); |
| 2772 | header[99] = order; |
| 2773 | with_basic_file(&header, |disk_file: RawFile| { |
| 2774 | QcowFile::from(disk_file).expect("refcount order should work"); |
| 2775 | }); |
| 2776 | } |
| 2777 | } |
| 2778 | |
| 2779 | /// Test write/read roundtrip for all refcount orders. |
| 2780 | #[test] |
nothing calls this directly
no test coverage detected