rename tdm_hwc_get_video_supported_formats
[platform/core/uifw/libtdm.git] / haltests / src / tc_tdm_hwc.cpp
index 545c6a0..4df9e54 100644 (file)
@@ -106,7 +106,7 @@ TEST_P(TDMHwc, GetSupportedFormatsFailNull)
 
        tdm_error error;
 
-       error = tdm_hwc_get_supported_formats(NULL, NULL, NULL);
+       error = tdm_hwc_get_video_supported_formats(NULL, NULL, NULL);
        ASSERT_NE(TDM_ERROR_NONE, error);
 }
 
@@ -122,14 +122,14 @@ TEST_P(TDMHwc, GetSupportedFormatsSuccessful)
        for (int o = 0; o < output_count; o++) {
                hwc = tdm_output_get_hwc(outputs[o], &error);
                if (hwc) {
-                       error = tdm_hwc_get_supported_formats(hwc, &formats, &count);
+                       error = tdm_hwc_get_video_supported_formats(hwc, &formats, &count);
                        if (error != TDM_ERROR_NOT_IMPLEMENTED) {
                                ASSERT_EQ(TDM_ERROR_NONE, error);
                                if (count > 0)
                                        ASSERT_NE(NULL, formats);
                        }
                } else {
-                       error = tdm_hwc_get_supported_formats(hwc, &formats, &count);
+                       error = tdm_hwc_get_video_supported_formats(hwc, &formats, &count);
                        ASSERT_NE(TDM_ERROR_NONE, error);
                }
        }