From 27e9dfb2f0e9e87f4d784716b3ba04c4c0f4b632 Mon Sep 17 00:00:00 2001 From: Adam Cetnerowski Date: Tue, 2 Jul 2019 10:57:29 +0200 Subject: [PATCH] ULT renaming: GetSupportedImageFormats test Related-To: NEO-2236 Change-Id: I2680109042bdd3132f646e3ee4ce9defa9fbb393 Signed-off-by: Adam Cetnerowski --- unit_tests/api/cl_get_supported_image_formats_tests.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_tests/api/cl_get_supported_image_formats_tests.inl b/unit_tests/api/cl_get_supported_image_formats_tests.inl index e376bc0350..5bf705aa86 100644 --- a/unit_tests/api/cl_get_supported_image_formats_tests.inl +++ b/unit_tests/api/cl_get_supported_image_formats_tests.inl @@ -13,7 +13,7 @@ using namespace NEO; typedef api_tests clGetSupportedImageFormatsTests; -TEST_F(clGetSupportedImageFormatsTests, returnsNumReadWriteFormats) { +TEST_F(clGetSupportedImageFormatsTests, GivenValidParamsWhenGettingSupportImageFormatsThenNumImageFormatsIsGreaterThanZero) { cl_uint numImageFormats = 0; retVal = clGetSupportedImageFormats( pContext, @@ -27,7 +27,7 @@ TEST_F(clGetSupportedImageFormatsTests, returnsNumReadWriteFormats) { EXPECT_GT(numImageFormats, 0u); } -TEST_F(clGetSupportedImageFormatsTests, givenInvalidContextWhenFunctionIsCalledThenErrorIsReturned) { +TEST_F(clGetSupportedImageFormatsTests, givenInvalidContextWhenGettingSupportImageFormatsThenClInvalidContextErrorIsReturned) { auto device = pContext->getDevice(0u); auto dummyContext = reinterpret_cast(device);