diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_constant_expressionsTestCase12.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_constant_expressionsTestCase12.cpp new file mode 100644 index 0000000000000000000000000000000000000000..ad862ccf817388cd64f69669a7409719d8523e74 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_constant_expressionsTestCase12.cpp @@ -0,0 +1,1426 @@ +/* + * 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 "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001673, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001673 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_clamp_vec4_float_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001673 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001673 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001674, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001674 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressio" + "ns.array_clamp_vec4_float_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001674 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001674 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001675, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001675 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressions" + ".array_clamp_vec4_float_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001675 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001675 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001676, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001676 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressio" + "ns.array_clamp_vec4_float_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001676 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001676 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001677, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001677 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expres" + "sions.array_length_float_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001677 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001677 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001678, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001678 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_length_float_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001678 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001678 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001679, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001679 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressio" + "ns.array_length_float_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001679 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001679 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001680, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001680 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_length_float_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001680 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001680 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001681, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001681 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expres" + "sions.array_length_vec2_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001681 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001681 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001682, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001682 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expres" + "sions.array_length_vec2_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001682 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001682 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001683, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001683 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_length_vec2_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001683 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001683 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001684, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001684 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_length_vec2_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001684 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001684 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001685, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001685 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expres" + "sions.array_length_vec3_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001685 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001685 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001686, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001686 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expres" + "sions.array_length_vec3_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001686 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001686 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001687, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001687 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_length_vec3_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001687 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001687 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001688, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001688 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_length_vec3_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001688 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001688 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001689, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001689 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expres" + "sions.array_length_vec4_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001689 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001689 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001690, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001690 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expres" + "sions.array_length_vec4_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001690 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001690 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001691, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001691 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_length_vec4_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001691 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001691 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001692, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001692 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_length_vec4_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001692 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001692 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001693, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001693 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expre" + "ssions.array_dot_float_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001693 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001693 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001694, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001694 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expre" + "ssions.array_dot_float_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001694 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001694 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001695, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001695 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_dot_float_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001695 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001695 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001696, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001696 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expres" + "sions.array_dot_float_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001696 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001696 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001697, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001697 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expr" + "essions.array_dot_vec2_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001697 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001697 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001698, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001698 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expre" + "ssions.array_dot_vec2_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001698 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001698 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001699, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001699 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_dot_vec2_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001699 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001699 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001700, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001700 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expre" + "ssions.array_dot_vec2_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001700 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001700 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001701, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001701 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expr" + "essions.array_dot_vec3_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001701 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001701 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001702, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001702 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expre" + "ssions.array_dot_vec3_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001702 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001702 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001703, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001703 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_dot_vec3_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001703 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001703 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001704, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001704 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expre" + "ssions.array_dot_vec3_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001704 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001704 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001705, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001705 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expr" + "essions.array_dot_vec4_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001705 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001705 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001706, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001706 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expre" + "ssions.array_dot_vec4_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001706 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001706 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001707, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001707 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_dot_vec4_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001707 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001707 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001708, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001708 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expre" + "ssions.array_dot_vec4_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001708 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001708 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001709, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001709 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_normalize_float_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001709 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001709 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001710, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001710 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_normalize_float_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001710 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001710 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001711, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001711 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expression" + "s.array_normalize_float_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001711 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001711 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001712, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001712 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressio" + "ns.array_normalize_float_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001712 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001712 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001713, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001713 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_normalize_vec2_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001713 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001713 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001714, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001714 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_normalize_vec2_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001714 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001714 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001715, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001715 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expression" + "s.array_normalize_vec2_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001715 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001715 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001716, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001716 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_normalize_vec2_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001716 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001716 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001717, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001717 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_normalize_vec3_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001717 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001717 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001718, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001718 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_normalize_vec3_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001718 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001718 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001719, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001719 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expression" + "s.array_normalize_vec3_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001719 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001719 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001720, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001720 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_normalize_vec3_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001720 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001720 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001721, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001721 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_express" + "ions.array_normalize_vec4_compute", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001721 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001721 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001722, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001722 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_normalize_vec4_geometry", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001722 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001722 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001723, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001723 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expression" + "s.array_normalize_vec4_tess_control", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001723 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001723 end"; +} + +static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001724, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001724 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES31.core.constant_expressi" + "ons.array_normalize_vec4_tess_eval", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001724 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001724 end"; +}