glib/tests/gobject
Michael Natterer 325bd373d4 don't free or modify static strings, dup them when needed and clear the
2007-04-24  Michael Natterer  <mitch@imendio.com>

	* gobject/gparamspecs.c (param_string_validate): don't free or
	modify static strings, dup them when needed and clear the
	G_VALUE_NOCOPY_CONTENTS flag. Fixes bug #432895.

	* tests/gobject/paramspec-test.c: test all GParamSpecString
	validations with static and allocated strings.


svn path=/trunk/; revision=5454
2007-04-24 13:36:58 +00:00
..
accumulator.c New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
defaultiface.c Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
deftype.c added test code from Behdad Esfahbod, see #337128. 2006-05-02 13:01:10 +00:00
dynamictype.c Define G_DEFINE_DYNAMIC_TYPE and and _EXTENDED variant. (#334437) 2006-12-29 06:12:11 +00:00
gvalue-test.c Add more tests. 2006-02-18 20:37:14 +00:00
ifacecheck.c Make tests work with slice allocator 2005-12-01 18:06:17 +00:00
ifaceinherit.c === Released 2.3.0 === 2003-10-23 22:42:31 +00:00
ifaceinit.c Test case for g_type_add_interface_check(). 2003-10-02 05:28:00 +00:00
ifaceproperties.c Force shared library (DLL) only on Windows. (I don't think that is 2003-10-24 03:41:22 +00:00
Makefile.am Handle missing $RANDOM 2007-03-23 06:27:58 +00:00
override.c New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
paramspec-test.c don't free or modify static strings, dup them when needed and clear the 2007-04-24 13:36:58 +00:00
references.c Add g_object_add/remove_toggle_ref() functions to get notification when a 2005-05-05 14:57:29 +00:00
singleton.c added test program which demonstrates and checks singleton construction. 2006-08-16 12:11:03 +00:00
testcommon.h New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
testmarshal.list New directory, framework for automated GObject tests. 2003-09-12 20:37:09 +00:00
testmodule.c Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
testmodule.h Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00