ULT renaming: Retain & release tests

Related-To: NEO-2236

Change-Id: I2e2d22b8925bf93951aacce75e4555f9d250e5d7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
Adam Cetnerowski
2019-07-23 10:43:42 +02:00
committed by sys_ocldev
parent cf1becaf03
commit 023819ee0b
3 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ typedef api_tests clRetainReleaseContextTests;
namespace ULT {
TEST_F(clRetainReleaseContextTests, retainAndrelease) {
TEST_F(clRetainReleaseContextTests, GivenValidContextWhenRetainingAndReleasingThenContextReferenceCountIsUpdatedCorrectly) {
cl_context context = clCreateContext(nullptr, 1, devices, nullptr, nullptr, &retVal);
EXPECT_EQ(CL_SUCCESS, retVal);
EXPECT_NE(nullptr, context);

View File

@@ -14,7 +14,7 @@ using namespace NEO;
typedef api_tests clRetainReleaseDeviceTests;
namespace ULT {
TEST_F(clRetainReleaseDeviceTests, retain) {
TEST_F(clRetainReleaseDeviceTests, GivenRootDeviceWhenRetainingThenReferenceCountIsOne) {
cl_uint numEntries = 1;
cl_device_id devices[1];
@@ -36,7 +36,7 @@ TEST_F(clRetainReleaseDeviceTests, retain) {
EXPECT_EQ(1u, theRef);
}
TEST_F(clRetainReleaseDeviceTests, release) {
TEST_F(clRetainReleaseDeviceTests, GivenRootDeviceWhenReleasingThenReferenceCountIsOne) {
cl_uint numEntries = 1;
cl_device_id devices[1];

View File

@@ -14,7 +14,7 @@ using namespace NEO;
typedef api_tests clRetainReleaseSamplerTests;
namespace ULT {
TEST_F(clRetainReleaseSamplerTests, RetainRelease) {
TEST_F(clRetainReleaseSamplerTests, GivenValidSamplerWhenRetainingThenSamplerReferenceCountIsIncremented) {
cl_int retVal = CL_SUCCESS;
auto sampler = clCreateSampler(pContext, CL_TRUE, CL_ADDRESS_CLAMP,
CL_FILTER_NEAREST, &retVal);