mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
ULT renaming: clFinish tests
Change-Id: I947dbc4eebc9fc92a41dc54c450951360a8bca64 Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2018 Intel Corporation
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@ -14,12 +14,12 @@ typedef api_tests clFinishTests;
|
||||
|
||||
namespace ULT {
|
||||
|
||||
TEST_F(clFinishTests, returnsSuccess) {
|
||||
TEST_F(clFinishTests, GivenValidCommandQueueWhenWaitingForFinishThenSuccessIsReturned) {
|
||||
retVal = clFinish(pCommandQueue);
|
||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||
}
|
||||
|
||||
TEST_F(clFinishTests, NullCommandQueuereturnsError) {
|
||||
TEST_F(clFinishTests, GivenNullCommandQueueWhenWaitingForFinishThenInvalidCommandQueueErrorIsReturned) {
|
||||
auto retVal = clFinish(nullptr);
|
||||
EXPECT_EQ(CL_INVALID_COMMAND_QUEUE, retVal);
|
||||
}
|
||||
|
Reference in New Issue
Block a user