From aaec3ee4bc74233993be220acdf7611678832ce9 Mon Sep 17 00:00:00 2001 From: ZhangLiang Date: Wed, 25 Sep 2024 07:24:59 +0000 Subject: [PATCH] complement assertion Signed-off-by: ZhangLiang Change-Id: I8dd93897d36ffe64c92084d1f48953e219914b84 --- .../vulkan_layers/test/unittest/vulkan_loader_unit_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/vulkan_layers/test/unittest/vulkan_loader_unit_test.cpp b/frameworks/vulkan_layers/test/unittest/vulkan_loader_unit_test.cpp index d1f1b794d1..350509425f 100644 --- a/frameworks/vulkan_layers/test/unittest/vulkan_loader_unit_test.cpp +++ b/frameworks/vulkan_layers/test/unittest/vulkan_loader_unit_test.cpp @@ -573,6 +573,7 @@ HWTEST_F(VulkanLoaderUnitTest, vkGetPhysicalDeviceSurfaceSupportKHR_Test, TestSi std::vector supportsPresent(queueCount_); for (uint32_t i = 0; i < queueCount_; i++) { vkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice_, i, surface_, &supportsPresent[i]); + EXPECT_EQ(supportsPresent[i], VK_TRUE); } } }