mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-17 18:28:41 +00:00
Initial cmake to build the LayerUtils lib and tests
This commit is contained in:
parent
d9f5dd7466
commit
a41380f9fb
10 changed files with 888 additions and 25 deletions
29
layer_utils/tests/test_util.cpp
Normal file
29
layer_utils/tests/test_util.cpp
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
* Copyright (c) 2023-2023 Valve Corporation
|
||||
* Copyright (c) 2023-2023 LunarG, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Authors:
|
||||
* - Christophe Riccio <christophe@lunarg.com>
|
||||
*/
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../vk_layer_settings.h"
|
||||
|
||||
TEST(test_library_util, Something) {
|
||||
EXPECT_TRUE(true);
|
||||
EXPECT_FALSE(vku::IsLayerSetting("layer_name", "setting_key"));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue