Home
last modified time | relevance | path

Searched refs:g_bar (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/tests/src/test_cases/widgets/
Dtest_bar.c10 static lv_obj_t * g_bar = NULL; variable
15 g_bar = lv_bar_create(g_active_screen); in setUp()
25 TEST_ASSERT_EQUAL(0, lv_bar_get_min_value(g_bar)); in test_bar_should_have_valid_default_attributes()
26 TEST_ASSERT_EQUAL(100, lv_bar_get_max_value(g_bar)); in test_bar_should_have_valid_default_attributes()
27 TEST_ASSERT_EQUAL(LV_BAR_MODE_NORMAL, lv_bar_get_mode(g_bar)); in test_bar_should_have_valid_default_attributes()
48 lv_bar_t * bar_ptr = (lv_bar_t *) g_bar; in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
61 lv_obj_remove_style_all(g_bar); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
62 lv_obj_add_style(g_bar, &bar_style, LV_PART_MAIN); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
65 lv_obj_set_size(g_bar, bar_width, bar_height); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
66 lv_bar_set_value(g_bar, bar_value, LV_ANIM_OFF); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
[all …]