diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..9d9fb6a2e0703de577d4f8f3cbe495ecc28c64d3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp @@ -0,0 +1,1345 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000728, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000728 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000728 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000728 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000729, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000729 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000729 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000729 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000730, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000730 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000730 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000730 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000731, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000731 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000731 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000731 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000732, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000732 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000732 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000732 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000733, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000733 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_6", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000733 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000733 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000734, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000734 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_7", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000734 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000734 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000735, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000735 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shader" + "s.linkage.varying_type_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000735 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000735 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000736, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000736 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_vec2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000736 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000736 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000737, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000737 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000737 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000737 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000738, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000738 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000738 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000738 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000739, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000739 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_mat2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000739 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000739 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000740, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000740 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_mat3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000740 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000740 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000741, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000741 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_mat4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000741 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000741 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000742, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000742 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.lin" + "kage.varying_differing_precision_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000742 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000742 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000743, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000743 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.lin" + "kage.varying_differing_precision_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000743 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000743 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000744, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000744 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.lin" + "kage.varying_differing_precision_3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000744 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000744 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000745, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000745 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders." + "linkage.varying_type_mismatch_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000745 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000745 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000746, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000746 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.l" + "inkage.invalid_varying_type_int", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000746 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000746 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000747, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000747 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.l" + "inkage.invalid_varying_type_bool", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000747 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000747 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000748, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000748 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.li" + "nkage.invalid_varying_type_struct", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000748 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000748 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000749, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000749 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shader" + "s.linkage.varying_readback_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000749 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000749 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000750, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000750 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shader" + "s.linkage.varying_writeback_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000750 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000750 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000751, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000751 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shad" + "ers.linkage.uniform_struct", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000751 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000751 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000752, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000752 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.li" + "nkage.uniform_struct_vertex_only", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000752 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000752 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000753, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000753 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.lin" + "kage.uniform_struct_fragment_only", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000753 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000753 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000754, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000754 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders." + "linkage.uniform_struct_partial", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000754 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000754 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000755, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000755 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shader" + "s.linkage.uniform_struct_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000755 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000755 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000756, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000756 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.link" + "age.uniform_struct_vertex_only_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000756 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000756 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000757, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000757 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_fragment_only_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000757 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000757 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000758, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000758 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.li" + "nkage.uniform_struct_partial_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000758 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000758 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000759, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000759 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.l" + "inkage.uniform_struct_vec4_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000759 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000759 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000760, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000760 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage" + ".uniform_struct_vertex_only_vec4_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000760 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000760 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000761, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000761 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage." + "uniform_struct_fragment_only_vec4_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000761 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000761 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000762, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000762 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_vec4_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000762 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000762 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000763, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000763 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.l" + "inkage.uniform_struct_vec4_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000763 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000763 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000764, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000764 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage" + ".uniform_struct_vertex_only_vec4_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000764 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000764 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000765, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000765 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage." + "uniform_struct_fragment_only_vec4_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000765 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000765 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000766, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000766 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_vec4_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000766 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000766 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000767, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000767 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkag" + "e.uniform_struct_partial_vec4_struct", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000767 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000767 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000768, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000768 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage." + "uniform_struct_partial_vec4_vec3_struct", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000768 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000768 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000769, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000769 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_vec2_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000769 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000769 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000770, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000770 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.link" + "age.uniform_struct_partial_vec2_int", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000770 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000770 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000771, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000771 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_int_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000771 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000771 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000772, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000772 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_bvec2_vec2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000772 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000772 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000773, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000773 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_ivec2_vec2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000773 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000773 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000774, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000774 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkag" + "e.uniform_struct_partial_ivec2_ivec2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000774 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000774 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000775, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000775 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.li" + "nkage.uniform_struct_use_case_rip", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000775 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000775 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000776, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000776 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage." + "uniform_struct_use_case_rip_sans_highp", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000776 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000776 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase1.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..65e7f02c063c901dcda44bfaaa3c14586797aee6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase1.cpp @@ -0,0 +1,967 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013182, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013182 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte2_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013182 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013182 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013183, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013183 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte3_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013183 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013183 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013184, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013184 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte3_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013184 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013184 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013185, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013185 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte4_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013185 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013185 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013186, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013186 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte4_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013186 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013186 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013187, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013187 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte2_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013187 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013187 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013188, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013188 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte2_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013188 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013188 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013189, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013189 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte3_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013189 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013189 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013190, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013190 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte3_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013190 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013190 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013191, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013191 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte4_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013191 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013191 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013192, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013192 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte4_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013192 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013192 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013193, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013193 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte2_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013193 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013193 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013194, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013194 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte2_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013194 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013194 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013195, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013195 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte3_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013195 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013195 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013196, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013196 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte3_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013196 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013196 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013197, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013197 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte4_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013197 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013197 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013198, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013198 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte4_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013198 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013198 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013199, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013199 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed2_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013199 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013199 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013200, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013200 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed2_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013200 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013200 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013201, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013201 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed3_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013201 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013201 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013202, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013202 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed3_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013202 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013202 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013203, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013203 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed4_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013203 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013203 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013204, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013204 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed4_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013204 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013204 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013205, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013205 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed2_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013205 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013205 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013206, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013206 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed2_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013206 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013206 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013207, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013207 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed3_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013207 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013207 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013208, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013208 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed3_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013208 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013208 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013209, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013209 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed4_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013209 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013209 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013210, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013210 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed4_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013210 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013210 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013211, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013211 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed2_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013211 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013211 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013212, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013212 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed2_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013212 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013212 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013213, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013213 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed3_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013213 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013213 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013214, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013214 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed3_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013214 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013214 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013215, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013215 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed4_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013215 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013215 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013216, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013216 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed4_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013216 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013216 end"; +}