Skip to content

Commit f597052

Browse files
ULT renaming: Enqueue Barrier
Change-Id: Ia156766d257dceba566dbae5fc6bc132e015359b Signed-off-by: Cetnerowski, Adam <[email protected]>
1 parent 59e6a7b commit f597052

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit_tests/api/cl_enqueue_barrier_tests.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ using namespace OCLRT;
1212

1313
typedef api_tests clEnqueueBarrierTests;
1414

15-
TEST_F(clEnqueueBarrierTests, NullCommandQueuereturnsError) {
15+
TEST_F(clEnqueueBarrierTests, GivenNullCommandQueueWhenEnqueuingThenInvalidCommandQueueErrorIsReturned) {
1616
auto retVal = clEnqueueBarrier(
1717
nullptr);
1818
EXPECT_EQ(CL_INVALID_COMMAND_QUEUE, retVal);
1919
}
2020

21-
TEST_F(clEnqueueBarrierTests, returnsSuccess) {
21+
TEST_F(clEnqueueBarrierTests, GivenValidCommandQueueWhenEnqueuingThenSuccessIsReturned) {
2222
auto retVal = clEnqueueBarrier(
2323
pCommandQueue);
2424
EXPECT_EQ(CL_SUCCESS, retVal);

0 commit comments

Comments
 (0)