From 76a9c0ccb03a94d86f4d5deb067b74793c42e466 Mon Sep 17 00:00:00 2001 From: Ruslan Garnov Date: Tue, 30 Mar 2021 19:51:48 +0300 Subject: [PATCH] Fixed Y accessor in BGR accessor test, added more instantiations --- .../test/streaming/gapi_streaming_tests.cpp | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/modules/gapi/test/streaming/gapi_streaming_tests.cpp b/modules/gapi/test/streaming/gapi_streaming_tests.cpp index 59a696ffad..8f66172180 100644 --- a/modules/gapi/test/streaming/gapi_streaming_tests.cpp +++ b/modules/gapi/test/streaming/gapi_streaming_tests.cpp @@ -2061,22 +2061,10 @@ TEST_P(GAPI_Accessors_Meta_In_Streaming, AccuracyTest) EXPECT_TRUE(std::is_sorted(all_timestamps.begin(), all_timestamps.end())); } -INSTANTIATE_TEST_CASE_P(BGRAccessorMeta, GAPI_Accessors_Meta_In_Streaming, +INSTANTIATE_TEST_CASE_P(AccessorMeta, GAPI_Accessors_Meta_In_Streaming, Combine(Values("cv/video/768x576.avi"), - Values(TestSourceType::NV12), - Values(TestAccessType::Y) - )); - -INSTANTIATE_TEST_CASE_P(YAccessorMeta, GAPI_Accessors_Meta_In_Streaming, - Combine(Values("cv/video/768x576.avi"), - Values(TestSourceType::NV12), - Values(TestAccessType::Y) - )); - -INSTANTIATE_TEST_CASE_P(UVAccessorMeta, GAPI_Accessors_Meta_In_Streaming, - Combine(Values("cv/video/768x576.avi"), - Values(TestSourceType::NV12), - Values(TestAccessType::UV) + Values(TestSourceType::BGR, TestSourceType::NV12), + Values(TestAccessType::BGR, TestAccessType::Y, TestAccessType::UV) )); TEST(GAPI_Streaming, TestPythonAPI)