@@ -13,36 +13,36 @@ INSTANTIATE_TEST_SUITE_P(, urPlatfromGetBackendOptionTestWithParam,
1313 });
1414
1515TEST_P (urPlatfromGetBackendOptionTestWithParam, Success) {
16- const char *adapterOption = nullptr ;
16+ const char *platformOption = nullptr ;
1717 ASSERT_SUCCESS (urPlatformGetBackendOption (platform, GetParam ().c_str (),
18- &adapterOption ));
19- ASSERT_NE (adapterOption , nullptr );
18+ &platformOption ));
19+ ASSERT_NE (platformOption , nullptr );
2020}
2121
2222using urPlatfromGetBackendOptionTest = uur::platform::urPlatformTest;
2323
2424TEST_F (urPlatfromGetBackendOptionTest, InvalidNullHandle) {
25- const char *adapterOption = nullptr ;
25+ const char *platformOption = nullptr ;
2626 ASSERT_EQ_RESULT (
2727 UR_RESULT_ERROR_INVALID_NULL_HANDLE,
28- urPlatformGetBackendOption (nullptr , " -O0" , &adapterOption ));
28+ urPlatformGetBackendOption (nullptr , " -O0" , &platformOption ));
2929}
3030
3131TEST_F (urPlatfromGetBackendOptionTest, InvalidNullPointerFrontendOption) {
32- const char *adapterOption = nullptr ;
32+ const char *platformOption = nullptr ;
3333 ASSERT_EQ_RESULT (
3434 UR_RESULT_ERROR_INVALID_NULL_POINTER,
35- urPlatformGetBackendOption (platform, nullptr , &adapterOption ));
35+ urPlatformGetBackendOption (platform, nullptr , &platformOption ));
3636}
3737
38- TEST_F (urPlatfromGetBackendOptionTest, InvalidNullPointerAdapterOption ) {
38+ TEST_F (urPlatfromGetBackendOptionTest, InvalidNullPointerPlatformOption ) {
3939 ASSERT_EQ_RESULT (UR_RESULT_ERROR_INVALID_NULL_POINTER,
4040 urPlatformGetBackendOption (platform, " -O0" , nullptr ));
4141}
4242
4343TEST_F (urPlatfromGetBackendOptionTest, InvalidValueFrontendOption) {
44- const char *adapterOption = nullptr ;
44+ const char *platformOption = nullptr ;
4545 ASSERT_EQ_RESULT (
4646 UR_RESULT_ERROR_INVALID_VALUE,
47- urPlatformGetBackendOption (platform, " -sycl-sucks" , &adapterOption ));
47+ urPlatformGetBackendOption (platform, " -sycl-sucks" , &platformOption ));
4848}
0 commit comments