From c21f05bee0f13b72930d89910b05183752466f57 Mon Sep 17 00:00:00 2001 From: bayanxing Date: Thu, 30 Jun 2022 09:36:31 +0800 Subject: [PATCH] add depq2 testcase Signed-off-by: bayanxing --- ...nd_equation_src_func_dst_funcTestCase6.cpp | 1993 +++++++++++++++++ 1 file changed, 1993 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_equation_src_func_dst_funcTestCase6.cpp diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_equation_src_func_dst_funcTestCase6.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_equation_src_func_dst_funcTestCase6.cpp new file mode 100644 index 000000000..7df1baf8a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_equation_src_func_dst_funcTestCase6.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 "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011590, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011590 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_one_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011590 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011590 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011591, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011591 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_one_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011591 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011591 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011592, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011592 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_one_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011592 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011592 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011593, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011593 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_one_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011593 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011593 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011594, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011594 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_one_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011594 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011594 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011595, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011595 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_one_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011595 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011595 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011596, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011596 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_s" + "rc_func_dst_func.reverse_subtract_one_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011596 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011596 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011597, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011597 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu" + "nc_dst_func.reverse_subtract_one_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011597 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011597 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011598, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011598 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_s" + "rc_func_dst_func.reverse_subtract_one_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011598 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011598 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011599, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011599 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu" + "nc_dst_func.reverse_subtract_one_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011599 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011599 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011600, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011600 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_src_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011600 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011600 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011601, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011601 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_src_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011601 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011601 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011602, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011602 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_src_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011602 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011602 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011603, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011603 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_src_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011603 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011603 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011604, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011604 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_src_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011604 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011604 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011605, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011605 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_src_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011605 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011605 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011606, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011606 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_src_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011606 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011606 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011607, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011607 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_src_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011607 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011607 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011608, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011608 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_src_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011608 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011608 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011609, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011609 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_src_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011609 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011609 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011610, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011610 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_src_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011610 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011610 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011611, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011611 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_" + "dst_func.reverse_subtract_src_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011611 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011611 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011612, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011612 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_src_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011612 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011612 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011613, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011613 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_" + "dst_func.reverse_subtract_src_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011613 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011613 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011614, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011614 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_one_minus_src_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011614 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011614 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011615, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011615 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_one_minus_src_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011615 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011615 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011616, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011616 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_one_minus_src_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011616 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011616 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011617, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011617 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst" + "_func.reverse_subtract_one_minus_src_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011617 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011617 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011618, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011618 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_one_minus_src_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011618 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011618 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011619, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011619 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst" + "_func.reverse_subtract_one_minus_src_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011619 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011619 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011620, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011620 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_one_minus_src_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011620 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011620 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011621, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011621 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst" + "_func.reverse_subtract_one_minus_src_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011621 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011621 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011622, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011622 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_one_minus_src_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011622 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011622 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011623, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011623 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst" + "_func.reverse_subtract_one_minus_src_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011623 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011623 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011624, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011624 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_" + "dst_func.reverse_subtract_one_minus_src_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011624 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011624 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011625, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011625 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f" + "unc.reverse_subtract_one_minus_src_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011625 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011625 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011626, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011626 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_" + "dst_func.reverse_subtract_one_minus_src_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011626 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011626 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011627, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011627 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f" + "unc.reverse_subtract_one_minus_src_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011627 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011627 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011628, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011628 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_dst_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011628 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011628 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011629, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011629 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_dst_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011629 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011629 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011630, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011630 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_dst_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011630 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011630 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011631, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011631 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_dst_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011631 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011631 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011632, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011632 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_dst_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011632 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011632 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011633, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011633 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_dst_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011633 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011633 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011634, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011634 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_dst_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011634 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011634 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011635, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011635 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_dst_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011635 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011635 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011636, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011636 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_dst_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011636 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011636 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011637, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011637 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_dst_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011637 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011637 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011638, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011638 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_dst_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011638 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011638 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011639, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011639 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_" + "dst_func.reverse_subtract_dst_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011639 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011639 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011640, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011640 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_dst_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011640 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011640 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011641, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011641 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_" + "dst_func.reverse_subtract_dst_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011641 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011641 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011642, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011642 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_one_minus_dst_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011642 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011642 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011643, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011643 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_" + "func_dst_func.reverse_subtract_one_minus_dst_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011643 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011643 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011644, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011644 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_one_minus_dst_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011644 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011644 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011645, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011645 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst" + "_func.reverse_subtract_one_minus_dst_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011645 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011645 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011646, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011646 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_one_minus_dst_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011646 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011646 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011647, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011647 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst" + "_func.reverse_subtract_one_minus_dst_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011647 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011647 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011648, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011648 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_one_minus_dst_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011648 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011648 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011649, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011649 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst" + "_func.reverse_subtract_one_minus_dst_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011649 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011649 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011650, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011650 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_one_minus_dst_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011650 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011650 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011651, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011651 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst" + "_func.reverse_subtract_one_minus_dst_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011651 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011651 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011652, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011652 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_" + "dst_func.reverse_subtract_one_minus_dst_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011652 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011652 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011653, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011653 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f" + "unc.reverse_subtract_one_minus_dst_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011653 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011653 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011654, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011654 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_" + "dst_func.reverse_subtract_one_minus_dst_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011654 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011654 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011655, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011655 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f" + "unc.reverse_subtract_one_minus_dst_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011655 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011655 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011656, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011656 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_src_alpha_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011656 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011656 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011657, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011657 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation" + "_src_func_dst_func.reverse_subtract_src_alpha_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011657 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011657 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011658, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011658 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_src_alpha_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011658 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011658 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011659, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011659 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_src_alpha_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011659 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011659 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011660, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011660 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_src_alpha_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011660 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011660 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011661, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011661 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun" + "c_dst_func.reverse_subtract_src_alpha_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011661 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011661 end"; +} + +static HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011662, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_011662 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr" + "c_func_dst_func.reverse_subtract_src_alpha_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20012TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20012TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20012TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20012TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20012TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_011662 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_011662 end"; +} -- GitLab