From 53a7e2c2bbc95f49222922fb2f19adacc3fce90a Mon Sep 17 00:00:00 2001 From: wangshi Date: Thu, 7 Jul 2022 09:44:00 +0800 Subject: [PATCH] add depq3 testcase Signed-off-by: wangshi --- ...er_equation_src_func_dst_funcTestCase2.cpp | 1993 +++++++++++++++++ 1 file changed, 1993 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles3/functional/Deqpgles3default_framebuffer_equation_src_func_dst_funcTestCase2.cpp diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3default_framebuffer_equation_src_func_dst_funcTestCase2.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3default_framebuffer_equation_src_func_dst_funcTestCase2.cpp new file mode 100644 index 000000000..4af4ef61c --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3default_framebuffer_equation_src_func_dst_funcTestCase2.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_028460, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028460 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_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_028460 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028460 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028461, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028461 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_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_028461 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028461 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028462, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028462 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_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_028462 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028462 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028463, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028463 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_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_028463 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028463 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028464, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028464 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_constant_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_028464 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028464 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028465, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028465 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_constant_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_028465 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028465 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028466, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028466 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_constant_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_028466 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028466 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028467, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028467 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_constant_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_028467 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028467 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028468, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028468 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_constant_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_028468 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028468 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028469, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028469 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_constant_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_028469 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028469 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028470, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028470 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_constant_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_028470 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028470 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028471, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028471 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_constant_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_028471 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028471 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028472, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028472 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_constant_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_028472 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028472 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028473, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028473 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_constant_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_028473 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028473 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028474, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028474 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_constant_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_028474 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028474 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028475, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028475 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_constant_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_028475 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028475 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028476, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028476 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_constant_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_028476 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028476 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028477, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028477 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_constant_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_028477 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028477 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028478, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028478 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.e" + "quation_src_func_dst_func.add_constant_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_028478 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028478 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028479, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028479 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_constant_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_028479 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028479 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028480, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028480 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_constant_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_028480 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028480 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028481, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028481 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_constant_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_028481 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028481 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028482, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028482 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_constant_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_028482 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028482 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028483, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028483 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_constant_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_028483 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028483 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028484, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028484 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_constant_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_028484 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028484 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028485, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028485 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_constant_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_028485 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028485 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028486, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028486 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_constant_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_028486 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028486 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028487, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028487 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_constant_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_028487 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028487 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028488, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028488 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_constant_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_028488 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028488 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028489, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028489 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_constant_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_028489 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028489 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028490, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028490 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_constant_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_028490 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028490 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028491, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028491 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_constant_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_028491 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028491 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028492, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028492 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_constant_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_028492 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028492 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028493, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028493 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equati" + "on_src_func_dst_func.add_one_minus_constant_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_028493 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028493 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028494, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028494 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_constant_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_028494 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028494 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028495, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028495 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_constant_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_028495 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028495 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028496, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028496 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_constant_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_028496 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028496 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028497, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028497 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_constant_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_028497 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028497 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028498, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028498 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_constant_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_028498 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028498 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028499, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028499 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_constant_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_028499 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028499 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028500, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028500 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_constant_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_028500 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028500 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028501, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028501 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_constant_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_028501 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028501 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028502, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028502 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_constant_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_028502 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028502 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028503, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028503 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_constant_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_028503 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028503 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028504, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028504 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_constant_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_028504 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028504 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028505, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028505 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_constant_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_028505 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028505 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028506, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028506 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer" + ".equation_src_func_dst_func.add_constant_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_028506 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028506 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028507, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028507 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_constant_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_028507 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028507 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028508, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028508 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.e" + "quation_src_func_dst_func.add_constant_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_028508 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028508 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028509, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028509 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_constant_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_028509 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028509 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028510, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028510 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_constant_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_028510 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028510 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028511, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028511 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_constant_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_028511 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028511 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028512, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028512 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_constant_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_028512 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028512 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028513, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028513 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_constant_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_028513 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028513 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028514, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028514 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_constant_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_028514 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028514 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028515, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028515 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_constant_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_028515 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028515 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028516, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028516 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_constant_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_028516 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028516 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028517, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028517 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_constant_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_028517 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028517 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028518, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028518 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_constant_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_028518 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028518 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028519, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028519 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_constant_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_028519 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028519 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028520, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028520 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_constant_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_028520 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028520 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028521, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028521 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_constant_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_028521 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028521 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028522, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028522 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_constant_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_028522 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028522 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028523, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028523 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.default_framebuffer.equati" + "on_src_func_dst_func.add_one_minus_constant_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_028523 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028523 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028524, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028524 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_src_alpha_saturate_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_028524 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028524 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028525, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028525 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_src_alpha_saturate_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_028525 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028525 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028526, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028526 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_saturate_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_028526 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028526 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028527, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028527 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_src_alpha_saturate_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_028527 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028527 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028528, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028528 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_saturate_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_028528 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028528 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028529, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028529 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_src_alpha_saturate_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_028529 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028529 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028530, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028530 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_saturate_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_028530 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028530 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028531, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028531 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_src_alpha_saturate_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_028531 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028531 end"; +} + +static HWTEST_F(ActsDeqpgles30029TestSuite, TestCase_028532, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_028532 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_saturate_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_028532 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_028532 end"; +} -- GitLab