Merge vk-gl-cts/vulkan-cts-1.1.5 into vk-gl-cts/vulkan-cts-1.2.0
[platform/upstream/VK-GL-CTS.git] / external / openglcts / modules / common / glcSingleConfigTestPackage.hpp
1 #ifndef _GLCSINGLECONFIGTESTPACKAGE_HPP
2 #define _GLCSINGLECONFIGTESTPACKAGE_HPP
3 /*-------------------------------------------------------------------------
4  * OpenGL Conformance Test Suite
5  * -----------------------------
6  *
7  * Copyright (c) 2016 Google Inc.
8  * Copyright (c) 2016-2019 The Khronos Group Inc.
9  * Copyright (c) 2019 NVIDIA Corporation.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  *      http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  *
23  */ /*!
24  * \file
25  * \brief OpenGL/OpenGL ES Test Package that only gets run in a single config
26  */ /*-------------------------------------------------------------------*/
27
28 #include "glcTestPackage.hpp"
29 #include "tcuDefs.hpp"
30
31 namespace glcts
32 {
33
34 class SingleConfigTestPackage : public deqp::TestPackage
35 {
36 public:
37         SingleConfigTestPackage(tcu::TestContext& testCtx, const char* packageName,
38                                                         glu::ContextType renderContextType);
39         ~SingleConfigTestPackage(void);
40
41         void init(void);
42
43         virtual tcu::TestCaseExecutor* createExecutor(void) const;
44
45 private:
46         SingleConfigTestPackage(const SingleConfigTestPackage& other);
47         SingleConfigTestPackage& operator=(const SingleConfigTestPackage& other);
48 };
49
50 } // glcts
51
52 #endif // _GLCSINGLECONFIGTESTPACKAGE_HPP