Lines Matching refs:modified
38 gboolean modified; in test_param_spec_char() local
53 modified = g_param_value_validate (pspec, &value); in test_param_spec_char()
54 g_assert (modified && g_value_get_char (&value) == 20); in test_param_spec_char()
57 modified = g_param_value_validate (pspec, &value); in test_param_spec_char()
58 g_assert (!modified && g_value_get_char (&value) == 20); in test_param_spec_char()
61 modified = g_param_value_validate (pspec, &value); in test_param_spec_char()
62 g_assert (!modified && g_value_get_char (&value) == 40); in test_param_spec_char()
65 modified = g_param_value_validate (pspec, &value); in test_param_spec_char()
66 g_assert (modified && g_value_get_char (&value) == 40); in test_param_spec_char()
69 modified = g_param_value_validate (pspec, &value); in test_param_spec_char()
70 g_assert (modified && g_value_get_schar (&value) == 20); in test_param_spec_char()
73 modified = g_param_value_validate (pspec, &value); in test_param_spec_char()
74 g_assert (!modified && g_value_get_schar (&value) == 20); in test_param_spec_char()
77 modified = g_param_value_validate (pspec, &value); in test_param_spec_char()
78 g_assert (!modified && g_value_get_schar (&value) == 40); in test_param_spec_char()
81 modified = g_param_value_validate (pspec, &value); in test_param_spec_char()
82 g_assert (modified && g_value_get_schar (&value) == 40); in test_param_spec_char()
92 gboolean modified; in test_param_spec_string() local
99 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
100 g_assert (!modified); in test_param_spec_string()
103 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
104 g_assert (!modified && g_value_get_string (&value) != NULL); in test_param_spec_string()
111 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
112 g_assert (modified && g_value_get_string (&value) != NULL); in test_param_spec_string()
121 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
122 g_assert (modified && g_value_get_string (&value) == NULL); in test_param_spec_string()
125 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
126 g_assert (modified && g_value_get_string (&value) == NULL); in test_param_spec_string()
136 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
137 g_assert (modified && g_value_get_string (&value)[0] == '-'); in test_param_spec_string()
140 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
141 g_assert (modified && g_value_get_string (&value)[0] == '-'); in test_param_spec_string()
148 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
149 g_assert (modified && g_value_get_string (&value)[1] == '-'); in test_param_spec_string()
152 modified = g_param_value_validate (pspec, &value); in test_param_spec_string()
153 g_assert (modified && g_value_get_string (&value)[1] == '-'); in test_param_spec_string()
164 gboolean modified; in test_param_spec_override() local
181 modified = g_param_value_validate (pspec, &value); in test_param_spec_override()
182 g_assert (modified && g_value_get_char (&value) == 20); in test_param_spec_override()
185 modified = g_param_value_validate (pspec, &value); in test_param_spec_override()
186 g_assert (!modified && g_value_get_char (&value) == 20); in test_param_spec_override()
189 modified = g_param_value_validate (pspec, &value); in test_param_spec_override()
190 g_assert (!modified && g_value_get_char (&value) == 40); in test_param_spec_override()
193 modified = g_param_value_validate (pspec, &value); in test_param_spec_override()
194 g_assert (modified && g_value_get_char (&value) == 40); in test_param_spec_override()
205 gboolean modified; in test_param_spec_gtype() local
216 modified = g_param_value_validate (pspec, &value); in test_param_spec_gtype()
217 g_assert (modified && g_value_get_gtype (&value) == G_TYPE_PARAM); in test_param_spec_gtype()
220 modified = g_param_value_validate (pspec, &value); in test_param_spec_gtype()
221 g_assert (!modified && g_value_get_gtype (&value) == G_TYPE_PARAM_INT); in test_param_spec_gtype()
235 gboolean modified; in test_param_spec_variant() local
263 modified = g_param_value_validate (pspec, &value); in test_param_spec_variant()
264 g_assert_false (modified); in test_param_spec_variant()
268 modified = g_param_value_validate (pspec, &value); in test_param_spec_variant()
269 g_assert_true (modified); in test_param_spec_variant()