test non-empty repo app view
[?]
May 15, 2025, 5:03 PM
3QVNMRNMI63L2VOFVTMPCVPXH3J4JXLXVTIIPNOMACQCPCAPWILQCDependencies
- [2]
OPXFZKEBview tests setup
Change contents
- replacement in inflorescence_view/src/app/test.rs at line 4
use libflorescence::{prelude::pijul::HashMap, repo};use libflorescence::{prelude::pijul::{self, HashMap},repo,}; - edit in inflorescence_view/src/app/test.rs at line 58
});let state = State {repo_path: &repo_path,repo: repo.as_ref(),cursor: &cursor,record_msg: record_msg.as_ref(),diffs_state: &diffs_state,};test_view(&mut results,uniq_name,view(state, window_id, |_id| Some(&diff)),size,);// _________________________________________________________________________//let uniq_name = "app_loaded_non_empty_repo";let repo = Some(repo::State {dir_name: "path".to_string(),channel: "some_channel".to_string(),untracked_files: BTreeSet::from_iter(["untracked.rs".to_string(),"a_very_veeeerrrrrrrrrryyyyyy_looooooooooonnnnnggggggg_name.rs".to_string(),"a/sub/dir/somewhere/deep/untracked_file.rs".to_string(),]),changed_files: BTreeMap::from_iter([("changed_file.rs".to_string(),BTreeSet::default(),),("also_a_very_veeeerrrrrrrrrryyyyyy_looooooooooonnnnnggggggg_name.rs".to_string(),BTreeSet::default(),),("a/sub/dir/somewhere/deep/changed_file.rs".to_string(),BTreeSet::default(),),]),log: vec![repo::LogEntry {hash: pijul::Hash::None,message: "the very last change".to_string(),file_paths: vec![],}],