diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3invalid_implicit_conversions_invalid_implicit_conversionsTestCase.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3invalid_implicit_conversions_invalid_implicit_conversionsTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..3e456bb5e41bdf943d99aed941990fcad25aa052 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3invalid_implicit_conversions_invalid_implicit_conversionsTestCase.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 "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30006TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005158, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005158 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_float_int_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005158 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005158 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005159, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005159 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_int_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005159 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005159 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005160, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005160 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversio" + "ns.invalid_implicit_conversions.add_float_int_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005160 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005160 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005161, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005161 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_float_int_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005161 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005161 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005162, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005162 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_ivec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005162 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005162 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005163, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005163 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions." + "invalid_implicit_conversions.add_float_ivec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005163 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005163 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005164, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005164 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_ivec2_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005164 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005164 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005165, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005165 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions." + "invalid_implicit_conversions.add_float_ivec2_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005165 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005165 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005166, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005166 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_ivec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005166 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005166 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005167, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005167 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions." + "invalid_implicit_conversions.add_float_ivec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005167 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005167 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005168, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005168 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_ivec3_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005168 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005168 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005169, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005169 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions." + "invalid_implicit_conversions.add_float_ivec3_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005169 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005169 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005170, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005170 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_ivec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005170 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005170 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005171, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005171 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions." + "invalid_implicit_conversions.add_float_ivec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005171 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005171 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005172, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005172 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_ivec4_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005172 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005172 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005173, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005173 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions." + "invalid_implicit_conversions.add_float_ivec4_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005173 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005173 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005174, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005174 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversio" + "ns.invalid_implicit_conversions.add_vec2_int_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005174 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005174 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005175, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005175 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec2_int_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005175 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005175 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005176, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005176 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversi" + "ons.invalid_implicit_conversions.add_vec2_int_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005176 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005176 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005177, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005177 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversio" + "ns.invalid_implicit_conversions.add_vec2_int_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005177 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005177 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005178, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005178 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec2_ivec2_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005178 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005178 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005179, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005179 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec2_ivec2_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005179 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005179 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005180, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005180 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec2_ivec2_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005180 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005180 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005181, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005181 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec2_ivec2_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005181 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005181 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005182, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005182 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec2_ivec3_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005182 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005182 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005183, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005183 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec2_ivec3_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005183 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005183 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005184, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005184 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec2_ivec3_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005184 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005184 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005185, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005185 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec2_ivec3_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005185 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005185 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005186, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005186 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec2_ivec4_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005186 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005186 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005187, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005187 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec2_ivec4_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005187 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005187 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005188, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005188 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec2_ivec4_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005188 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005188 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005189, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005189 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec2_ivec4_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005189 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005189 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005190, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005190 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversio" + "ns.invalid_implicit_conversions.add_vec3_int_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005190 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005190 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005191, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005191 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec3_int_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005191 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005191 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005192, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005192 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversi" + "ons.invalid_implicit_conversions.add_vec3_int_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005192 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005192 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005193, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005193 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversio" + "ns.invalid_implicit_conversions.add_vec3_int_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005193 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005193 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005194, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005194 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec3_ivec2_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005194 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005194 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005195, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005195 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec3_ivec2_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005195 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005195 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005196, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005196 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec3_ivec2_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005196 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005196 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005197, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005197 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec3_ivec2_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005197 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005197 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005198, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005198 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec3_ivec3_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005198 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005198 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005199, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005199 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec3_ivec3_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005199 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005199 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005200, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005200 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec3_ivec3_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005200 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005200 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005201, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005201 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec3_ivec3_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005201 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005201 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005202, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005202 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec3_ivec4_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005202 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005202 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005203, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005203 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec3_ivec4_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005203 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005203 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005204, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005204 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec3_ivec4_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005204 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005204 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005205, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005205 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec3_ivec4_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005205 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005205 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005206, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005206 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversio" + "ns.invalid_implicit_conversions.add_vec4_int_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005206 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005206 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005207, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005207 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec4_int_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005207 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005207 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005208, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005208 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversi" + "ons.invalid_implicit_conversions.add_vec4_int_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005208 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005208 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005209, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005209 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversio" + "ns.invalid_implicit_conversions.add_vec4_int_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005209 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005209 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005210, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005210 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec4_ivec2_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005210 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005210 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005211, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005211 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec4_ivec2_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005211 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005211 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005212, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005212 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec4_ivec2_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005212 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005212 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005213, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005213 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec4_ivec2_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005213 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005213 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005214, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005214 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec4_ivec3_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005214 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005214 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005215, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005215 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec4_ivec3_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005215 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005215 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005216, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005216 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec4_ivec3_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005216 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005216 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005217, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005217 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec4_ivec3_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005217 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005217 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005218, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005218 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec4_ivec4_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005218 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005218 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005219, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005219 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec4_ivec4_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005219 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005219 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005220, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005220 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_vec4_ivec4_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005220 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005220 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005221, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005221 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_vec4_ivec4_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005221 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005221 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005222, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005222 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_float_uint_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005222 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005222 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005223, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005223 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_uint_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005223 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005223 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005224, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005224 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversion" + "s.invalid_implicit_conversions.add_float_uint_uint_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005224 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005224 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005225, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005225 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_uint_uint_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005225 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005225 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005226, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005226 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_uvec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005226 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005226 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005227, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005227 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions." + "invalid_implicit_conversions.add_float_uvec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005227 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005227 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005228, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005228 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_uvec2_uvec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005228 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005228 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005229, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005229 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions." + "invalid_implicit_conversions.add_float_uvec2_uvec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005229 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005229 end"; +} + +static HWTEST_F(ActsDeqpgles30006TestSuite, TestCase_005230, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005230 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.invalid_implicit_conversions" + ".invalid_implicit_conversions.add_float_uvec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30006TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30006TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30006TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30006TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30006TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005230 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005230 end"; +}