From 62b48eb26dbd20622ae3cfd10d603766462d7f6d Mon Sep 17 00:00:00 2001 From: wangshi Date: Thu, 7 Jul 2022 09:43:42 +0800 Subject: [PATCH] add depq3 testcase Signed-off-by: wangshi --- ...er_equation_src_func_dst_funcTestCase1.cpp | 1993 +++++++++++++++++ 1 file changed, 1993 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles3/functional/Deqpgles3default_framebuffer_equation_src_func_dst_funcTestCase1.cpp diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3default_framebuffer_equation_src_func_dst_funcTestCase1.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3default_framebuffer_equation_src_func_dst_funcTestCase1.cpp new file mode 100644 index 000000000..4c57c8215 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3default_framebuffer_equation_src_func_dst_funcTestCase1.cpp @@ -0,0 +1,1993 @@ +/* + * 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 +#include "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30029TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028387, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028387 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_dst_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028387 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028387 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028388, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028388 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_dst_color_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028388 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028388 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028389, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028389 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuff" + "er.equation_src_func_dst_func.add_one_minus_dst_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028389 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028389 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028390, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028390 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuf" + "fer.equation_src_func_dst_func.add_one_minus_dst_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028390 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028390 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028391, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028391 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_dst_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028391 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028391 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028392, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028392 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028392 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028392 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028393, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028393 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_dst_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028393 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028393 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028394, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028394 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028394 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028394 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028395, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028395 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_dst_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028395 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028395 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028396, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028396 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028396 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028396 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028397, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028397 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_dst_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028397 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028397 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028398, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028398 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028398 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028398 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028399, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028399 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_one_minus_dst_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028399 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028399 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028400, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028400 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equatio" + "n_src_func_dst_func.add_one_minus_dst_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028400 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028400 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028401, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028401 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_one_minus_dst_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028401 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028401 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028402, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028402 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equatio" + "n_src_func_dst_func.add_one_minus_dst_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028402 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028402 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028403, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028403 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_color_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028403 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028403 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028404, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028404 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_fram" + "ebuffer.equation_src_func_dst_func.add_src_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028404 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028404 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028405, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028405 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_fra" + "mebuffer.equation_src_func_dst_func.add_src_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028405 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028405 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028406, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028406 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_frameb" + "uffer.equation_src_func_dst_func.add_src_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028406 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028406 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028407, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028407 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_src_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028407 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028407 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028408, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028408 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_frameb" + "uffer.equation_src_func_dst_func.add_src_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028408 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028408 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028409, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028409 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_src_alpha_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028409 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028409 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028410, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028410 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_frameb" + "uffer.equation_src_func_dst_func.add_src_alpha_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028410 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028410 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028411, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028411 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_src_alpha_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028411 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028411 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028412, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028412 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_frameb" + "uffer.equation_src_func_dst_func.add_src_alpha_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028412 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028412 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028413, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028413 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_src_alpha_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028413 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028413 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028414, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028414 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuff" + "er.equation_src_func_dst_func.add_src_alpha_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028414 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028414 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028415, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028415 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_src_alpha_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028415 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028415 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028416, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028416 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuff" + "er.equation_src_func_dst_func.add_src_alpha_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028416 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028416 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028417, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028417 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_src_alpha_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028417 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028417 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028418, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028418 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_src_alpha_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028418 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028418 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028419, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028419 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuff" + "er.equation_src_func_dst_func.add_one_minus_src_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028419 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028419 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028420, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028420 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuf" + "fer.equation_src_func_dst_func.add_one_minus_src_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028420 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028420 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028421, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028421 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_src_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028421 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028421 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028422, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028422 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_src_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028422 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028422 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028423, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028423 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_src_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028423 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028423 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028424, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028424 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_src_alpha_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028424 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028424 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028425, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028425 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_src_alpha_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028425 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028425 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028426, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028426 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_src_alpha_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028426 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028426 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028427, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028427 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_src_alpha_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028427 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028427 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028428, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028428 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_src_alpha_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028428 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028428 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028429, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028429 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_one_minus_src_alpha_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028429 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028429 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028430, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028430 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equatio" + "n_src_func_dst_func.add_one_minus_src_alpha_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028430 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028430 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028431, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028431 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_one_minus_src_alpha_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028431 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028431 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028432, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028432 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equatio" + "n_src_func_dst_func.add_one_minus_src_alpha_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028432 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028432 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028433, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028433 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_src_alpha_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028433 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028433 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028434, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028434 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_fram" + "ebuffer.equation_src_func_dst_func.add_dst_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028434 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028434 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028435, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028435 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_fra" + "mebuffer.equation_src_func_dst_func.add_dst_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028435 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028435 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028436, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028436 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_frameb" + "uffer.equation_src_func_dst_func.add_dst_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028436 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028436 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028437, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028437 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_dst_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028437 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028437 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028438, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028438 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_frameb" + "uffer.equation_src_func_dst_func.add_dst_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028438 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028438 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028439, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028439 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_dst_alpha_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028439 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028439 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028440, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028440 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_frameb" + "uffer.equation_src_func_dst_func.add_dst_alpha_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028440 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028440 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028441, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028441 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_dst_alpha_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028441 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028441 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028442, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028442 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_frameb" + "uffer.equation_src_func_dst_func.add_dst_alpha_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028442 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028442 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028443, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028443 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_dst_alpha_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028443 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028443 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028444, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028444 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuff" + "er.equation_src_func_dst_func.add_dst_alpha_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028444 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028444 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028445, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028445 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_dst_alpha_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028445 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028445 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028446, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028446 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuff" + "er.equation_src_func_dst_func.add_dst_alpha_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028446 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028446 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028447, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028447 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_dst_alpha_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028447 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028447 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028448, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028448 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_dst_alpha_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028448 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028448 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028449, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028449 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuff" + "er.equation_src_func_dst_func.add_one_minus_dst_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028449 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028449 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028450, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028450 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuf" + "fer.equation_src_func_dst_func.add_one_minus_dst_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028450 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028450 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028451, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028451 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_dst_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028451 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028451 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028452, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028452 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028452 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028452 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028453, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028453 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_dst_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028453 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028453 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028454, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028454 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_alpha_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028454 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028454 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028455, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028455 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_dst_alpha_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028455 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028455 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028456, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028456 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_alpha_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028456 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028456 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028457, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028457 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_one_minus_dst_alpha_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028457 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028457 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028458, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028458 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equa" + "tion_src_func_dst_func.add_one_minus_dst_alpha_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028458 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028458 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028459, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028459 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.eq" + "uation_src_func_dst_func.add_one_minus_dst_alpha_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30029TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30029TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30029TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30029TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30029TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_028459 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028459 end"; +} -- GitLab