diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..b1d4e621804f6b88cd64eb395db4b41eee7bd471 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase.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 "../ActsDeqpgles20009TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008030, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008030 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.abs_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_008030 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008030 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008031, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008031 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.abs_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_008031 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008031 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008032, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008032 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.abs_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_008032 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008032 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008033, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008033 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.abs_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_008033 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008033 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008034, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008034 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.abs_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_008034 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008034 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008035, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008035 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.abs_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_008035 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008035 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008036, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008036 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.abs_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_008036 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008036 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008037, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008037 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.abs_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_008037 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008037 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008038, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008038 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.sign_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_008038 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008038 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008039, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008039 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.sign_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_008039 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008039 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008040, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008040 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.sign_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_008040 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008040 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008041, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008041 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.sign_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_008041 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008041 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008042, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008042 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.sign_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_008042 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008042 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008043, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008043 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.sign_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_008043 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008043 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008044, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008044 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.sign_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_008044 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008044 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008045, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008045 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.sign_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_008045 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008045 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008046, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008046 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.floor_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_008046 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008046 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008047, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008047 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.floor_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_008047 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008047 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008048, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008048 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.floor_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_008048 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008048 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008049, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008049 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.floor_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_008049 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008049 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008050, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008050 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.floor_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_008050 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008050 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008051, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008051 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.floor_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_008051 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008051 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008052, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008052 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.floor_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_008052 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008052 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008053, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008053 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.floor_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_008053 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008053 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008054, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008054 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.ceil_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_008054 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008054 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008055, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008055 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.ceil_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_008055 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008055 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008056, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008056 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.ceil_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_008056 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008056 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008057, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008057 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.ceil_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_008057 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008057 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008058, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008058 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.ceil_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_008058 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008058 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008059, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008059 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.ceil_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_008059 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008059 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008060, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008060 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.ceil_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_008060 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008060 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008061, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008061 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.ceil_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_008061 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008061 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008062, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008062 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.fract_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_008062 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008062 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008063, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008063 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.fract_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_008063 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008063 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008064, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008064 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.fract_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_008064 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008064 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008065, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008065 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.fract_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_008065 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008065 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008066, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008066 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.fract_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_008066 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008066 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008067, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008067 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.fract_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_008067 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008067 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008068, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008068 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.fract_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_008068 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008068 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008069, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008069 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.fract_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_008069 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008069 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008070, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008070 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.mod_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_008070 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008070 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008071, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008071 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.mod_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_008071 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008071 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008072, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008072 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.mod_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_008072 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008072 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008073, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008073 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.mod_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_008073 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008073 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008074, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008074 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.mod_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_008074 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008074 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008075, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008075 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.mod_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_008075 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008075 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008076, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008076 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.mod_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_008076 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008076 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008077, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008077 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.mod_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_008077 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008077 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008078, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008078 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.mod_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_008078 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008078 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008079, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008079 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.mod_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_008079 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008079 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008080, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008080 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.mod_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_008080 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008080 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008081, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008081 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.mod_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_008081 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008081 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008082, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008082 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.mod_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_008082 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008082 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008083, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008083 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.mod_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_008083 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008083 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008084, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008084 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.min_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_008084 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008084 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008085, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008085 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.min_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_008085 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008085 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008086, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008086 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.min_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_008086 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008086 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008087, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008087 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.min_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_008087 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008087 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008088, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008088 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.min_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_008088 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008088 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008089, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008089 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.min_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_008089 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008089 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008090, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008090 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.min_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_008090 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008090 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008091, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008091 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.min_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_008091 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008091 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008092, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008092 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.min_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_008092 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008092 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008093, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008093 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.min_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_008093 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008093 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008094, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008094 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.min_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_008094 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008094 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008095, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008095 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.min_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_008095 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008095 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008096, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008096 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.min_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_008096 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008096 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008097, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008097 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expression" + "s.builtin_functions.common.min_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_008097 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008097 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008098, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008098 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.max_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_008098 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008098 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008099, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008099 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressi" + "ons.builtin_functions.common.max_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_008099 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008099 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008100, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008100 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expres" + "sions.builtin_functions.common.max_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_008100 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008100 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008101, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008101 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_express" + "ions.builtin_functions.common.max_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_008101 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008101 end"; +} + +static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008102, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_008102 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.constant_expressio" + "ns.builtin_functions.common.max_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_008102 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_008102 end"; +}