| OLD | NEW |
| 1 # Copyright (C) 2010 Google Inc. All rights reserved. | 1 # Copyright (C) 2010 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 return result | 86 return result |
| 87 | 87 |
| 88 def operating_system(self): | 88 def operating_system(self): |
| 89 return 'mac' | 89 return 'mac' |
| 90 | 90 |
| 91 # | 91 # |
| 92 # PROTECTED METHODS | 92 # PROTECTED METHODS |
| 93 # | 93 # |
| 94 | 94 |
| 95 def _wdiff_missing_message(self): | |
| 96 return 'wdiff is not installed; please install from MacPorts or elsewher
e' | |
| 97 | |
| 98 def path_to_apache(self): | 95 def path_to_apache(self): |
| 99 return '/usr/sbin/httpd' | 96 return '/usr/sbin/httpd' |
| 100 | 97 |
| 101 def path_to_apache_config_file(self): | 98 def path_to_apache_config_file(self): |
| 102 config_file_name = 'apache2-httpd-' + self._apache_version() + '.conf' | 99 config_file_name = 'apache2-httpd-' + self._apache_version() + '.conf' |
| 103 return self._filesystem.join(self.apache_config_directory(), config_file
_name) | 100 return self._filesystem.join(self.apache_config_directory(), config_file
_name) |
| 104 | 101 |
| 105 def _path_to_driver(self, target=None): | 102 def _path_to_driver(self, target=None): |
| 106 return self._build_path_with_target(target, self.driver_name() + '.app',
'Contents', 'MacOS', self.driver_name()) | 103 return self._build_path_with_target(target, self.driver_name() + '.app',
'Contents', 'MacOS', self.driver_name()) |
| 107 | |
| 108 def _path_to_wdiff(self): | |
| 109 return 'wdiff' | |
| OLD | NEW |