mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
ULT renaming: clCreateSampler tests
Change-Id: I32975e6ea3125bfd67454318f1089e7a4c01a73d
This commit is contained in:
committed by
sys_ocldev
parent
e0956d4ae5
commit
4f28f7a647
@@ -14,7 +14,7 @@ typedef api_tests clCreateSamplerTests;
|
||||
|
||||
namespace ULT {
|
||||
|
||||
TEST_F(clCreateSamplerTests, returnsSuccess) {
|
||||
TEST_F(clCreateSamplerTests, GivenCorrectParametersWhenCreatingSamplerThenSamplerIsCreatedAndSuccessReturned) {
|
||||
auto sampler = clCreateSampler(
|
||||
pContext,
|
||||
CL_TRUE,
|
||||
@@ -28,7 +28,7 @@ TEST_F(clCreateSamplerTests, returnsSuccess) {
|
||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||
}
|
||||
|
||||
TEST_F(clCreateSamplerTests, noRet) {
|
||||
TEST_F(clCreateSamplerTests, GivenCorrectParametersAndNullReturnPointerWhenCreatingSamplerThenSamplerIsCreated) {
|
||||
auto sampler = clCreateSampler(
|
||||
pContext,
|
||||
CL_TRUE,
|
||||
@@ -41,7 +41,7 @@ TEST_F(clCreateSamplerTests, noRet) {
|
||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||
}
|
||||
|
||||
TEST_F(clCreateSamplerTests, nullContextReturnsError) {
|
||||
TEST_F(clCreateSamplerTests, GivenInvalidContextWhenCreatingSamplerThenInvalidContextErrorIsReturned) {
|
||||
auto sampler = clCreateSampler(
|
||||
nullptr,
|
||||
CL_FALSE,
|
||||
|
||||
Reference in New Issue
Block a user