Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adrien Plazas
libhandy
Commits
fb1ac331
Commit
fb1ac331
authored
Jan 27, 2020
by
Adrien Plazas
Browse files
tests: Drop usage of HdyFold
parent
a3535cae
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test-combo-row.c
View file @
fb1ac331
...
...
@@ -20,7 +20,7 @@ test_hdy_combo_row_set_for_enum (void)
g_assert_null
(
hdy_combo_row_get_model
(
row
));
hdy_combo_row_set_for_enum
(
row
,
HDY
_TYPE_
FOLD
,
hdy_enum_value_row_name
,
NULL
,
NULL
);
hdy_combo_row_set_for_enum
(
row
,
GTK
_TYPE_
ORIENTATION
,
hdy_enum_value_row_name
,
NULL
,
NULL
);
model
=
hdy_combo_row_get_model
(
row
);
g_assert_true
(
G_IS_LIST_MODEL
(
model
));
...
...
@@ -28,11 +28,11 @@ test_hdy_combo_row_set_for_enum (void)
value
=
g_list_model_get_item
(
model
,
0
);
g_assert_true
(
HDY_IS_ENUM_VALUE_OBJECT
(
value
));
g_assert_cmpstr
(
hdy_enum_value_object_get_nick
(
value
),
==
,
"
unfolded
"
);
g_assert_cmpstr
(
hdy_enum_value_object_get_nick
(
value
),
==
,
"
horizontal
"
);
value
=
g_list_model_get_item
(
model
,
1
);
g_assert_true
(
HDY_IS_ENUM_VALUE_OBJECT
(
value
));
g_assert_cmpstr
(
hdy_enum_value_object_get_nick
(
value
),
==
,
"
folded
"
);
g_assert_cmpstr
(
hdy_enum_value_object_get_nick
(
value
),
==
,
"
vertical
"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment