Merge "cmake: look for png.h, not libpng.h"
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / vktTestGroupUtil.cpp
1 /*-------------------------------------------------------------------------
2  * Vulkan Conformance Tests
3  * ------------------------
4  *
5  * Copyright (c) 2016 Google Inc.
6  *
7  * Permission is hereby granted, free of charge, to any person obtaining a
8  * copy of this software and/or associated documentation files (the
9  * "Materials"), to deal in the Materials without restriction, including
10  * without limitation the rights to use, copy, modify, merge, publish,
11  * distribute, sublicense, and/or sell copies of the Materials, and to
12  * permit persons to whom the Materials are furnished to do so, subject to
13  * the following conditions:
14  *
15  * The above copyright notice(s) and this permission notice shall be
16  * included in all copies or substantial portions of the Materials.
17  *
18  * The Materials are Confidential Information as defined by the
19  * Khronos Membership Agreement until designated non-confidential by
20  * Khronos, at which point this condition clause shall be removed.
21  *
22  * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28  * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29  *
30  *//*!
31  * \file
32  * \brief TestCaseGroup utilities
33  *//*--------------------------------------------------------------------*/
34
35 #include "vktTestGroupUtil.hpp"
36
37 namespace vkt
38 {
39
40 TestGroupHelper0::TestGroupHelper0 (tcu::TestContext&   testCtx,
41                                                                         const std::string&      name,
42                                                                         const std::string&      description,
43                                                                         CreateChildrenFunc      createChildren)
44         : tcu::TestCaseGroup    (testCtx, name.c_str(), description.c_str())
45         , m_createChildren              (createChildren)
46 {
47 }
48
49 TestGroupHelper0::~TestGroupHelper0 (void)
50 {
51 }
52
53 void TestGroupHelper0::init (void)
54 {
55         m_createChildren(this);
56 }
57
58 } // vkt