backend: support outputs with arbitrary modes
This commit is contained in:
parent
dd10e1a585
commit
1a9753847a
23 changed files with 199 additions and 59 deletions
|
|
@ -126,7 +126,7 @@ impl TestBackend {
|
|||
refresh_rate_millihz: 60_000,
|
||||
};
|
||||
let default_monitor_info = MonitorInfo {
|
||||
modes: vec![mode],
|
||||
modes: Some(vec![mode]),
|
||||
output_id: Rc::new(OutputId {
|
||||
connector: None,
|
||||
manufacturer: "jay".to_string(),
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ async fn test(run: Rc<TestRun>) -> TestResult {
|
|||
damage_calls: NumCell::new(0),
|
||||
});
|
||||
let new_monitor_info = MonitorInfo {
|
||||
modes: vec![],
|
||||
modes: Some(vec![]),
|
||||
output_id: Rc::new(OutputId {
|
||||
connector: None,
|
||||
manufacturer: "jay".to_string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue