From 28af316eccb6125fb704bcac23458a924da4246b Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 30 Sep 2018 21:06:38 +0100 Subject: [PATCH] Add more test cases (unimplemented) --- src/function.rs | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/function.rs b/src/function.rs index 25b95c1..3bfb485 100644 --- a/src/function.rs +++ b/src/function.rs @@ -260,6 +260,16 @@ mod tests { unimplemented!("need to add tempdir and create a test.esp.ghost"); } + #[test] + fn function_file_path_eval_should_be_true_if_given_LOOT() { + unimplemented!(); + } + + #[test] + fn function_file_path_eval_should_not_check_for_ghosted_non_plugin_file() { + unimplemented!(); + } + #[test] fn function_file_path_eval_should_error_if_the_path_is_outside_game_directory() { unimplemented!("to do"); @@ -271,4 +281,28 @@ mod tests { assert!(!function.eval().unwrap()); } + + #[test] + fn function_file_regex_eval_should_error_if_the_path_is_outside_game_directory() { + unimplemented!(); + } + + #[test] + fn function_file_regex_eval_should_be_false_if_no_directory_entries_match() { + unimplemented!(); + } + + #[test] + fn function_file_regex_eval_should_be_false_if_the_parent_path_part_is_not_a_directory() { + unimplemented!(); + } + + #[test] + fn function_file_regex_eval_should_be_true_if_a_directory_entry_matches() { + unimplemented!(); + } + + #[test] + fn function_active_path_eval_should_be_false_if + }