/* * 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 "../ActsDeqpgles20015TestSuite.h" using namespace std; using namespace testing::ext; using namespace OHOS; static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014384, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014384 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.in" "itial.render.basic_struct.float_vec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014384 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014384 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014385, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014385 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.ini" "tial.render.basic_struct.float_vec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014385 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014385 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014386, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014386 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.i" "nitial.render.basic_struct.float_vec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014386 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014386 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014387, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014387 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.in" "itial.render.basic_struct.mat4_mat2_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014387 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014387 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014388, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014388 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.ini" "tial.render.basic_struct.mat4_mat2_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014388 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014388 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014389, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014389 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.i" "nitial.render.basic_struct.mat4_mat2_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014389 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014389 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014390, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014390 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.in" "itial.render.basic_struct.int_ivec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014390 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014390 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014391, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014391 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.ini" "tial.render.basic_struct.int_ivec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014391 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014391 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014392, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014392 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.i" "nitial.render.basic_struct.int_ivec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014392 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014392 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014393, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014393 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.in" "itial.render.basic_struct.bool_bvec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014393 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014393 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014394, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014394 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.ini" "tial.render.basic_struct.bool_bvec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014394 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014394 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014395, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014395 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.i" "nitial.render.basic_struct.bool_bvec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014395 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014395 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014704, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014704 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned" ".by_pointer.render.basic_struct.float_vec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014704 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014704 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014705, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014705 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned." "by_pointer.render.basic_struct.float_vec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014705 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014705 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014706, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014706 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigne" "d.by_pointer.render.basic_struct.float_vec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014706 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014706 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014707, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014707 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned" ".by_pointer.render.basic_struct.mat4_mat2_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014707 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014707 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014708, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014708 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned." "by_pointer.render.basic_struct.mat4_mat2_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014708 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014708 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014709, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014709 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigne" "d.by_pointer.render.basic_struct.mat4_mat2_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014709 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014709 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014710, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014710 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned" ".by_pointer.render.basic_struct.int_ivec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014710 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014710 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014711, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014711 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned." "by_pointer.render.basic_struct.int_ivec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014711 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014711 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014712, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014712 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigne" "d.by_pointer.render.basic_struct.int_ivec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014712 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014712 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014713, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014713 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned" ".by_pointer.render.basic_struct.bool_bvec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014713 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014713 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014714, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014714 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned." "by_pointer.render.basic_struct.bool_bvec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014714 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014714 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014715, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014715 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigne" "d.by_pointer.render.basic_struct.bool_bvec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014715 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014715 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014716, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014716 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned.by_po" "inter.render.basic_struct.sampler2D_samplerCube_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014716 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014716 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014717, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014717 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi" "nter.render.basic_struct.sampler2D_samplerCube_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014717 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014717 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014718, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014718 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned.by_p" "ointer.render.basic_struct.sampler2D_samplerCube_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014718 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014718 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014996, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014996 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigne" "d.by_value.render.basic_struct.float_vec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014996 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014996 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014997, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014997 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned" ".by_value.render.basic_struct.float_vec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014997 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014997 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014998, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014998 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assign" "ed.by_value.render.basic_struct.float_vec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014998 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014998 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014999, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_014999 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigne" "d.by_value.render.basic_struct.int_ivec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_014999 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_014999 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015000, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_015000 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned" ".by_value.render.basic_struct.int_ivec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_015000 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_015000 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015001, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_015001 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assign" "ed.by_value.render.basic_struct.int_ivec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_015001 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_015001 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015002, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_015002 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigne" "d.by_value.render.basic_struct.bool_bvec4_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_015002 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_015002 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015003, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_015003 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned" ".by_value.render.basic_struct.bool_bvec4_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_015003 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_015003 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015004, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_015004 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assign" "ed.by_value.render.basic_struct.bool_bvec4_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_015004 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_015004 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015005, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_015005 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned.by_v" "alue.render.basic_struct.sampler2D_samplerCube_vertex", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_015005 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_015005 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015006, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_015006 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned.by_va" "lue.render.basic_struct.sampler2D_samplerCube_fragment", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_015006 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_015006 end"; } static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015007, Function | MediumTest | Level2) { GTEST_LOG_(INFO) << "TestCase_015007 start"; int argc = 3; const char *argv[3] = { ".", "--deqp-case=" "dEQP-GLES2.functional.uniform_api.value.assigned.by_" "value.render.basic_struct.sampler2D_samplerCube_both", "--deqp-archive-dir=/data/local/tmp/" }; FuncRunResult result = RunTestKHRGLES(argc, argv); ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed; ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed; ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported; ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings; ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived; if (result.numNotSupported == 1) { GTEST_LOG_(INFO) << "TestCase_015007 notsupport!"; } else if (result.isComplete) { EXPECT_TRUE(result.isComplete); EXPECT_TRUE(result.numPassed == 1); }; GTEST_LOG_(INFO) << "TestCase_015007 end"; }