xref: /aosp_15_r20/external/deqp/external/openglcts/modules/common/glcConfigPackage.hpp (revision 35238bce31c2a825756842865a792f8cf7f89930)
1 #ifndef _GLCCONFIGPACKAGE_HPP
2 #define _GLCCONFIGPACKAGE_HPP
3 /*-------------------------------------------------------------------------
4  * OpenGL Conformance Test Suite
5  * -----------------------------
6  *
7  * Copyright (c) 2016 Google Inc.
8  * Copyright (c) 2016 The Khronos Group Inc.
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  *      http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  */ /*!
23  * \file
24  * \brief OpenGL Conformance Test Configuration List Package
25  */ /*-------------------------------------------------------------------*/
26 
27 #include "glcTestCaseWrapper.hpp"
28 #include "tcuDefs.hpp"
29 #include "tcuTestPackage.hpp"
30 
31 namespace glcts
32 {
33 
34 class ConfigPackage : public tcu::TestPackage
35 {
36 public:
37     ConfigPackage(tcu::TestContext &testCtx, const char *name);
38     virtual ~ConfigPackage(void);
39 
40     void init(void);
41 
getArchive(void)42     tcu::Archive *getArchive(void)
43     {
44         return &m_testCtx.getRootArchive();
45     }
46 
47     virtual tcu::TestCaseExecutor *createExecutor(void) const;
48 
49 private:
50     ConfigPackage(const ConfigPackage &other);
51     ConfigPackage &operator=(const ConfigPackage &other);
52 };
53 
54 } // namespace glcts
55 
56 #endif // _GLCCONFIGPACKAGE_HPP
57