diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase1.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..3ee98e4db53abf2c0dd6014366af5011a0b66100 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase1.cpp @@ -0,0 +1,1777 @@ +/* + * 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 "../ActsDeqpgles20009TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008103, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008103 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.max_vec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008103 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008103 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008104, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008104 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.max_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008104 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008104 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008105, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008105 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.max_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008105 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008105 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008106, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008106 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.max_vec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008106 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008106 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008107, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008107 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.max_vec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008107 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008107 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008108, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008108 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.max_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008108 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008108 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008109, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008109 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.max_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008109 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008109 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008110, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008110 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.max_vec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008110 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008110 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008111, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008111 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.max_vec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008111 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008111 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008112, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008112 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.clamp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008112 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008112 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008113, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008113 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.clamp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008113 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008113 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008114, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008114 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.clamp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008114 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008114 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008115, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008115 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.clamp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008115 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008115 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008116, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008116 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.clamp_vec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008116 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008116 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008117, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008117 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.clamp_vec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008117 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008117 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008118, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008118 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.clamp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008118 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008118 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008119, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008119 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.clamp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008119 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008119 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008120, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008120 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.clamp_vec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008120 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008120 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008121, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008121 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.clamp_vec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008121 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008121 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008122, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008122 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.clamp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008122 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008122 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008123, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008123 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.clamp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008123 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008123 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008124, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008124 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.clamp_vec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008124 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008124 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008125, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008125 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.clamp_vec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008125 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008125 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008126, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008126 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.mix_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008126 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008126 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008127, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008127 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.mix_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008127 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008127 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008128, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008128 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.mix_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008128 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008128 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008129, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008129 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.mix_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008129 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008129 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008130, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008130 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.mix_vec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008130 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008130 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008131, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008131 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.mix_vec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008131 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008131 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008132, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008132 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.mix_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008132 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008132 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008133, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008133 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.mix_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008133 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008133 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008134, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008134 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.mix_vec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008134 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008134 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008135, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008135 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.mix_vec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008135 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008135 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008136, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008136 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.mix_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008136 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008136 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008137, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008137 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.mix_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008137 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008137 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008138, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008138 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.mix_vec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008138 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008138 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008139, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008139 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.mix_vec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008139 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008139 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008140, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008140 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.step_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008140 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008140 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008141, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008141 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.step_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008141 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008141 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008142, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008142 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.step_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008142 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008142 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008143, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008143 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.step_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008143 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008143 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008144, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008144 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.step_vec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008144 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008144 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008145, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008145 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.step_vec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008145 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008145 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008146, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008146 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.step_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008146 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008146 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008147, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008147 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.step_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008147 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008147 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008148, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008148 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.step_vec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008148 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008148 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008149, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008149 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.step_vec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008149 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008149 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008150, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008150 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.step_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008150 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008150 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008151, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008151 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.step_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008151 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008151 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008152, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008152 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.step_vec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008152 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008152 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008153, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008153 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.step_vec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008153 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008153 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008154, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008154 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.smoothstep_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008154 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008154 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008155, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008155 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.smoothstep_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008155 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008155 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008156, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008156 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.smoothstep_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008156 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008156 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008157, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008157 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.smoothstep_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008157 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008157 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008158, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008158 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions.b" + "uiltin_functions.common.smoothstep_vec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008158 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008158 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008159, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008159 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions.bu" + "iltin_functions.common.smoothstep_vec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008159 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008159 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008160, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008160 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.smoothstep_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008160 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008160 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008161, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008161 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.smoothstep_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008161 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008161 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008162, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008162 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions.b" + "uiltin_functions.common.smoothstep_vec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008162 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008162 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008163, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008163 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions.bu" + "iltin_functions.common.smoothstep_vec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008163 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008163 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008164, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008164 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.smoothstep_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008164 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008164 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008165, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008165 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions" + ".builtin_functions.common.smoothstep_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008165 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008165 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008166, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008166 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions.b" + "uiltin_functions.common.smoothstep_vec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008166 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008166 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008167, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008167 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressions.bu" + "iltin_functions.common.smoothstep_vec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_008167 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008167 end"; +}