diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_dstTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_dstTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..0a5679a9bf15ce8278380a73aa9dafb16de7120a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_dstTestCase.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 "../ActsDeqpgles20013TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012007, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012007 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.bl" + "end.rgb_func_alpha_func.dst.zero_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012007 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012007 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012008, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012008 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.b" + "lend.rgb_func_alpha_func.dst.zero_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012008 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012008 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012009, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012009 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.zero_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012009 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012009 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012010, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012010 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.zero_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012010 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012010 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012011, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012011 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.zero_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012011 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012011 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012012, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012012 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.zero_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012012 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012012 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012013, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012013 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.zero_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012013 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012013 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012014, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012014 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.zero_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012014 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012014 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012015, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012015 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.zero_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012015 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012015 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012016, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012016 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.zero_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012016 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012016 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012017, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012017 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.zero_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012017 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012017 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012018, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012018 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.zero_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012018 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012018 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012019, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012019 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.zero_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012019 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012019 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012020, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012020 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.zero_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012020 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012020 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012021, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012021 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.b" + "lend.rgb_func_alpha_func.dst.one_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012021 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012021 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012022, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012022 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.b" + "lend.rgb_func_alpha_func.dst.one_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012022 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012022 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012023, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012023 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.one_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012023 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012023 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012024, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012024 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.one_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012024 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012024 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012025, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012025 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.one_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012025 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012025 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012026, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012026 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.one_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012026 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012026 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012027, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012027 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.one_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012027 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012027 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012028, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012028 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.one_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012028 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012028 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012029, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012029 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.one_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012029 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012029 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012030, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012030 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.one_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012030 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012030 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012031, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012031 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend." + "rgb_func_alpha_func.dst.one_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012031 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012031 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012032, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012032 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f" + "unc_alpha_func.dst.one_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012032 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012032 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012033, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012033 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend." + "rgb_func_alpha_func.dst.one_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012033 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012033 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012034, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012034 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f" + "unc_alpha_func.dst.one_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012034 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012034 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012035, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012035 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.src_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012035 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012035 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012036, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012036 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.src_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012036 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012036 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012037, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012037 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.src_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012037 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012037 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012038, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012038 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.src_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012038 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012038 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012039, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012039 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.src_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012039 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012039 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012040, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012040 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.src_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012040 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012040 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012041, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012041 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.src_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012041 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012041 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012042, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012042 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.src_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012042 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012042 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012043, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012043 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.src_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012043 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012043 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012044, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012044 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.src_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012044 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012044 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012045, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012045 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.src_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012045 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012045 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012046, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012046 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func" + "_alpha_func.dst.src_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012046 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012046 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012047, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012047 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.src_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012047 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012047 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012048, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012048 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func" + "_alpha_func.dst.src_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012048 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012048 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012049, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012049 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.one_minus_src_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012049 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012049 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012050, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012050 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.one_minus_src_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012050 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012050 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012051, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012051 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.one_minus_src_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012051 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012051 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012052, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012052 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al" + "pha_func.dst.one_minus_src_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012052 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012052 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012053, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012053 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.one_minus_src_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012053 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012053 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012054, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012054 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al" + "pha_func.dst.one_minus_src_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012054 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012054 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012055, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012055 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.one_minus_src_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012055 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012055 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012056, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012056 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al" + "pha_func.dst.one_minus_src_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012056 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012056 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012057, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012057 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.one_minus_src_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012057 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012057 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012058, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012058 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al" + "pha_func.dst.one_minus_src_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012058 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012058 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012059, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012059 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func" + "_alpha_func.dst.one_minus_src_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012059 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012059 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012060, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012060 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph" + "a_func.dst.one_minus_src_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012060 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012060 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012061, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012061 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func" + "_alpha_func.dst.one_minus_src_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012061 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012061 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012062, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012062 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph" + "a_func.dst.one_minus_src_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012062 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012062 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012063, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012063 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.dst_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012063 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012063 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012064, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012064 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blen" + "d.rgb_func_alpha_func.dst.dst_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012064 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012064 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012065, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012065 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.dst_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012065 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012065 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012066, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012066 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.dst_color_one_minus_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012066 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012066 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012067, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012067 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.dst_color_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012067 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012067 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012068, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012068 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.dst_color_one_minus_dst_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012068 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012068 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012069, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012069 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.dst_color_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012069 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012069 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012070, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012070 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.dst_color_one_minus_src_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012070 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012070 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012071, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012071 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.r" + "gb_func_alpha_func.dst.dst_color_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012071 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012071 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012072, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012072 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.dst_color_one_minus_dst_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012072 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012072 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012073, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012073 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.dst_color_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012073 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012073 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012074, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012074 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func" + "_alpha_func.dst.dst_color_one_minus_constant_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012074 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012074 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012075, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012075 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.dst_color_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012075 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012075 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012076, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012076 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func" + "_alpha_func.dst.dst_color_one_minus_constant_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012076 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012076 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012077, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012077 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.one_minus_dst_color_zero", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012077 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012077 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012078, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012078 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb" + "_func_alpha_func.dst.one_minus_dst_color_one", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012078 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012078 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012079, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012079 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu" + "nc_alpha_func.dst.one_minus_dst_color_src_color", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012079 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012079 end"; +}