提交 34f5d600 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 3b2bd175
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20013TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012635, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012635 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_s"
"tencilbuffer.rebind_tex2d_rgb_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012635 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012635 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012636, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012636 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuf"
"fer.rebind_tex2d_rgb_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012636 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012636 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012637, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012637 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_st"
"encilbuffer.rebind_tex2d_rgba_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012637 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012637 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012638, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012638 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuff"
"er.rebind_tex2d_rgba_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012638 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012638 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012639, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012639 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_st"
"encilbuffer.rebind_rbo_rgb565_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012639 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012639 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012640, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012640 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuff"
"er.rebind_rbo_rgb565_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012640 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012640 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012641, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012641 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_st"
"encilbuffer.rebind_rbo_rgb5_a1_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012641 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012641 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012642, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012642 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuff"
"er.rebind_rbo_rgb5_a1_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012642 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012642 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012643, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012643 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_s"
"tencilbuffer.rebind_rbo_rgba4_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012643 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012643 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012644, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012644 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuf"
"fer.rebind_rbo_rgba4_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012644 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012644 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012645, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012645 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_ste"
"ncilbuffer.no_rebind_tex2d_rgb_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012645 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012645 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012646, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012646 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuffe"
"r.no_rebind_tex2d_rgb_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012646 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012646 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012647, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012647 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_ste"
"ncilbuffer.no_rebind_tex2d_rgba_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012647 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012647 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012648, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012648 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuffe"
"r.no_rebind_tex2d_rgba_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012648 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012648 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012649, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012649 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_ste"
"ncilbuffer.no_rebind_rbo_rgb565_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012649 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012649 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012650, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012650 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuffe"
"r.no_rebind_rbo_rgb565_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012650 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012650 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012651, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012651 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_sten"
"cilbuffer.no_rebind_rbo_rgb5_a1_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012651 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012651 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012652, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012652 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuffer"
".no_rebind_rbo_rgb5_a1_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012652 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012652 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012653, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012653 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_ste"
"ncilbuffer.no_rebind_rbo_rgba4_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012653 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012653 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012654, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012654 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.recreate_stencilbuffe"
"r.no_rebind_rbo_rgba4_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012654 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012654 end";
}
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20013TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012555, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012555 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fb"
"o.render.resize.tex2d_rgb",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012555 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012555 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012556, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012556 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render"
".resize.tex2d_rgb_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012556 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012556 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012557, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012557 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render."
"resize.tex2d_rgb_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012557 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012557 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012558, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012558 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.resize.t"
"ex2d_rgb_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012558 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012558 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012559, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012559 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo"
".render.resize.tex2d_rgba",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012559 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012559 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012560, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012560 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render"
".resize.tex2d_rgba_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012560 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012560 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012561, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012561 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.r"
"esize.tex2d_rgba_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012561 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012561 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012562, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012562 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.resize.t"
"ex2d_rgba_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012562 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012562 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012563, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012563 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo"
".render.resize.rbo_rgb565",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012563 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012563 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012564, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012564 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render"
".resize.rbo_rgb565_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012564 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012564 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012565, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012565 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.r"
"esize.rbo_rgb565_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012565 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012565 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012566, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012566 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.resize.r"
"bo_rgb565_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012566 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012566 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012567, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012567 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo"
".render.resize.rbo_rgb5_a1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012567 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012567 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012568, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012568 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render."
"resize.rbo_rgb5_a1_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012568 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012568 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012569, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012569 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.r"
"esize.rbo_rgb5_a1_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012569 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012569 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012570, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012570 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.resize.rb"
"o_rgb5_a1_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012570 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012570 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012571, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012571 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fb"
"o.render.resize.rbo_rgba4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012571 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012571 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012572, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012572 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render"
".resize.rbo_rgba4_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012572 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012572 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012573, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012573 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render."
"resize.rbo_rgba4_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012573 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012573 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012574, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012574 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.resize.r"
"bo_rgba4_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012574 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012574 end";
}
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20013TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012525, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012525 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.rend"
"er.shared_colorbuffer.tex2d_rgb",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012525 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012525 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012526, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012526 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.share"
"d_colorbuffer.tex2d_rgb_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012526 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012526 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012527, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012527 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared"
"_colorbuffer.tex2d_rgb_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012527 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012527 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012528, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012528 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_colorbu"
"ffer.tex2d_rgb_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012528 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012528 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012529, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012529 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.rende"
"r.shared_colorbuffer.tex2d_rgba",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012529 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012529 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012530, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012530 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.share"
"d_colorbuffer.tex2d_rgba_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012530 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012530 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012531, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012531 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_"
"colorbuffer.tex2d_rgba_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012531 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012531 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012532, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012532 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_colorbu"
"ffer.tex2d_rgba_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012532 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012532 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012533, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012533 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.rende"
"r.shared_colorbuffer.rbo_rgb565",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012533 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012533 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012534, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012534 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.share"
"d_colorbuffer.rbo_rgb565_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012534 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012534 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012535, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012535 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_"
"colorbuffer.rbo_rgb565_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012535 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012535 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012536, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012536 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_colorbu"
"ffer.rbo_rgb565_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012536 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012536 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012537, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012537 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.rende"
"r.shared_colorbuffer.rbo_rgb5_a1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012537 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012537 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012538, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012538 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared"
"_colorbuffer.rbo_rgb5_a1_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012538 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012538 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012539, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012539 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_"
"colorbuffer.rbo_rgb5_a1_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012539 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012539 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012540, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012540 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_colorbuf"
"fer.rbo_rgb5_a1_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012540 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012540 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012541, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012541 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.rend"
"er.shared_colorbuffer.rbo_rgba4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012541 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012541 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012542, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012542 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.share"
"d_colorbuffer.rbo_rgba4_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012542 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012542 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012543, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012543 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared"
"_colorbuffer.rbo_rgba4_depth_component16",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012543 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012543 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012544, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012544 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fbo.render.shared_colorbu"
"ffer.rbo_rgba4_depth_component16_stencil_index8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012544 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012544 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册