api(style) remove content style proeprties
This commit is contained in:
@@ -61,7 +61,7 @@ static void create_delete_change_parent(void)
|
||||
lv_test_print("Create an object on the default screen");
|
||||
lv_test_assert_int_eq(0, lv_obj_get_child_cnt(lv_scr_act()), "Screen's children count before creation");
|
||||
|
||||
lv_obj_t * obj = lv_obj_create(lv_scr_act(), NULL);
|
||||
lv_obj_t * obj = lv_obj_create(lv_scr_act());
|
||||
lv_test_assert_int_eq(1, lv_obj_get_child_cnt(lv_scr_act()), "Screen's children count after creation");
|
||||
lv_test_assert_int_eq(0, lv_obj_get_child_cnt(obj), "New object's children count after creation");
|
||||
|
||||
@@ -71,8 +71,8 @@ static void create_delete_change_parent(void)
|
||||
lv_test_assert_int_eq(0, lv_obj_get_child_cnt(lv_scr_act()), "Screen's children count after delete");
|
||||
|
||||
lv_test_print("Create two objects");
|
||||
lv_obj_t * obj_parent = lv_obj_create(lv_scr_act(), NULL);
|
||||
lv_obj_t * obj_child = lv_obj_create(lv_scr_act(), NULL);
|
||||
lv_obj_t * obj_parent = lv_obj_create(lv_scr_act());
|
||||
lv_obj_t * obj_child = lv_obj_create(lv_scr_act());
|
||||
lv_test_assert_int_eq(2, lv_obj_get_child_cnt(lv_scr_act()), "Screen's children count after creation");
|
||||
|
||||
lv_test_print("Change the parent of the second object to the first");
|
||||
|
||||
@@ -63,7 +63,7 @@ typedef int _keep_pedantic_happy;
|
||||
// lv_test_print("Create a label");
|
||||
// lv_test_print("---------------------------");
|
||||
//
|
||||
// lv_label_create(lv_scr_act(), NULL);
|
||||
// lv_label_create(lv_scr_act());
|
||||
//#if LV_COLOR_DEPTH == 32
|
||||
// lv_test_assert_img_eq("lv_test_img32_label_1.png", "Create a label and leave the default settings");
|
||||
//#endif
|
||||
|
||||
Reference in New Issue
Block a user