Skip to content

Commit 08f80d1

Browse files
ULT renaming: Enqueue marker tests
Change-Id: I0615849555d9511ca791b12cc3c91adeb76dde34
1 parent 72da161 commit 08f80d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

unit_tests/api/cl_enqueue_marker_tests.inl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2017-2018 Intel Corporation
2+
* Copyright (C) 2017-2019 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -13,14 +13,14 @@ using namespace OCLRT;
1313

1414
typedef api_tests clEnqueueMarkerTests;
1515

16-
TEST_F(clEnqueueMarkerTests, NullCommandQueue_returnsError) {
16+
TEST_F(clEnqueueMarkerTests, GivenNullCommandQueueWhenEnqueingMarkerThenInvalidCommandQueueErrorIsReturned) {
1717
auto retVal = clEnqueueMarker(
1818
nullptr,
1919
nullptr);
2020
EXPECT_EQ(CL_INVALID_COMMAND_QUEUE, retVal);
2121
}
2222

23-
TEST_F(clEnqueueMarkerTests, returnsSuccess) {
23+
TEST_F(clEnqueueMarkerTests, GivenValidCommandQueueWhenEnqueingMarkerThenSuccessIsReturned) {
2424
auto retVal = clEnqueueMarker(
2525
pCommandQueue,
2626
nullptr);

unit_tests/api/cl_enqueue_marker_with_wait_list_tests.inl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2017-2018 Intel Corporation
2+
* Copyright (C) 2017-2019 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -12,7 +12,7 @@ using namespace OCLRT;
1212

1313
typedef api_tests clEnqueueMarkerWithWaitListTests;
1414

15-
TEST_F(clEnqueueMarkerWithWaitListTests, NullCommandQueue_returnsError) {
15+
TEST_F(clEnqueueMarkerWithWaitListTests, GivenNullCommandQueueWhenEnqueingMarkerWithWaitListThenInvalidCommandQueueErrorIsReturned) {
1616
auto retVal = clEnqueueMarkerWithWaitList(
1717
nullptr,
1818
0,
@@ -21,7 +21,7 @@ TEST_F(clEnqueueMarkerWithWaitListTests, NullCommandQueue_returnsError) {
2121
EXPECT_EQ(CL_INVALID_COMMAND_QUEUE, retVal);
2222
}
2323

24-
TEST_F(clEnqueueMarkerWithWaitListTests, returnsSuccess) {
24+
TEST_F(clEnqueueMarkerWithWaitListTests, GivenValidCommandQueueWhenEnqueingMarkerWithWaitListThenSuccessIsReturned) {
2525
auto retVal = clEnqueueMarkerWithWaitList(
2626
pCommandQueue,
2727
0,

0 commit comments

Comments
 (0)