Lines Matching refs:test_base_path
8 test_base_path: PathBuf, field
13 pub fn test_base_path(&self) -> &PathBuf { in test_base_path() method
14 &self.test_base_path in test_base_path()
19 self.test_base_path.join(relative_path) in abs_path()
34 let mut test_base_path = PathBuf::from(env!("CARGO_MANIFEST_DIR")); in setup() localVariable
35 test_base_path.pop(); in setup()
36 test_base_path.pop(); in setup()
37 test_base_path.push("dadk-config"); in setup()
40 test_base_path in setup()
43 std::env::set_current_dir(&test_base_path).expect("Failed to setup test base path"); in setup()
45 let r = DadkConfigTestContext { test_base_path }; in setup()
65 assert_eq!(test_context.test_base_path(), &expected_path); in test_test_base_path()
72 let expected_path = test_context.test_base_path().join(relative_path); in test_abs_path()