From 941cd77dbd2afb8d647178e715cbe405c84c36a2 Mon Sep 17 00:00:00 2001 From: wangshi Date: Thu, 7 Jul 2022 10:06:36 +0800 Subject: [PATCH] add depq3 testcase Signed-off-by: wangshi --- ...gb_equation_src_func_dst_funcTestCase4.cpp | 1993 +++++++++++++++++ 1 file changed, 1993 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles3/functional/Deqpgles3fbo_srgb_equation_src_func_dst_funcTestCase4.cpp diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3fbo_srgb_equation_src_func_dst_funcTestCase4.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3fbo_srgb_equation_src_func_dst_funcTestCase4.cpp new file mode 100644 index 000000000..41716bfc3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3fbo_srgb_equation_src_func_dst_funcTestCase4.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 "../ActsDeqpgles30030TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029758, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029758 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_dst_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029758 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029758 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029759, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029759 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_dst_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029759 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029759 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029760, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029760 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_dst_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029760 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029760 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029761, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029761 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_dst_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029761 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029761 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029762, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029762 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_dst_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029762 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029762 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029763, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029763 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_dst_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029763 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029763 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029764, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029764 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_dst_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029764 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029764 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029765, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029765 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_dst_color_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029765 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029765 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029766, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029766 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_one_minus_dst_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029766 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029766 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029767, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029767 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equa" + "tion_src_func_dst_func.subtract_one_minus_dst_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029767 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029767 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029768, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029768 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_dst_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029768 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029768 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029769, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029769 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_dst_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029769 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029769 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029770, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029770 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_dst_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029770 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029770 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029771, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029771 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_dst_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029771 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029771 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029772, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029772 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_dst_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029772 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029772 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029773, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029773 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_dst_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029773 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029773 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029774, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029774 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_dst_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029774 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029774 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029775, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029775 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_dst_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029775 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029775 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029776, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029776 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_one_minus_dst_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029776 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029776 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029777, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029777 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src_fu" + "nc_dst_func.subtract_one_minus_dst_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029777 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029777 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029778, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029778 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_one_minus_dst_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029778 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029778 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029779, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029779 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src_fu" + "nc_dst_func.subtract_one_minus_dst_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029779 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029779 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029780, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029780 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_dst_color_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029780 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029780 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029781, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029781 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb." + "equation_src_func_dst_func.subtract_src_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029781 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029781 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029782, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029782 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb" + ".equation_src_func_dst_func.subtract_src_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029782 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029782 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029783, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029783 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_src_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029783 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029783 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029784, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029784 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_src_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029784 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029784 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029785, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029785 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_src_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029785 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029785 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029786, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029786 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_src_alpha_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029786 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029786 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029787, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029787 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_src_alpha_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029787 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029787 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029788, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029788 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_src_alpha_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029788 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029788 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029789, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029789 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_src_alpha_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029789 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029789 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029790, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029790 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_src_alpha_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029790 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029790 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029791, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029791 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_src_alpha_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029791 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029791 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029792, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029792 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_src_alpha_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029792 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029792 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029793, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029793 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_src_alpha_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029793 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029793 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029794, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029794 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_src_alpha_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029794 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029794 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029795, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029795 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_src_alpha_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029795 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029795 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029796, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029796 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_one_minus_src_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029796 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029796 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029797, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029797 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equa" + "tion_src_func_dst_func.subtract_one_minus_src_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029797 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029797 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029798, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029798 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_src_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029798 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029798 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029799, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029799 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_src_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029799 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029799 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029800, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029800 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_src_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029800 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029800 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029801, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029801 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_src_alpha_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029801 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029801 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029802, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029802 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_src_alpha_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029802 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029802 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029803, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029803 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_src_alpha_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029803 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029803 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029804, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029804 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_src_alpha_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029804 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029804 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029805, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029805 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_src_alpha_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029805 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029805 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029806, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029806 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_one_minus_src_alpha_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029806 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029806 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029807, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029807 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src_fu" + "nc_dst_func.subtract_one_minus_src_alpha_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029807 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029807 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029808, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029808 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_one_minus_src_alpha_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029808 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029808 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029809, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029809 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src_fu" + "nc_dst_func.subtract_one_minus_src_alpha_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029809 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029809 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029810, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029810 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_src_alpha_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029810 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029810 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029811, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029811 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb." + "equation_src_func_dst_func.subtract_dst_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029811 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029811 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029812, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029812 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb" + ".equation_src_func_dst_func.subtract_dst_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029812 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029812 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029813, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029813 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_dst_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029813 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029813 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029814, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029814 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_dst_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029814 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029814 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029815, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029815 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_dst_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029815 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029815 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029816, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029816 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_dst_alpha_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029816 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029816 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029817, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029817 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_dst_alpha_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029817 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029817 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029818, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029818 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_dst_alpha_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029818 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029818 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029819, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029819 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.eq" + "uation_src_func_dst_func.subtract_dst_alpha_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029819 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029819 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029820, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029820 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_dst_alpha_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029820 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029820 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029821, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029821 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_dst_alpha_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029821 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029821 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029822, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029822 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_dst_alpha_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029822 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029822 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029823, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029823 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_dst_alpha_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029823 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029823 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029824, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029824 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_s" + "rc_func_dst_func.subtract_dst_alpha_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029824 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029824 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029825, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029825 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_dst_alpha_src_alpha_saturate", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029825 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029825 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029826, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029826 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equat" + "ion_src_func_dst_func.subtract_one_minus_dst_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029826 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029826 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029827, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029827 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equa" + "tion_src_func_dst_func.subtract_one_minus_dst_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029827 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029827 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029828, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029828 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_dst_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029828 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029828 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029829, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029829 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_one_minus_dst_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029829 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029829 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029830, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029830 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equatio" + "n_src_func_dst_func.subtract_one_minus_dst_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30030TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30030TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30030TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30030TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30030TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_029830 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029830 end"; +} -- GitLab