• Home
  • Raw
  • Download

Lines Matching refs:g_assert

57   g_assert (HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_LTR));  in test_types_direction()
58 g_assert (HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_RTL)); in test_types_direction()
59 g_assert (!HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_TTB)); in test_types_direction()
60 g_assert (!HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_BTT)); in test_types_direction()
61 g_assert (!HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_INVALID)); in test_types_direction()
63 g_assert (!HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_LTR)); in test_types_direction()
64 g_assert (!HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_RTL)); in test_types_direction()
65 g_assert (HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_TTB)); in test_types_direction()
66 g_assert (HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_BTT)); in test_types_direction()
67 g_assert (!HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_INVALID)); in test_types_direction()
69 g_assert (HB_DIRECTION_IS_FORWARD (HB_DIRECTION_LTR)); in test_types_direction()
70 g_assert (HB_DIRECTION_IS_FORWARD (HB_DIRECTION_TTB)); in test_types_direction()
71 g_assert (!HB_DIRECTION_IS_FORWARD (HB_DIRECTION_RTL)); in test_types_direction()
72 g_assert (!HB_DIRECTION_IS_FORWARD (HB_DIRECTION_BTT)); in test_types_direction()
73 g_assert (!HB_DIRECTION_IS_FORWARD (HB_DIRECTION_INVALID)); in test_types_direction()
75 g_assert (!HB_DIRECTION_IS_BACKWARD (HB_DIRECTION_LTR)); in test_types_direction()
76 g_assert (!HB_DIRECTION_IS_BACKWARD (HB_DIRECTION_TTB)); in test_types_direction()
77 g_assert (HB_DIRECTION_IS_BACKWARD (HB_DIRECTION_RTL)); in test_types_direction()
78 g_assert (HB_DIRECTION_IS_BACKWARD (HB_DIRECTION_BTT)); in test_types_direction()
79 g_assert (!HB_DIRECTION_IS_BACKWARD (HB_DIRECTION_INVALID)); in test_types_direction()
81 g_assert (HB_DIRECTION_IS_VALID (HB_DIRECTION_LTR)); in test_types_direction()
82 g_assert (HB_DIRECTION_IS_VALID (HB_DIRECTION_TTB)); in test_types_direction()
83 g_assert (HB_DIRECTION_IS_VALID (HB_DIRECTION_RTL)); in test_types_direction()
84 g_assert (HB_DIRECTION_IS_VALID (HB_DIRECTION_BTT)); in test_types_direction()
85 g_assert (!HB_DIRECTION_IS_VALID (HB_DIRECTION_INVALID)); in test_types_direction()
86 g_assert (!HB_DIRECTION_IS_VALID ((hb_direction_t) 0x12345678)); in test_types_direction()
104 g_assert (0 == strcmp ("ltr", hb_direction_to_string (HB_DIRECTION_LTR))); in test_types_direction()
105 g_assert (0 == strcmp ("rtl", hb_direction_to_string (HB_DIRECTION_RTL))); in test_types_direction()
106 g_assert (0 == strcmp ("ttb", hb_direction_to_string (HB_DIRECTION_TTB))); in test_types_direction()
107 g_assert (0 == strcmp ("btt", hb_direction_to_string (HB_DIRECTION_BTT))); in test_types_direction()
108 g_assert (0 == strcmp ("invalid", hb_direction_to_string (HB_DIRECTION_INVALID))); in test_types_direction()
187 g_assert (HB_LANGUAGE_INVALID == NULL); in test_types_language()
189 g_assert (fa != NULL); in test_types_language()
190 g_assert (fa_IR != NULL); in test_types_language()
191 g_assert (fa_IR == fa_ir); in test_types_language()
193 g_assert (en != NULL); in test_types_language()
194 g_assert (en != fa); in test_types_language()
197 g_assert (en == hb_language_from_string ("en", -1)); in test_types_language()
198 g_assert (en == hb_language_from_string ("eN", -1)); in test_types_language()
199 g_assert (en == hb_language_from_string ("Enx", 2)); in test_types_language()
201 g_assert (HB_LANGUAGE_INVALID == hb_language_from_string (NULL, -1)); in test_types_language()
202 g_assert (HB_LANGUAGE_INVALID == hb_language_from_string ("", -1)); in test_types_language()
203 g_assert (HB_LANGUAGE_INVALID == hb_language_from_string ("en", 0)); in test_types_language()
204 g_assert (HB_LANGUAGE_INVALID != hb_language_from_string ("en", 1)); in test_types_language()
205 g_assert (NULL == hb_language_to_string (HB_LANGUAGE_INVALID)); in test_types_language()
210 g_assert (HB_LANGUAGE_INVALID != hb_language_get_default ()); in test_types_language()