Import dEQP.
[platform/upstream/VK-GL-CTS.git] / modules / internal / ditFrameworkTests.cpp
1 /*-------------------------------------------------------------------------
2  * drawElements Internal Test Module
3  * ---------------------------------
4  *
5  * Copyright 2014 The Android Open Source Project
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  *//*!
20  * \file
21  * \brief Miscellaneous framework tests.
22  *//*--------------------------------------------------------------------*/
23
24 #include "ditFrameworkTests.hpp"
25
26 #include "tcuFloatFormat.hpp"
27
28 namespace dit
29 {
30
31 class CommonFrameworkTests : public tcu::TestCaseGroup
32 {
33 public:
34         CommonFrameworkTests (tcu::TestContext& testCtx)
35                 : tcu::TestCaseGroup(testCtx, "common", "Tests for the common utility framework")
36         {
37         }
38
39         void init (void)
40         {
41                 addChild(new SelfCheckCase(m_testCtx, "float_format","tcu::FloatFormat_selfTest()",
42                                                                    tcu::FloatFormat_selfTest));
43         }
44 };
45
46 FrameworkTests::FrameworkTests (tcu::TestContext& testCtx)
47         : tcu::TestCaseGroup(testCtx, "framework", "Miscellaneous framework tests")
48 {
49 }
50
51 FrameworkTests::~FrameworkTests (void)
52 {
53 }
54
55 void FrameworkTests::init (void)
56 {
57         addChild(new CommonFrameworkTests(m_testCtx));
58 }
59
60 }