(&self, entry: &DirEntry)
| 1018 | } |
| 1019 | |
| 1020 | fn is_browser(&self, entry: &DirEntry) -> bool { |
| 1021 | if MACOS.is(self.get_os()) && !self.is_firefox() { |
| 1022 | let entry_path = path_to_string(entry.path()); |
| 1023 | self.is_in_cache(entry, &capitalize(self.get_browser_name())) |
| 1024 | && entry_path.contains(".app/Contents/MacOS") |
| 1025 | && !entry_path.contains("Framework") |
| 1026 | } else { |
| 1027 | self.is_in_cache(entry, &self.get_browser_name_with_extension()) |
| 1028 | } |
| 1029 | } |
| 1030 | |
| 1031 | fn is_driver(&self, entry: &DirEntry) -> bool { |
| 1032 | self.is_in_cache(entry, &self.get_driver_name_with_extension()) |
no test coverage detected