Skip to content

Commit 98ac4ca

Browse files
ULT renaming: Get info tests
Related-To: NEO-2236 Change-Id: Ia8396e55b89c62b7d9e5b932d1cc6267f1f47b46 Signed-off-by: Adam Cetnerowski <[email protected]>
1 parent 35b59b7 commit 98ac4ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unit_tests/context/context_get_info_tests.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2017-2019 Intel Corporation
2+
* Copyright (C) 2017-2020 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -37,7 +37,7 @@ struct ContextGetInfoTest : public PlatformFixture,
3737
cl_int retVal = CL_SUCCESS;
3838
};
3939

40-
TEST_F(ContextGetInfoTest, Invalid) {
40+
TEST_F(ContextGetInfoTest, GivenInvalidParamNameWhenGettingInfoThenInvalidValueErrorIsReturned) {
4141
size_t retSize = 0;
4242

4343
retVal = pContext->getInfo(
@@ -48,7 +48,7 @@ TEST_F(ContextGetInfoTest, Invalid) {
4848
EXPECT_EQ(CL_INVALID_VALUE, retVal);
4949
}
5050

51-
TEST_F(ContextGetInfoTest, NumDevices) {
51+
TEST_F(ContextGetInfoTest, GivenNumDevicesParamNameWhenGettingInfoThenNumberOfDevicesIsReturned) {
5252
cl_uint numDevices = 0;
5353
size_t retSize = 0;
5454

@@ -72,7 +72,7 @@ TEST_F(ContextGetInfoTest, NumDevices) {
7272
EXPECT_EQ(CL_SUCCESS, retVal);
7373
}
7474

75-
TEST_F(ContextGetInfoTest, Devices) {
75+
TEST_F(ContextGetInfoTest, GivenContextDevicesParamNameWhenGettingInfoThenCorrectDeviceIdsAreReturned) {
7676
auto devicesReturned = new cl_device_id[this->num_devices];
7777
retVal = pContext->getInfo(
7878
CL_CONTEXT_DEVICES,

0 commit comments

Comments
 (0)