diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3scoping_invalidTestCase.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3scoping_invalidTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..463e087e20fcb5dbf08a0db26958163941e1373d --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3scoping_invalidTestCase.cpp @@ -0,0 +1,1318 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30005TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004960, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004960 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.i" + "nvalid.redeclare_global_variable_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004960 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004960 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004961, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004961 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.in" + "valid.redeclare_global_variable_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004961 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004961 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004962, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004962 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping." + "invalid.redeclare_local_variable_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004962 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004962 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004963, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004963 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.i" + "nvalid.redeclare_local_variable_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004963 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004963 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004964, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004964 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid" + ".redeclare_for_init_statement_variable_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004964 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004964 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004965, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004965 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid." + "redeclare_for_init_statement_variable_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004965 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004965 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004966, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004966 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.inva" + "lid.redeclare_for_condition_variable_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004966 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004966 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004967, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004967 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.inval" + "id.redeclare_for_condition_variable_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004967 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004967 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004968, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004968 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.redecla" + "re_for_init_statement_variable_in_for_condition_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004968 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004968 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004969, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004969 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.redeclar" + "e_for_init_statement_variable_in_for_condition_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004969 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004969 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004970, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004970 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.inval" + "id.redeclare_while_condition_variable_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004970 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004970 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004971, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004971 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invali" + "d.redeclare_while_condition_variable_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004971 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004971 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004972, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004972 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scopi" + "ng.invalid.redefine_function_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004972 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004972 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004973, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004973 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scopin" + "g.invalid.redefine_function_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004973 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004973 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004974, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004974 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scopi" + "ng.invalid.redeclare_builtin_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004974 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004974 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004975, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004975 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scopin" + "g.invalid.redeclare_builtin_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004975 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004975 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004976, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004976 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scop" + "ing.invalid.redefine_builtin_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004976 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004976 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004977, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004977 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scopi" + "ng.invalid.redefine_builtin_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004977 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004977 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004978, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004978 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping." + "invalid.conflict_function_struct_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004978 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004978 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004979, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004979 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.i" + "nvalid.conflict_function_struct_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004979 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004979 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004980, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004980 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.i" + "nvalid.conflict_function_variable_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004980 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004980 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004981, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004981 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.in" + "valid.conflict_function_variable_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004981 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004981 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004982, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004982 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid" + ".use_global_variable_before_declaration_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004982 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004982 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004983, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004983 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid." + "use_global_variable_before_declaration_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004983 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004983 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004984, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004984 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid" + ".use_local_variable_before_declaration_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004984 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004984 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004985, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004985 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid." + "use_local_variable_before_declaration_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004985 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004985 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004986, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004986 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.inval" + "id.use_struct_type_before_declaration_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004986 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004986 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004987, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004987 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invali" + "d.use_struct_type_before_declaration_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004987 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004987 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004988, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004988 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.inva" + "lid.use_function_before_declaration_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004988 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004988 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004989, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004989 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.inval" + "id.use_function_before_declaration_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004989 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004989 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004990, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004990 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid" + ".use_variable_from_block_in_outer_scope_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004990 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004990 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004991, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004991 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid." + "use_variable_from_block_in_outer_scope_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004991 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004991 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004992, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004992 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invali" + "d.use_variable_from_if_in_outer_scope_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004992 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004992 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004993, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004993 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid" + ".use_variable_from_if_in_outer_scope_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004993 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004993 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004994, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004994 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid" + ".use_variable_from_else_in_outer_scope_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004994 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004994 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004995, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004995 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid." + "use_variable_from_else_in_outer_scope_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004995 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004995 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004996, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004996 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.in" + "valid.use_variable_from_if_in_else_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004996 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004996 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004997, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004997 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.inv" + "alid.use_variable_from_if_in_else_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004997 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004997 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004998, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004998 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.use_va" + "riable_from_for_init_statement_in_outer_scope_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004998 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004998 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004999, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004999 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.use_var" + "iable_from_for_init_statement_in_outer_scope_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004999 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004999 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_005000, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005000 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.use_" + "variable_from_while_condition_in_outer_scope_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005000 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005000 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_005001, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005001 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.use_v" + "ariable_from_while_condition_in_outer_scope_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005001 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005001 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_005002, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005002 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.use" + "_parameter_names_from_function_declaration_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005002 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005002 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_005003, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005003 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.use_" + "parameter_names_from_function_declaration_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005003 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005003 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_005004, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005004 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid." + "variable_not_visible_in_own_initializer_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005004 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005004 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_005005, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005005 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.v" + "ariable_not_visible_in_own_initializer_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005005 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005005 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_005006, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005006 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid." + "local_variable_hides_function_parameter_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005006 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005006 end"; +} + +static HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_005007, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_005007 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.scoping.invalid.l" + "ocal_variable_hides_function_parameter_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_005007 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_005007 end"; +} diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3specification_basic_texsubimage3dTestCase.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3specification_basic_texsubimage3dTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..17a281539e6658360d8ad4563d10c8d205d2abb1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3specification_basic_texsubimage3dTestCase.cpp @@ -0,0 +1,1345 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30027TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026530, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026530 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgba32f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026530 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026530 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026531, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026531 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgba32i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026531 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026531 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026532, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026532 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgba32ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026532 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026532 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026533, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026533 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgba16f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026533 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026533 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026534, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026534 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgba16i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026534 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026534 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026535, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026535 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgba16ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026535 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026535 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026536, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026536 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgba8_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026536 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026536 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026537, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026537 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgba8i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026537 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026537 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026538, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026538 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgba8ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026538 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026538 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026539, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026539 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifica" + "tion.basic_texsubimage3d.srgb8_alpha8_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026539 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026539 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026540, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026540 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgb10_a2_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026540 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026540 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026541, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026541 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specific" + "ation.basic_texsubimage3d.rgb10_a2ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026541 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026541 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026542, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026542 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgba4_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026542 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026542 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026543, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026543 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgb5_a1_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026543 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026543 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026544, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026544 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifica" + "tion.basic_texsubimage3d.rgba8_snorm_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026544 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026544 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026545, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026545 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.rgb8_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026545 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026545 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026546, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026546 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgb565_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026546 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026546 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026547, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026547 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specificat" + "ion.basic_texsubimage3d.r11f_g11f_b10f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026547 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026547 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026548, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026548 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgb32f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026548 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026548 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026549, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026549 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgb32i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026549 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026549 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026550, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026550 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgb32ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026550 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026550 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026551, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026551 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgb16f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026551 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026551 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026552, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026552 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgb16i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026552 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026552 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026553, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026553 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgb16ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026553 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026553 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026554, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026554 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specific" + "ation.basic_texsubimage3d.rgb8_snorm_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026554 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026554 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026555, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026555 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgb8i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026555 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026555 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026556, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026556 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rgb8ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026556 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026556 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026557, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026557 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.srgb8_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026557 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026557 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026558, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026558 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.rgb9_e5_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026558 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026558 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026559, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026559 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rg32f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026559 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026559 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026560, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026560 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rg32i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026560 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026560 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026561, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026561 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rg32ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026561 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026561 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026562, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026562 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rg16f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026562 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026562 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026563, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026563 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rg16i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026563 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026563 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026564, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026564 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rg16ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026564 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026564 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026565, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026565 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.rg8_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026565 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026565 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026566, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026566 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.rg8i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026566 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026566 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026567, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026567 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.rg8ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026567 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026567 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026568, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026568 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specific" + "ation.basic_texsubimage3d.rg8_snorm_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026568 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026568 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026569, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026569 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.r32f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026569 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026569 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026570, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026570 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.r32i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026570 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026570 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026571, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026571 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.r32ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026571 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026571 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026572, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026572 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.r16f_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026572 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026572 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026573, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026573 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.r16i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026573 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026573 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026574, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026574 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specif" + "ication.basic_texsubimage3d.r16ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026574 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026574 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026575, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026575 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.spec" + "ification.basic_texsubimage3d.r8_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026575 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026575 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026576, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026576 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.r8i_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026576 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026576 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026577, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026577 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.speci" + "fication.basic_texsubimage3d.r8ui_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026577 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026577 end"; +} + +static HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026578, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_026578 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.texture.specifi" + "cation.basic_texsubimage3d.r8_snorm_3d", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30027TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30027TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30027TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30027TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30027TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_026578 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_026578 end"; +}