tests for URI escape/unescape code for glib



I wanted to point out that gnome-vfs has tests for the URI escape functions and path utilities in it. The tests are in the files test-escape.
c and a small part of test-uri.c.

I'd really like to see tests for the glib versions too. It was hard to get these right, and the easiest way to illuminate various edge cases is tests, in my opinion. Many of the cases that Owen mentioned in his review of the code should have corresponding tests -- that way we'll know if we ever break them when "improving" these functions. I try to write tests first, then code, when possible.

    -- Darin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]