Changeset 215735 in webkit
- Timestamp:
- Apr 25, 2017 9:10:03 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r215727 r215735 1 2017-04-25 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [GTK] Improve an unit test for the JHBuild wrapper. 4 https://bugs.webkit.org/show_bug.cgi?id=168036 5 6 Unreviewed follow-up patch after r215727 7 8 * Scripts/webkitpy/port/base_unittest.py: 9 (test_jhbuild_wrapper): Improve the unit test by ensuring the directory 10 wasn't there before calling MockFileSystem.maybe_make_directory(), and 11 also that it exists after calling it. 12 1 13 2017-04-25 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 14 -
trunk/Tools/Scripts/webkitpy/port/base_unittest.py
r215727 r215735 399 399 port = self.make_port(port_name='foo') 400 400 port.port_name = 'foo' 401 jhbuild_path = port.path_from_webkit_base('WebKitBuild', 'Dependencies%s' % port.port_name.upper()) 402 self.assertFalse(port._filesystem.isdir(jhbuild_path)) 401 403 self.assertFalse(port._should_use_jhbuild()) 402 port._filesystem.maybe_make_directory(port.path_from_webkit_base('WebKitBuild', 'Dependencies%s' % port.port_name.upper())) 404 port._filesystem.maybe_make_directory(jhbuild_path) 405 self.assertTrue(port._filesystem.isdir(jhbuild_path)) 403 406 self.assertTrue(port._should_use_jhbuild()) 404 407
Note: See TracChangeset
for help on using the changeset viewer.