mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
ULT renaming: write buffer tests
Change-Id: I1890891fb2dfa79c0d6640130830b7016f3bda0f
This commit is contained in:
committed by
sys_ocldev
parent
e4bffaa194
commit
d5e16d81b0
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2018 Intel Corporation
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -15,7 +15,7 @@ typedef api_tests clEnqueueWriteBufferTests;
|
||||
|
||||
namespace ULT {
|
||||
|
||||
TEST_F(clEnqueueWriteBufferTests, nullCommandQueueReturnsError) {
|
||||
TEST_F(clEnqueueWriteBufferTests, GivenNullCommandQueueWhenWritingBufferThenInvalidCommandQueueErrorIsReturned) {
|
||||
auto buffer = (cl_mem)ptrGarbage;
|
||||
|
||||
retVal = clEnqueueWriteBuffer(
|
||||
@@ -32,7 +32,7 @@ TEST_F(clEnqueueWriteBufferTests, nullCommandQueueReturnsError) {
|
||||
EXPECT_EQ(CL_INVALID_COMMAND_QUEUE, retVal);
|
||||
}
|
||||
|
||||
TEST_F(clEnqueueWriteBufferTests, nullBufferReturnsError) {
|
||||
TEST_F(clEnqueueWriteBufferTests, GivenNullBufferWhenWritingBufferThenInvalidMemObjectErrorIsReturned) {
|
||||
void *ptr = nullptr;
|
||||
|
||||
retVal = clEnqueueWriteBuffer(
|
||||
|
||||
Reference in New Issue
Block a user