tests for URI escape/unescape code for glib
- From: Darin Adler <darin bentspoon com>
- To: Alex Larsson <alexl redhat com>
- Cc: gtk-devel-list gnome org
- Subject: tests for URI escape/unescape code for glib
- Date: Fri, 10 Aug 2001 14:16:10 -0700
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]