(&self, entry: &DirEntry)
| 1051 | } |
| 1052 | |
| 1053 | fn is_browser(&self, entry: &DirEntry) -> bool { |
| 1054 | if MACOS.is(self.get_os()) && !self.is_firefox() { |
| 1055 | let entry_path = path_to_string(entry.path()); |
| 1056 | self.is_in_cache(entry, &capitalize(self.get_browser_name())) |
| 1057 | && entry_path.contains(".app/Contents/MacOS") |
| 1058 | && !entry_path.contains("Framework") |
| 1059 | } else { |
| 1060 | self.is_in_cache(entry, &self.get_browser_name_with_extension()) |
| 1061 | } |
| 1062 | } |
| 1063 | |
| 1064 | fn is_driver(&self, entry: &DirEntry) -> bool { |
| 1065 | self.is_in_cache(entry, &self.get_driver_name_with_extension()) |
no test coverage detected