[Webkit-unassigned] [Bug 63514] New: Fix filesystem_unittest.FileSystemTest test_read_and_write_file()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 28 00:02:44 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63514

           Summary: Fix filesystem_unittest.FileSystemTest
                    test_read_and_write_file()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rolandsteiner at chromium.org
                CC: tony at chromium.org, dpranke at chromium.org,
                    dominicc at chromium.org


test_read_and_write_file in the FileSystemTest unit test has 3 bugs:

.) any raised exception from assertEquals is swallowed by the 'except' clause
.) text/binary_path is not 'None' after mktemp, but os.remove may still raise an exception if no data was actually written to the file
.) write_text_file is used instead of write_binary_file to write binary contents (this again was swallowed by 'except')

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list