X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=haltests%2Fsrc%2Ftc_tdm_hwc.cpp;h=541414f9842959d2a5eae52a7980a42ec1fc9dad;hb=c1f7ee3070a2cf11d5eaaede1312ef13a0f036cf;hp=4df9e54f021b9fe7d39294f95361a7b42d2602aa;hpb=88a633c7b0681b0e66e9bbce50f0ca040f5da709;p=platform%2Fcore%2Fuifw%2Flibtdm.git diff --git a/haltests/src/tc_tdm_hwc.cpp b/haltests/src/tc_tdm_hwc.cpp index 4df9e54..541414f 100644 --- a/haltests/src/tc_tdm_hwc.cpp +++ b/haltests/src/tc_tdm_hwc.cpp @@ -378,12 +378,12 @@ TEST_P(TDMHwc, GetChangedCompositionTypesFailNull) } } -/* tdm_error tdm_hwc_accept_changes() */ +/* tdm_error tdm_hwc_accept_validation() */ TEST_P(TDMHwc, AcceptChangesFailNull) { TDM_UT_SKIP_FLAG(has_outputs); - error = tdm_hwc_accept_changes(NULL); + error = tdm_hwc_accept_validation(NULL); ASSERT_NE(TDM_ERROR_NONE, error); } @@ -395,10 +395,10 @@ TEST_P(TDMHwc, AcceptChangesFailNoHwc) for (int o = 0; o < output_count; o++) { hwc = tdm_output_get_hwc(outputs[o], &error); if (hwc) { - error = tdm_hwc_accept_changes(hwc); + error = tdm_hwc_accept_validation(hwc); ASSERT_NE(TDM_ERROR_NONE, error); } else { - error = tdm_hwc_accept_changes(hwc); + error = tdm_hwc_accept_validation(hwc); ASSERT_NE(TDM_ERROR_NONE, error); } } @@ -422,7 +422,7 @@ TEST_P(TDMHwc, AcceptChangesSuccessful) for (int w = 0; w < HWC_WIN_NUM; w++) { hwc_wnds[w] = tdm_hwc_create_window(hwc, &error); ASSERT_EQ(TDM_ERROR_NONE, error); - error = tdm_hwc_window_set_composition_type(hwc_wnds[w], TDM_COMPOSITION_DEVICE); + error = tdm_hwc_window_set_composition_type(hwc_wnds[w], TDM_HWC_WIN_COMPOSITION_DEVICE); ASSERT_EQ(TDM_ERROR_NONE, error); } @@ -437,7 +437,7 @@ TEST_P(TDMHwc, AcceptChangesSuccessful) ASSERT_EQ(TDM_ERROR_NONE, error); ASSERT_EQ(get_num, num_types); - error = tdm_hwc_accept_changes(hwc); + error = tdm_hwc_accept_validation(hwc); ASSERT_EQ(TDM_ERROR_NONE, error); free(composition_types); @@ -479,7 +479,7 @@ TEST_P(TDMHwc, CommitSuccessful) for (int w = 0; w < HWC_WIN_NUM; w++) { hwc_wnds[w] = tdm_hwc_create_window(hwc, &error); ASSERT_EQ(TDM_ERROR_NONE, error); - error = tdm_hwc_window_set_composition_type(hwc_wnds[w], TDM_COMPOSITION_DEVICE); + error = tdm_hwc_window_set_composition_type(hwc_wnds[w], TDM_HWC_WIN_COMPOSITION_DEVICE); ASSERT_EQ(TDM_ERROR_NONE, error); } @@ -494,7 +494,7 @@ TEST_P(TDMHwc, CommitSuccessful) ASSERT_EQ(TDM_ERROR_NONE, error); ASSERT_EQ(get_num, num_types); - error = tdm_hwc_accept_changes(hwc); + error = tdm_hwc_accept_validation(hwc); ASSERT_EQ(TDM_ERROR_NONE, error); free(composition_types);