ULT renaming: GetSupportedImageFormats test

Related-To: NEO-2236

Change-Id: I2680109042bdd3132f646e3ee4ce9defa9fbb393
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
Adam Cetnerowski
2019-07-02 10:57:29 +02:00
committed by sys_ocldev
parent 27a0c5a566
commit 27e9dfb2f0

View File

@ -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<cl_context>(device);