ULT renaming: Release Cmd Queue tests

Related-To: NEO-2236

Change-Id: Ib1118f6055280ad5a3976ead47e30fc055b78a79
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
Adam Cetnerowski
2019-07-09 09:46:58 -07:00
committed by sys_ocldev
parent 878928caee
commit c0de49614d

View File

@@ -20,7 +20,7 @@ class clReleaseCommandQueueTypeTests : public DeviceHostQueueFixture<T> {};
TYPED_TEST_CASE(clReleaseCommandQueueTypeTests, QueueTypes);
TYPED_TEST(clReleaseCommandQueueTypeTests, returnsSucess) {
TYPED_TEST(clReleaseCommandQueueTypeTests, GivenValidCmdQueueWhenReleasingCmdQueueThenSucessIsReturned) {
using BaseType = typename TypeParam::BaseType;
auto queue = this->createClQueue();
@@ -32,7 +32,7 @@ TYPED_TEST(clReleaseCommandQueueTypeTests, returnsSucess) {
EXPECT_EQ(CL_SUCCESS, this->retVal);
}
TEST(clReleaseCommandQueueTypeTests, nullCommandQueueReturnsError) {
TEST(clReleaseCommandQueueTypeTests, GivenNullCmdQueueWhenReleasingCmdQueueThenClInvalidCommandQueueErrorIsReturned) {
auto retVal = clReleaseCommandQueue(nullptr);
EXPECT_EQ(CL_INVALID_COMMAND_QUEUE, retVal);
}
@@ -42,7 +42,7 @@ namespace ULT {
typedef api_tests clReleaseCommandQueueTests;
TEST_F(clReleaseCommandQueueTests, givenBlockedEnqueueWithOutputEventStoredAsVirtualEventWhenReleaseCommandQueueIsCalledThenInternalRefCountIsDecrementedAndQueueDeleted) {
TEST_F(clReleaseCommandQueueTests, givenBlockedEnqueueWithOutputEventStoredAsVirtualEventWhenReleasingCmdQueueThenInternalRefCountIsDecrementedAndQueueDeleted) {
cl_command_queue cmdQ = nullptr;
cl_queue_properties properties = 0;
Device *device = (Device *)devices[0];