From fec03d233057f9abf9772191b419766b838937c2 Mon Sep 17 00:00:00 2001 From: wangshi Date: Thu, 7 Jul 2022 10:06:51 +0800 Subject: [PATCH] add depq3 testcase Signed-off-by: wangshi --- ...gb_equation_src_func_dst_funcTestCase5.cpp | 1993 +++++++++++++++++ 1 file changed, 1993 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles3/functional/Deqpgles3fbo_srgb_equation_src_func_dst_funcTestCase5.cpp diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3fbo_srgb_equation_src_func_dst_funcTestCase5.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3fbo_srgb_equation_src_func_dst_funcTestCase5.cpp new file mode 100644 index 000000000..4b7e06512 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3fbo_srgb_equation_src_func_dst_funcTestCase5.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_029831, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029831 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_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_029831 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029831 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029832, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029832 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_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_029832 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029832 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029833, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029833 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_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_029833 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029833 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029834, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029834 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_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_029834 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029834 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029835, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029835 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_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_029835 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029835 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029836, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029836 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_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_029836 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029836 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029837, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029837 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_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_029837 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029837 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029838, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029838 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_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_029838 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029838 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029839, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029839 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_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_029839 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029839 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029840, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029840 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_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_029840 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029840 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029841, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029841 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_constant_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_029841 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029841 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029842, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029842 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_constant_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_029842 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029842 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029843, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029843 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_constant_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_029843 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029843 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029844, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029844 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_constant_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_029844 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029844 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029845, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029845 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_constant_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_029845 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029845 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029846, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029846 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_constant_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_029846 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029846 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029847, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029847 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_constant_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_029847 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029847 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029848, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029848 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_constant_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_029848 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029848 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029849, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029849 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_constant_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_029849 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029849 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029850, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029850 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_constant_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_029850 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029850 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029851, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029851 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_constant_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_029851 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029851 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029852, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029852 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_constant_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_029852 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029852 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029853, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029853 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_constant_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_029853 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029853 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029854, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029854 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_constant_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_029854 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029854 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029855, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029855 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_" + "src_func_dst_func.subtract_constant_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_029855 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029855 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029856, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029856 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_constant_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_029856 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029856 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029857, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029857 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_constant_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_029857 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029857 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029858, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029858 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_constant_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_029858 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029858 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029859, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029859 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_constant_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_029859 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029859 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029860, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029860 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_constant_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_029860 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029860 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029861, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029861 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_constant_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_029861 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029861 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029862, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029862 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_constant_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_029862 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029862 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029863, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029863 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_constant_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_029863 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029863 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029864, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029864 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_constant_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_029864 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029864 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029865, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029865 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_constant_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_029865 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029865 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029866, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029866 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_constant_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_029866 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029866 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029867, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029867 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_constant_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_029867 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029867 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029868, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029868 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_constant_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_029868 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029868 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029869, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029869 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_constant_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_029869 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029869 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029870, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029870 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src_f" + "unc_dst_func.subtract_one_minus_constant_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_029870 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029870 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029871, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029871 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_constant_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_029871 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029871 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029872, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029872 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_constant_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_029872 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029872 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029873, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029873 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_constant_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_029873 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029873 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029874, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029874 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_constant_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_029874 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029874 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029875, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029875 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_constant_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_029875 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029875 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029876, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029876 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_constant_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_029876 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029876 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029877, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029877 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_constant_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_029877 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029877 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029878, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029878 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_constant_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_029878 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029878 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029879, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029879 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_constant_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_029879 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029879 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029880, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029880 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_constant_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_029880 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029880 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029881, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029881 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_constant_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_029881 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029881 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029882, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029882 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_constant_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_029882 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029882 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029883, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029883 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_constant_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_029883 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029883 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029884, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029884 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src" + "_func_dst_func.subtract_constant_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_029884 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029884 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029885, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029885 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_" + "src_func_dst_func.subtract_constant_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_029885 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029885 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029886, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029886 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_constant_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_029886 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029886 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029887, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029887 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_constant_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_029887 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029887 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029888, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029888 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_constant_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_029888 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029888 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029889, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029889 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_constant_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_029889 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029889 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029890, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029890 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_constant_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_029890 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029890 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029891, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029891 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_constant_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_029891 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029891 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029892, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029892 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_constant_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_029892 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029892 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029893, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029893 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_constant_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_029893 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029893 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029894, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029894 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_constant_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_029894 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029894 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029895, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029895 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_constant_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_029895 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029895 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029896, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029896 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_constant_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_029896 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029896 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029897, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029897 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_constant_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_029897 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029897 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029898, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029898 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_constant_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_029898 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029898 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029899, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029899 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_constant_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_029899 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029899 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029900, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029900 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.fragment_ops.blend.fbo_srgb.equation_src_f" + "unc_dst_func.subtract_one_minus_constant_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_029900 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029900 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029901, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029901 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_src_alpha_saturate_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_029901 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029901 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029902, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029902 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_src_alpha_saturate_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_029902 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029902 end"; +} + +static HWTEST_F(ActsDeqpgles30030TestSuite, TestCase_029903, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_029903 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_saturate_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_029903 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_029903 end"; +} -- GitLab