mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
sys_ocldev

parent
27a0c5a566
commit
27e9dfb2f0
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user