Home | History | Annotate | Download | only in internal
      1 /*-------------------------------------------------------------------------
      2  * drawElements Quality Program OpenGL ES 2.0 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 drawElements Internal Test Package
     22  *//*--------------------------------------------------------------------*/
     23 
     24 #include "ditTestPackage.hpp"
     25 #include "ditBuildInfoTests.hpp"
     26 #include "ditDelibsTests.hpp"
     27 #include "ditFrameworkTests.hpp"
     28 #include "ditImageIOTests.hpp"
     29 #include "ditImageCompareTests.hpp"
     30 #include "ditTestLogTests.hpp"
     31 
     32 namespace dit
     33 {
     34 
     35 class DeqpTests : public tcu::TestCaseGroup
     36 {
     37 public:
     38 	DeqpTests (tcu::TestContext& testCtx)
     39 		: tcu::TestCaseGroup(testCtx, "deqp", "dEQP Test Framework Self-tests")
     40 	{
     41 	}
     42 
     43 	void init (void)
     44 	{
     45 		addChild(new TestLogTests		(m_testCtx));
     46 		addChild(new ImageIOTests		(m_testCtx));
     47 		addChild(new ImageCompareTests	(m_testCtx));
     48 	}
     49 };
     50 
     51 TestPackage::TestPackage (tcu::TestContext& testCtx)
     52 	: tcu::TestPackage	(testCtx, "dE-IT", "drawElements Internal Tests")
     53 	, m_wrapper			(testCtx)
     54 	, m_archive			(testCtx.getRootArchive(), "internal/")
     55 {
     56 }
     57 
     58 TestPackage::~TestPackage (void)
     59 {
     60 }
     61 
     62 void TestPackage::init (void)
     63 {
     64 	addChild(new BuildInfoTests	(m_testCtx));
     65 	addChild(new DelibsTests	(m_testCtx));
     66 	addChild(new FrameworkTests	(m_testCtx));
     67 	addChild(new DeqpTests		(m_testCtx));
     68 }
     69 
     70 void TestPackage::deinit (void)
     71 {
     72 	TestNode::deinit();
     73 }
     74 
     75 } // dit
     76