@@ -44,17 +44,28 @@ pub struct Config {
44
44
// Building the mock server is slow, so use simple scenario when possible.
45
45
#[ derive( PartialEq , Copy , Clone ) ]
46
46
pub enum Scenario {
47
- Full , // Two dates, two manifests
48
- ArchivesV2 , // Two dates, v2 manifests
49
- ArchivesV1 , // Two dates, v1 manifests
50
- SimpleV2 , // One date, v2 manifests
51
- SimpleV1 , // One date, v1 manifests
52
- MultiHost , // One date, v2 manifests, MULTI_ARCH1 host
53
- Unavailable , // Two dates, v2 manifests, everything unavailable in second date.
54
- UnavailableRls , // Two dates, v2 manifests, RLS unavailable in first date, restored on second.
55
- MissingComponent , // Three dates, v2 manifests, RLS available in first and last, not middle
56
- MissingNightly , // Three dates, v2 manifests, RLS available in first, middle missing nightly
57
- HostGoesMissing , // Two dates, v2 manifests, host and MULTI_ARCH1 in first, host not in second
47
+ /// Two dates, two manifests
48
+ Full ,
49
+ /// Two dates, v2 manifests
50
+ ArchivesV2 ,
51
+ /// Two dates, v1 manifests
52
+ ArchivesV1 ,
53
+ /// One date, v2 manifests
54
+ SimpleV2 ,
55
+ /// One date, v1 manifests
56
+ SimpleV1 ,
57
+ /// One date, v2 manifests, MULTI_ARCH1 host
58
+ MultiHost ,
59
+ /// Two dates, v2 manifests, everything unavailable in second date.
60
+ Unavailable ,
61
+ /// Two dates, v2 manifests, RLS unavailable in first date, restored on second.
62
+ UnavailableRls ,
63
+ /// Three dates, v2 manifests, RLS available in first and last, not middle
64
+ MissingComponent ,
65
+ /// Three dates, v2 manifests, RLS available in first, middle missing nightly
66
+ MissingNightly ,
67
+ /// Two dates, v2 manifests, host and MULTI_ARCH1 in first, host not in second
68
+ HostGoesMissing ,
58
69
}
59
70
60
71
pub static CROSS_ARCH1 : & str = "x86_64-unknown-linux-musl" ;
0 commit comments