From b38874cd13319b7385d9390764cc64c5ea8f1270 Mon Sep 17 00:00:00 2001 From: wangshi Date: Mon, 4 Jul 2022 17:15:14 +0800 Subject: [PATCH] add depq2 testcase Signed-off-by: wangshi --- ...es2get_uniform_struct_in_arrayTestCase.cpp | 1156 +++++++++++++++ .../Deqpgles2renderbuffer_color0TestCase.cpp | 1237 +++++++++++++++++ 2 files changed, 2393 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_color0TestCase.cpp diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp new file mode 100644 index 000000000..bb39c4736 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp @@ -0,0 +1,1156 @@ +/* + * 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_014257, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014257 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initia" + "l.get_uniform.struct_in_array.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_014257 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014257 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014258, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014258 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initial" + ".get_uniform.struct_in_array.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_014258 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014258 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014259, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014259 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initi" + "al.get_uniform.struct_in_array.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_014259 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014259 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014260, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014260 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initia" + "l.get_uniform.struct_in_array.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_014260 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014260 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014261, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014261 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initial" + ".get_uniform.struct_in_array.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_014261 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014261 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014262, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014262 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initi" + "al.get_uniform.struct_in_array.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_014262 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014262 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014263, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014263 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initia" + "l.get_uniform.struct_in_array.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_014263 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014263 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014264, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014264 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initial" + ".get_uniform.struct_in_array.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_014264 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014264 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014265, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014265 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initi" + "al.get_uniform.struct_in_array.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_014265 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014265 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014266, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014266 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initia" + "l.get_uniform.struct_in_array.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_014266 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014266 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014267, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014267 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initial" + ".get_uniform.struct_in_array.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_014267 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014267 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014268, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014268 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initi" + "al.get_uniform.struct_in_array.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_014268 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014268 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014269, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014269 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initial.get_" + "uniform.struct_in_array.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_014269 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014269 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014270, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014270 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initial.get_u" + "niform.struct_in_array.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_014270 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014270 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014271, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014271 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.initial.get" + "_uniform.struct_in_array.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_014271 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014271 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014577, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014577 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_" + "pointer.get_uniform.struct_in_array.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_014577 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014577 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014578, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014578 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p" + "ointer.get_uniform.struct_in_array.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_014578 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014578 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014579, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014579 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by" + "_pointer.get_uniform.struct_in_array.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_014579 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014579 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014580, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014580 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_" + "pointer.get_uniform.struct_in_array.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_014580 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014580 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014581, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014581 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p" + "ointer.get_uniform.struct_in_array.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_014581 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014581 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014582, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014582 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by" + "_pointer.get_uniform.struct_in_array.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_014582 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014582 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014583, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014583 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_" + "pointer.get_uniform.struct_in_array.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_014583 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014583 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014584, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014584 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p" + "ointer.get_uniform.struct_in_array.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_014584 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014584 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014585, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014585 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by" + "_pointer.get_uniform.struct_in_array.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_014585 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014585 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014586, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014586 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_" + "pointer.get_uniform.struct_in_array.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_014586 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014586 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014587, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014587 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p" + "ointer.get_uniform.struct_in_array.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_014587 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014587 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014588, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014588 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by" + "_pointer.get_uniform.struct_in_array.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_014588 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014588 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014589, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014589 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointe" + "r.get_uniform.struct_in_array.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_014589 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014589 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014590, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014590 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer" + ".get_uniform.struct_in_array.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_014590 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014590 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014591, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014591 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_point" + "er.get_uniform.struct_in_array.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_014591 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014591 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014891, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014891 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by" + "_value.get_uniform.struct_in_array.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_014891 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014891 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014892, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014892 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_" + "value.get_uniform.struct_in_array.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_014892 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014892 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014893, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014893 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.b" + "y_value.get_uniform.struct_in_array.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_014893 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014893 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014894, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014894 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by" + "_value.get_uniform.struct_in_array.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_014894 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014894 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014895, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014895 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_" + "value.get_uniform.struct_in_array.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_014895 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014895 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014896, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014896 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.b" + "y_value.get_uniform.struct_in_array.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_014896 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014896 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014897, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014897 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by" + "_value.get_uniform.struct_in_array.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_014897 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014897 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014898, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014898 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_" + "value.get_uniform.struct_in_array.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_014898 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014898 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014899, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014899 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.b" + "y_value.get_uniform.struct_in_array.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_014899 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014899 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014900, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014900 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value" + ".get_uniform.struct_in_array.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_014900 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014900 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014901, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014901 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value." + "get_uniform.struct_in_array.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_014901 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014901 end"; +} + +static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014902, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_014902 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.uniform_api.value.assigned.by_valu" + "e.get_uniform.struct_in_array.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_014902 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_014902 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_color0TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_color0TestCase.cpp new file mode 100644 index 000000000..f206d9d7d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_color0TestCase.cpp @@ -0,0 +1,1237 @@ +/* + * 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 "../ActsDeqpgles20013TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012661, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012661 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable." + "renderbuffer.color0.depth_component_unsigned_short", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012661 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012661 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012662, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012662 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable" + ".renderbuffer.color0.depth_component_unsigned_int", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012662 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012662 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012663, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012663 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.color0.red_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012663 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012663 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012664, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012664 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.color0.red_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012664 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012664 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012665, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012665 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.color0.red_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012665 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012665 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012666, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012666 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.color0.rgb_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012666 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012666 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012667, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012667 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.color0.rgb_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012667 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012667 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012668, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012668 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderab" + "le.renderbuffer.color0.rgb_unsigned_short_5_6_5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012668 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012668 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012669, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012669 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable." + "renderbuffer.color0.rgb_unsigned_int_2_10_10_10_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012669 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012669 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012670, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012670 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable.r" + "enderbuffer.color0.rgb_unsigned_int_10f_11f_11f_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012670 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012670 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012671, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012671 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.color0.rgb_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012671 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012671 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012672, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012672 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.color0.rgba_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012672 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012672 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012673, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012673 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.r" + "enderable.renderbuffer.color0.rgba_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012673 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012673 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012674, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012674 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderabl" + "e.renderbuffer.color0.rgba_unsigned_short_4_4_4_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012674 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012674 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012675, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012675 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderabl" + "e.renderbuffer.color0.rgba_unsigned_short_5_5_5_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012675 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012675 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012676, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012676 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable.r" + "enderbuffer.color0.rgba_unsigned_int_2_10_10_10_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012676 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012676 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012677, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012677 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.color0.rgba_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012677 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012677 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012678, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012678 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.color0.rgb8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012678 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012678 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012679, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012679 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.color0.rgb10", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012679 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012679 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012680, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012680 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.color0.rgba4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012680 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012680 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012681, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012681 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.color0.rgb5_a1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012681 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012681 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012682, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012682 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.color0.rgba8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012682 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012682 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012683, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012683 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.color0.rgb10_a2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012683 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012683 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012684, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012684 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.color0.depth_component16", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012684 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012684 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012685, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012685 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.color0.depth_component24", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012685 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012685 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012686, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012686 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.color0.depth_component32", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012686 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012686 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012687, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012687 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.color0.rg_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012687 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012687 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012688, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012688 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.color0.rg_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012688 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012688 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012689, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012689 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.color0.rg_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012689 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012689 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012690, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012690 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completene" + "ss.renderable.renderbuffer.color0.r8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012690 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012690 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012691, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012691 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completene" + "ss.renderable.renderbuffer.color0.rg8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012691 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012691 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012692, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012692 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.color0.r16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012692 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012692 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012693, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012693 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.color0.rg16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012693 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012693 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012694, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012694 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable." + "renderbuffer.color0.depth_stencil_unsigned_int_24_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012694 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012694 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012695, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012695 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.color0.rgba16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012695 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012695 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012696, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012696 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.color0.depth24_stencil8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012696 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012696 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012697, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012697 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.renderbuffer.color0.r11f_g11f_b10f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012697 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012697 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012698, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012698 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.color0.srgb_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012698 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012698 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012699, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012699 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.color0.srgb8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012699 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012699 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012700, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012700 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderab" + "le.renderbuffer.color0.srgb_alpha_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012700 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012700 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012701, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012701 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.renderbuffer.color0.srgb8_alpha8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012701 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012701 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012702, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012702 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.renderbuffer.color0.stencil_index8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012702 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012702 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012703, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012703 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.color0.rgb565", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012703 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012703 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012704, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012704 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.color0.sr8_ext", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012704 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012704 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012705, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012705 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.color0.srg8_ext", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012705 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012705 end"; +} -- GitLab