We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e6a7b commit f597052Copy full SHA for f597052
unit_tests/api/cl_enqueue_barrier_tests.inl
@@ -12,13 +12,13 @@ using namespace OCLRT;
12
13
typedef api_tests clEnqueueBarrierTests;
14
15
-TEST_F(clEnqueueBarrierTests, NullCommandQueuereturnsError) {
+TEST_F(clEnqueueBarrierTests, GivenNullCommandQueueWhenEnqueuingThenInvalidCommandQueueErrorIsReturned) {
16
auto retVal = clEnqueueBarrier(
17
nullptr);
18
EXPECT_EQ(CL_INVALID_COMMAND_QUEUE, retVal);
19
}
20
21
-TEST_F(clEnqueueBarrierTests, returnsSuccess) {
+TEST_F(clEnqueueBarrierTests, GivenValidCommandQueueWhenEnqueuingThenSuccessIsReturned) {
22
23
pCommandQueue);
24
EXPECT_EQ(CL_SUCCESS, retVal);
0 commit comments