feature/shuffle-sort #30

Merged
cameron merged 21 commits from feature/shuffle-sort into master 2024-12-06 16:25:44 +00:00
Showing only changes of commit 9c2cd2566f - Show all commits

View File

@@ -396,7 +396,7 @@ mod tests {
} }
fn move_file<P: AsRef<Path>>(&self, from: P, destination: P) -> anyhow::Result<()> { fn move_file<P: AsRef<Path>>(&self, from: P, destination: P) -> anyhow::Result<()> {
todo!()
} }
} }
@@ -449,6 +449,7 @@ mod tests {
Arc::new(StreamActor {}.start()), Arc::new(StreamActor {}.start()),
String::from("/tmp"), String::from("/tmp"),
String::from("/tmp/thumbs"), String::from("/tmp/thumbs"),
String::from("/tmp/video"),
)), )),
Data::new(RealFileSystem::new(String::from("/tmp"))), Data::new(RealFileSystem::new(String::from("/tmp"))),
Data::new(Mutex::new(SqliteTagDao::default())), Data::new(Mutex::new(SqliteTagDao::default())),
@@ -490,6 +491,7 @@ mod tests {
Arc::new(StreamActor {}.start()), Arc::new(StreamActor {}.start()),
String::from("/tmp"), String::from("/tmp"),
String::from("/tmp/thumbs"), String::from("/tmp/thumbs"),
String::from("/tmp/video"),
)), )),
Data::new(RealFileSystem::new(String::from("./"))), Data::new(RealFileSystem::new(String::from("./"))),
Data::new(Mutex::new(SqliteTagDao::default())), Data::new(Mutex::new(SqliteTagDao::default())),
@@ -536,6 +538,7 @@ mod tests {
Arc::new(StreamActor {}.start()), Arc::new(StreamActor {}.start()),
String::from(""), String::from(""),
String::from("/tmp/thumbs"), String::from("/tmp/thumbs"),
String::from("/tmp/video"),
)), )),
Data::new(FakeFileSystem::new(files)), Data::new(FakeFileSystem::new(files)),
Data::new(Mutex::new(tag_dao)), Data::new(Mutex::new(tag_dao)),
@@ -593,6 +596,7 @@ mod tests {
Arc::new(StreamActor {}.start()), Arc::new(StreamActor {}.start()),
String::from(""), String::from(""),
String::from("/tmp/thumbs"), String::from("/tmp/thumbs"),
String::from("/tmp/video"),
)), )),
Data::new(FakeFileSystem::new(files)), Data::new(FakeFileSystem::new(files)),
Data::new(Mutex::new(tag_dao)), Data::new(Mutex::new(tag_dao)),