From 373a8d5e91f363a0d44e3bd2d04152ea67508c73 Mon Sep 17 00:00:00 2001 From: chenxun Date: Thu, 7 Jul 2022 11:34:44 +0800 Subject: [PATCH] add depq3 testcase Signed-off-by: chenxun --- ...eqpgles3render_struct_in_arrayTestCase.cpp | 1318 +++++++++++++++++ 1 file changed, 1318 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles3/functional/Deqpgles3render_struct_in_arrayTestCase.cpp diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3render_struct_in_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3render_struct_in_arrayTestCase.cpp new file mode 100644 index 000000000..95d40b127 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3render_struct_in_arrayTestCase.cpp @@ -0,0 +1,1318 @@ +/* + * 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 "../ActsDeqpgles30038TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037255, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037255 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.init" + "ial.render.struct_in_array.float_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037255 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037255 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037256, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037256 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.initi" + "al.render.struct_in_array.float_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037256 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037256 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037257, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037257 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.ini" + "tial.render.struct_in_array.float_vec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037257 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037257 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037258, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037258 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.ini" + "tial.render.struct_in_array.mat4_mat2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037258 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037258 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037259, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037259 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.init" + "ial.render.struct_in_array.mat4_mat2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037259 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037259 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037260, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037260 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.in" + "itial.render.struct_in_array.mat4_mat2_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037260 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037260 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037261, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037261 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.ini" + "tial.render.struct_in_array.int_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037261 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037261 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037262, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037262 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.init" + "ial.render.struct_in_array.int_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037262 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037262 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037263, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037263 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.in" + "itial.render.struct_in_array.int_ivec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037263 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037263 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037264, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037264 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.init" + "ial.render.struct_in_array.uint_uvec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037264 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037264 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037265, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037265 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.initi" + "al.render.struct_in_array.uint_uvec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037265 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037265 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037266, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037266 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.ini" + "tial.render.struct_in_array.uint_uvec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037266 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037266 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037267, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037267 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.init" + "ial.render.struct_in_array.bool_bvec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037267 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037267 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037268, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037268 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.initi" + "al.render.struct_in_array.bool_bvec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037268 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037268 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037269, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037269 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.ini" + "tial.render.struct_in_array.bool_bvec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037269 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037269 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037771, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037771 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.b" + "y_pointer.render.struct_in_array.float_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037771 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037771 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037772, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037772 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by" + "_pointer.render.struct_in_array.float_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037772 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037772 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037773, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037773 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_pointer.render.struct_in_array.float_vec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037773 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037773 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037774, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037774 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_pointer.render.struct_in_array.mat4_mat2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037774 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037774 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037775, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037775 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.b" + "y_pointer.render.struct_in_array.mat4_mat2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037775 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037775 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037776, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037776 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned" + ".by_pointer.render.struct_in_array.mat4_mat2_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037776 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037776 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037777, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037777 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_pointer.render.struct_in_array.int_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037777 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037777 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037778, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037778 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.b" + "y_pointer.render.struct_in_array.int_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037778 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037778 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037779, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037779 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned" + ".by_pointer.render.struct_in_array.int_ivec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037779 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037779 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037780, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037780 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.b" + "y_pointer.render.struct_in_array.uint_uvec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037780 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037780 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037781, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037781 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by" + "_pointer.render.struct_in_array.uint_uvec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037781 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037781 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037782, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037782 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_pointer.render.struct_in_array.uint_uvec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037782 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037782 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037783, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037783 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.b" + "y_pointer.render.struct_in_array.bool_bvec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037783 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037783 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037784, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037784 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by" + "_pointer.render.struct_in_array.bool_bvec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037784 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037784 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037785, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037785 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_pointer.render.struct_in_array.bool_bvec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037785 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037785 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037786, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037786 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by_poi" + "nter.render.struct_in_array.sampler2D_samplerCube_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037786 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037786 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037787, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037787 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by_poin" + "ter.render.struct_in_array.sampler2D_samplerCube_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037787 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037787 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_037788, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_037788 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by_po" + "inter.render.struct_in_array.sampler2D_samplerCube_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_037788 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_037788 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038152, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038152 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_value.render.struct_in_array.float_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038152 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038152 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038153, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038153 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.b" + "y_value.render.struct_in_array.float_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038153 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038153 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038154, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038154 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned" + ".by_value.render.struct_in_array.float_vec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038154 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038154 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038155, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038155 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned" + ".by_value.render.struct_in_array.int_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038155 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038155 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038156, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038156 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_value.render.struct_in_array.int_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038156 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038156 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038157, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038157 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigne" + "d.by_value.render.struct_in_array.int_ivec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038157 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038157 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038158, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038158 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_value.render.struct_in_array.uint_uvec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038158 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038158 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038159, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038159 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.b" + "y_value.render.struct_in_array.uint_uvec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038159 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038159 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038160, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038160 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned" + ".by_value.render.struct_in_array.uint_uvec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038160 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038160 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038161, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038161 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned." + "by_value.render.struct_in_array.bool_bvec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038161 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038161 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038162, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038162 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.b" + "y_value.render.struct_in_array.bool_bvec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038162 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038162 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038163, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038163 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned" + ".by_value.render.struct_in_array.bool_bvec4_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038163 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038163 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038164, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038164 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by_va" + "lue.render.struct_in_array.sampler2D_samplerCube_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038164 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038164 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038165, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038165 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by_val" + "ue.render.struct_in_array.sampler2D_samplerCube_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038165 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038165 end"; +} + +static HWTEST_F(ActsDeqpgles30038TestSuite, TestCase_038166, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_038166 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.uniform_api.value.assigned.by_v" + "alue.render.struct_in_array.sampler2D_samplerCube_both", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30038TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30038TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30038TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30038TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30038TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_038166 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_038166 end"; +} -- GitLab