(&self, entry: &DirEntry)
| 1040 | } |
| 1041 | |
| 1042 | fn is_browser(&self, entry: &DirEntry) -> bool { |
| 1043 | if MACOS.is(self.get_os()) && !self.is_firefox() { |
| 1044 | let entry_path = path_to_string(entry.path()); |
| 1045 | self.is_in_cache(entry, &capitalize(self.get_browser_name())) |
| 1046 | && entry_path.contains(".app/Contents/MacOS") |
| 1047 | && !entry_path.contains("Framework") |
| 1048 | } else { |
| 1049 | self.is_in_cache(entry, &self.get_browser_name_with_extension()) |
| 1050 | } |
| 1051 | } |
| 1052 | |
| 1053 | fn is_driver(&self, entry: &DirEntry) -> bool { |
| 1054 | self.is_in_cache(entry, &self.get_driver_name_with_extension()) |
no test coverage detected