1#ifndef _GLCTESTCASEWRAPPER_HPP
2#define _GLCTESTCASEWRAPPER_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 Test Case Wrapper.
25 */ /*-------------------------------------------------------------------*/
26
27#include "glcContext.hpp"
28#include "tcuDefs.hpp"
29
30#include "tcuTestCase.hpp"
31
32namespace deqp
33{
34
35class TestCaseWrapper
36{
37public:
38	TestCaseWrapper(Context& context);
39	virtual ~TestCaseWrapper(void);
40
41	virtual bool initTestCase(tcu::TestCase* testCase);
42	virtual bool deinitTestCase(tcu::TestCase* testCase);
43	virtual tcu::TestNode::IterateResult iterateTestCase(tcu::TestCase* testCase);
44
45private:
46	tcu::TestContext& m_testCtx;
47	Context&		  m_context;
48};
49
50} // deqp
51
52#endif // _GLCTESTCASEWRAPPER_HPP
53