From f6a0b3c6ce90567af59e46041ecea02c847b11f0 Mon Sep 17 00:00:00 2001 From: Adam Cetnerowski Date: Tue, 9 Feb 2021 10:31:32 +0100 Subject: [PATCH] ULT renaming: Module tests Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski --- .../core/test/unit_tests/sources/module/test_module.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/level_zero/core/test/unit_tests/sources/module/test_module.cpp b/level_zero/core/test/unit_tests/sources/module/test_module.cpp index f17d7768f2..9283649ffe 100644 --- a/level_zero/core/test/unit_tests/sources/module/test_module.cpp +++ b/level_zero/core/test/unit_tests/sources/module/test_module.cpp @@ -42,7 +42,7 @@ HWTEST_F(ModuleTest, givenBinaryWithDebugDataWhenModuleCreatedFromNativeBinaryTh EXPECT_NE(0u, size); } -HWTEST_F(ModuleTest, givenKernelCreateReturnsSuccess) { +HWTEST_F(ModuleTest, WhenCreatingKernelThenSuccessIsReturned) { ze_kernel_handle_t kernelHandle; ze_kernel_desc_t kernelDesc = {}; @@ -218,7 +218,7 @@ HWTEST2_F(ModuleUncachedBufferTest, givenKernelWithUncachedArgumentThenCorrectMo device->getDriverHandle()->freeMem(devicePtr); } -HWTEST_F(ModuleTest, givenKernelCreateWithIncorrectKernelNameReturnsFailure) { +HWTEST_F(ModuleTest, GivenIncorrectNameWhenCreatingKernelThenResultErrorInvalidArgumentErrorIsReturned) { ze_kernel_handle_t kernelHandle; ze_kernel_desc_t kernelDesc = {}; @@ -255,7 +255,7 @@ struct ModuleSpecConstantsTests : public DeviceFixture, MockModuleTranslationUnit *mockTranslationUnit; }; -HWTEST_F(ModuleSpecConstantsTests, givenSpecializationConstantsSetInDescriptorTheModuleCorrectlyPassesThemToTheCompiler) { +HWTEST_F(ModuleSpecConstantsTests, givenSpecializationConstantsSetInDescriptorThenModuleCorrectlyPassesThemToTheCompiler) { std::string testFile; retrieveBinaryKernelFilenameNoRevision(testFile, binaryFilename + "_", ".spv");