feature/shuffle-sort #30
@@ -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)),
|
||||||
|
|||||||
Reference in New Issue
Block a user