mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-19 17:13:36 -04:00
test: Remove some redundant tests in old test suite
Change-Id: Icc84b25bb092e15e054433651112e86b30726e52
This commit is contained in:
committed by
Charles Giessen
parent
b862e98220
commit
9b90dd7cb3
@@ -292,20 +292,6 @@ void test_create_device(VkPhysicalDevice physical) {
|
||||
// LVLGH = loader and validation github
|
||||
// LVLGL = loader and validation gitlab
|
||||
|
||||
TEST(LX435, InstanceCreateInfoConst) {
|
||||
VkInstanceCreateInfo const info = {VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, nullptr, 0, nullptr, 0, nullptr, 0, nullptr};
|
||||
|
||||
VkInstance instance = VK_NULL_HANDLE;
|
||||
VkResult result = vkCreateInstance(&info, VK_NULL_HANDLE, &instance);
|
||||
EXPECT_EQ(result, VK_SUCCESS);
|
||||
|
||||
vkDestroyInstance(instance, nullptr);
|
||||
}
|
||||
|
||||
TEST(LX475, DestroyInstanceNullHandle) { vkDestroyInstance(VK_NULL_HANDLE, nullptr); }
|
||||
|
||||
TEST(LX475, DestroyDeviceNullHandle) { vkDestroyDevice(VK_NULL_HANDLE, nullptr); }
|
||||
|
||||
TEST(CreateInstance, ExtensionNotPresent) {
|
||||
char const *const names[] = {"NotPresent"}; // Temporary required due to MSVC bug.
|
||||
auto const info = VK::InstanceCreateInfo().enabledExtensionCount(1).ppEnabledExtensionNames(names);
|
||||
|
||||
Reference in New Issue
Block a user