model: add file_count_preference for multi-file selection support
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ia27c829dbcc21a7fcfc8e6f67f9e33276a6a6964
This commit is contained in:
parent
e47690a858
commit
0288be07f9
4 changed files with 19 additions and 5 deletions
|
|
@ -1232,6 +1232,7 @@ mod tests {
|
|||
projects: None,
|
||||
export_profiles: None,
|
||||
export_server_side_projects_to_client: None,
|
||||
file_count_preference: None,
|
||||
},
|
||||
profile_config,
|
||||
export_path: PathBuf::from("/tmp/export"),
|
||||
|
|
@ -1362,6 +1363,7 @@ mod tests {
|
|||
projects: None,
|
||||
export_profiles: None,
|
||||
export_server_side_projects_to_client: None,
|
||||
file_count_preference: None,
|
||||
};
|
||||
|
||||
assert_eq!(get_project_type_dir(&ProjectType::Mod, &config), "mods");
|
||||
|
|
@ -1398,6 +1400,7 @@ mod tests {
|
|||
projects: None,
|
||||
export_profiles: None,
|
||||
export_server_side_projects_to_client: None,
|
||||
file_count_preference: None,
|
||||
};
|
||||
|
||||
assert_eq!(
|
||||
|
|
@ -1462,6 +1465,7 @@ mod tests {
|
|||
projects: None,
|
||||
export_profiles: None,
|
||||
export_server_side_projects_to_client: None,
|
||||
file_count_preference: None,
|
||||
};
|
||||
|
||||
let mut context = create_test_context(None);
|
||||
|
|
@ -1492,6 +1496,7 @@ mod tests {
|
|||
projects: None,
|
||||
export_profiles: None,
|
||||
export_server_side_projects_to_client: None,
|
||||
file_count_preference: None,
|
||||
};
|
||||
|
||||
let mut context = create_test_context(None);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue