tes2TestCase.hpp revision 3c827367444ee418f129b2c238299f49d3264554
1179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org#ifndef _TES2TESTCASE_HPP
2179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org#define _TES2TESTCASE_HPP
3179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org/*-------------------------------------------------------------------------
4179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * drawElements Quality Program OpenGL ES 2.0 Module
5179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * -------------------------------------------------
6179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org *
7179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * Copyright 2014 The Android Open Source Project
8179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org *
9179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * Licensed under the Apache License, Version 2.0 (the "License");
10179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * you may not use this file except in compliance with the License.
11fbd97aa4c5325eace57d24b89845b9581bac9324jorlow@chromium.org * You may obtain a copy of the License at
12fbd97aa4c5325eace57d24b89845b9581bac9324jorlow@chromium.org *
13fbd97aa4c5325eace57d24b89845b9581bac9324jorlow@chromium.org *      http://www.apache.org/licenses/LICENSE-2.0
14179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org *
15179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * Unless required by applicable law or agreed to in writing, software
16179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * distributed under the License is distributed on an "AS IS" BASIS,
17179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * See the License for the specific language governing permissions and
19179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * limitations under the License.
20179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org *
21179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org *//*!
228cd4ab8303620197cf24282ae8639060efbb326egabor@google.com * \file
23179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org * \brief OpenGL ES 2.0 test case.
24179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org *//*--------------------------------------------------------------------*/
25179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
26179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org#include "tcuDefs.hpp"
27179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org#include "tcuTestCase.hpp"
28179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org#include "tes2Context.hpp"
29179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
30179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orgnamespace deqp
31179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org{
32179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orgnamespace gles2
33179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org{
34179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
35179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orgclass TestCaseGroup : public tcu::TestCaseGroup
36179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org{
37179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orgpublic:
38179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org						TestCaseGroup		(Context& context, const char* name, const char* description);
39179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org						TestCaseGroup		(Context& context, const char* name, const char* description, const std::vector<TestNode*>& children);
40179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	virtual				~TestCaseGroup		(void) {}
41179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
42179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	Context&			getContext			(void) { return m_context; }
43179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
44179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orgprotected:
45179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	Context&			m_context;
46179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org};
47179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
48179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orgclass TestCase : public tcu::TestCase
49179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org{
50179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orgpublic:
51179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org						TestCase			(Context& context, const char* name, const char* description);
52179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org						TestCase			(Context& context, tcu::TestNodeType type, const char* name, const char* description);
53179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	virtual				~TestCase			(void) {}
54179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
55179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orgprotected:
56179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	Context&			m_context;
57179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org};
58179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
59179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orginline TestCaseGroup::TestCaseGroup (Context& context, const char* name, const char* description)
60179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	: tcu::TestCaseGroup	(context.getTestContext(), name, description)
61179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	, m_context				(context)
62179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org{
63179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org}
64179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
65179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orginline TestCaseGroup::TestCaseGroup (Context& context, const char* name, const char* description, const std::vector<TestNode*>& children)
66179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	: tcu::TestCaseGroup	(context.getTestContext(), name, description, children)
67f85ede82f8c27a00c3120f67fbab89b2a89fe987jorlow@chromium.org	, m_context				(context)
68f85ede82f8c27a00c3120f67fbab89b2a89fe987jorlow@chromium.org{
69f85ede82f8c27a00c3120f67fbab89b2a89fe987jorlow@chromium.org}
70179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
71179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orginline TestCase::TestCase (Context& context, const char* name, const char* description)
72179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	: tcu::TestCase			(context.getTestContext(), name, description)
73179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	, m_context				(context)
74179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org{
75179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org}
76179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
77179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.orginline TestCase::TestCase (Context& context, tcu::TestNodeType type, const char* name, const char* description)
78179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	: tcu::TestCase			(context.getTestContext(), type, name, description)
79179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org	, m_context				(context)
80179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org{
818cd4ab8303620197cf24282ae8639060efbb326egabor@google.com}
82179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
83179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org} // gles2
84179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org} // deqp
85179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org
86179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org#endif // _TES2TESTCASE_HPP
87179be588c25dccaa963df9c9c104fc6229435483jorlow@chromium.org