diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..88ed525a24305fe03631a6089ef8fba1a3881f96 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase.cpp @@ -0,0 +1,1993 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004414, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004414 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.lowp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004414 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004414 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004415, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004415 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.lowp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004415 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004415 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004416, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004416 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.mediump_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004416 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004416 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004417, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004417 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.mediump_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004417 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004417 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004418, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004418 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.highp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004418 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004418 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004419, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004419 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.highp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004419 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004419 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004420, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004420 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.binary_operator.add.lowp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004420 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004420 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004421, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004421 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.lowp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004421 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004421 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004422, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004422 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.mediump_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004422 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004422 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004423, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004423 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.mediump_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004423 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004423 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004424, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004424 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.highp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004424 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004424 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004425, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004425 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.highp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004425 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004425 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004426, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004426 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.binary_operator.add.lowp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004426 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004426 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004427, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004427 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.lowp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004427 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004427 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004428, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004428 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.mediump_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004428 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004428 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004429, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004429 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.mediump_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004429 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004429 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004430, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004430 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.highp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004430 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004430 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004431, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004431 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.highp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004431 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004431 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004432, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004432 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.binary_operator.add.lowp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004432 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004432 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004433, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004433 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.lowp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004433 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004433 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004434, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004434 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.mediump_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004434 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004434 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004435, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004435 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.mediump_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004435 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004435 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004436, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004436 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.highp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004436 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004436 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004437, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004437 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.highp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004437 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004437 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004438, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004438 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.binary_operator.add.lowp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004438 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004438 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004439, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004439 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.lowp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004439 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004439 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004440, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004440 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.mediump_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004440 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004440 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004441, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004441 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.mediump_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004441 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004441 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004442, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004442 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.binary_operator.add.highp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004442 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004442 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004443, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004443 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.highp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004443 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004443 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004444, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004444 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.lowp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004444 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004444 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004445, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004445 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.lowp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004445 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004445 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004446, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004446 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.mediump_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004446 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004446 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004447, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004447 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.mediump_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004447 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004447 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004448, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004448 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.highp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004448 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004448 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004449, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004449 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.highp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004449 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004449 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004450, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004450 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.lowp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004450 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004450 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004451, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004451 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.lowp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004451 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004451 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004452, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004452 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.mediump_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004452 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004452 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004453, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004453 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.mediump_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004453 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004453 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004454, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004454 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.highp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004454 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004454 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004455, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004455 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.highp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004455 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004455 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004456, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004456 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.lowp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004456 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004456 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004457, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004457 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.lowp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004457 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004457 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004458, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004458 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.mediump_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004458 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004458 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004459, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004459 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.mediump_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004459 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004459 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004460, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004460 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".binary_operator.add.highp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004460 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004460 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004461, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004461 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "binary_operator.add.highp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004461 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004461 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004462, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004462 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_vec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004462 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004462 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004463, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004463 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_vec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004463 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004463 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004464, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004464 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_vec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004464 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004464 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004465, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004465 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bina" + "ry_operator.add.mediump_vec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004465 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004465 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004466, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004466 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_vec2_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004466 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004466 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004467, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004467 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.highp_vec2_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004467 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004467 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004468, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004468 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_vec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004468 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004468 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004469, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004469 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_vec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004469 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004469 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004470, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004470 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_vec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004470 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004470 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004471, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004471 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bina" + "ry_operator.add.mediump_vec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004471 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004471 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004472, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004472 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_vec3_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004472 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004472 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004473, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004473 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.highp_vec3_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004473 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004473 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004474, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004474 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_vec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004474 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004474 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004475, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004475 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_vec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004475 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004475 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004476, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004476 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_vec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004476 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004476 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004477, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004477 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bina" + "ry_operator.add.mediump_vec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004477 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004477 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004478, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004478 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_vec4_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004478 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004478 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004479, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004479 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.highp_vec4_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004479 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004479 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004480, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004480 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_ivec2_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004480 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004480 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004481, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004481 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_ivec2_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004481 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004481 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004482, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004482 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.mediump_ivec2_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004482 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004482 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004483, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004483 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_ivec2_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004483 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004483 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004484, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004484 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.highp_ivec2_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004484 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004484 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004485, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004485 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_ivec2_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004485 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004485 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004486, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004486 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_ivec3_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004486 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004486 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase1.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..0f005b8f7ae69883ba900f9e7c2f6fcce4cd9aec --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase1.cpp @@ -0,0 +1,1291 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004487, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004487 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_ivec3_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004487 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004487 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004488, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004488 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.mediump_ivec3_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004488 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004488 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004489, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004489 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_ivec3_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004489 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004489 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004490, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004490 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.highp_ivec3_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004490 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004490 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004491, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004491 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_ivec3_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004491 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004491 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004492, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004492 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_ivec4_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004492 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004492 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004493, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004493 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_ivec4_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004493 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004493 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004494, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004494 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.mediump_ivec4_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004494 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004494 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004495, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004495 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_ivec4_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004495 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004495 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004496, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004496 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.highp_ivec4_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004496 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004496 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004497, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004497 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_ivec4_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004497 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004497 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004498, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004498 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_float_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004498 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004498 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004499, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004499 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_float_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004499 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004499 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004500, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004500 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_float_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004500 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004500 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004501, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004501 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bina" + "ry_operator.add.mediump_float_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004501 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004501 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004502, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004502 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_float_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004502 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004502 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004503, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004503 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.highp_float_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004503 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004503 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004504, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004504 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_float_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004504 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004504 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004505, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004505 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_float_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004505 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004505 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004506, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004506 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_float_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004506 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004506 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004507, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004507 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bina" + "ry_operator.add.mediump_float_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004507 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004507 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004508, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004508 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_float_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004508 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004508 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004509, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004509 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.highp_float_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004509 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004509 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004510, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004510 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_float_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004510 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004510 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004511, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004511 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_float_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004511 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004511 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004512, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004512 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_float_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004512 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004512 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004513, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004513 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bina" + "ry_operator.add.mediump_float_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004513 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004513 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004514, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004514 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_float_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004514 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004514 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004515, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004515 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.highp_float_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004515 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004515 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004516, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004516 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_int_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004516 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004516 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004517, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004517 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_int_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004517 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004517 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004518, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004518 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.mediump_int_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004518 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004518 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004519, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004519 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_int_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004519 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004519 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004520, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004520 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.highp_int_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004520 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004520 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004521, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004521 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_int_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004521 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004521 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004522, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004522 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_int_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004522 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004522 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004523, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004523 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_int_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004523 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004523 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004524, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004524 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.mediump_int_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004524 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004524 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004525, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004525 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_int_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004525 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004525 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004526, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004526 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.highp_int_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004526 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004526 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004527, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004527 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_int_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004527 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004527 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004528, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004528 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.lowp_int_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004528 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004528 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004529, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004529 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.lowp_int_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004529 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004529 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004530, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004530 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.mediump_int_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004530 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004530 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004531, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004531 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bin" + "ary_operator.add.mediump_int_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004531 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004531 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004532, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004532 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.b" + "inary_operator.add.highp_int_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004532 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004532 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004533, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004533 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.bi" + "nary_operator.add.highp_int_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004533 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004533 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygonTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygonTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..596ee4d3b7aabdc753ee0ca9ad4e4fa697d4182d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygonTestCase.cpp @@ -0,0 +1,1345 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015727, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015727 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.poly_clip_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015727 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015727 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015728, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015728 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.poly_clip_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015728 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015728 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015729, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015729 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cli" + "pping.polygon.poly_z_clip", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015729 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015729 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015730, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015730 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.po" + "lygon.poly_z_clip_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015730 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015730 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015731, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015731 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.po" + "lygon.poly_z_clip_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015731 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015731 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015732, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015732 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.poly" + "gon.large_poly_clip_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015732 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015732 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015733, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015733 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.poly" + "gon.large_poly_clip_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015733 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015733 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015734, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015734 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clippi" + "ng.polygon.large_poly_z_clip", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015734 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015734 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015735, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015735 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.polyg" + "on.large_poly_z_clip_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015735 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015735 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015736, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015736 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.polyg" + "on.large_poly_z_clip_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015736 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015736 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015737, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015737 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipp" + "ing.polygon.poly_attrib_clip", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015737 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015737 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015738, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015738 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.poly" + "gon.poly_attrib_clip_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015738 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015738 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015739, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015739 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.poly" + "gon.poly_attrib_clip_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015739 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015739 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015740, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015740 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_0", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015740 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015740 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015741, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015741 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_0_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015741 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015741 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015742, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015742 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_0_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015742 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015742 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015743, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015743 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015743 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015743 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015744, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015744 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_1_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015744 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015744 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015745, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015745 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_1_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015745 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015745 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015746, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015746 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015746 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015746 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015747, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015747 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_2_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015747 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015747 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015748, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015748 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_2_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015748 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015748 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015749, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015749 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015749 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015749 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015750, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015750 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_3_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015750 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015750 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015751, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015751 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_3_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015751 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015751 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015752, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015752 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015752 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015752 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015753, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015753 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_4_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015753 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015753 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015754, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015754 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_4_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015754 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015754 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015755, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015755 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015755 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015755 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015756, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015756 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_5_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015756 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015756 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015757, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015757 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_5_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015757 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015757 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015758, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015758 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_6", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015758 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015758 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015759, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015759 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_6_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015759 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015759 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015760, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015760 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_6_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015760 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015760 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015761, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015761 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_7", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015761 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015761 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015762, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015762 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_7_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015762 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015762 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015763, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015763 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_7_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015763 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015763 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015764, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015764 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015764 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015764 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015765, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015765 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_8_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015765 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015765 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015766, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015766 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_8_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015766 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015766 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015767, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015767 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cl" + "ipping.polygon.multiple_9", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015767 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015767 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015768, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015768 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_9_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015768 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015768 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015769, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015769 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.p" + "olygon.multiple_9_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015769 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015769 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015770, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015770 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cli" + "pping.polygon.multiple_10", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015770 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015770 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015771, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015771 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.po" + "lygon.multiple_10_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015771 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015771 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015772, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015772 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.po" + "lygon.multiple_10_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015772 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015772 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015773, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015773 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.cli" + "pping.polygon.multiple_11", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015773 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015773 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015774, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015774 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.po" + "lygon.multiple_11_viewport_center", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015774 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015774 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015775, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015775 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.clipping.po" + "lygon.multiple_11_viewport_corner", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015775 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015775 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..9cab248616e8cab43bf951bae2d45ab68ec91573 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase.cpp @@ -0,0 +1,1993 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010491, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010491 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_nearest_clamp_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010491 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010491 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010492, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010492 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering." + "cube.nearest_nearest_clamp_rgba8888_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010492 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010492 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010493, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010493 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.nearest_nearest_clamp_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010493 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010493 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010494, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010494 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_nearest_clamp_rgb888_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010494 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010494 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010495, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010495 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_nearest_clamp_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010495 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010495 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010496, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010496 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering." + "cube.nearest_nearest_clamp_rgba4444_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010496 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010496 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010497, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010497 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.nearest_nearest_clamp_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010497 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010497 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010498, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010498 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filteri" + "ng.cube.nearest_nearest_clamp_l8_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010498 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010498 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010499, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010499 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering." + "cube.nearest_nearest_repeat_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010499 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010499 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010500, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010500 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_nearest_repeat_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010500 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010500 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010501, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010501 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering." + "cube.nearest_nearest_repeat_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010501 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010501 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010502, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010502 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filteri" + "ng.cube.nearest_nearest_repeat_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010502 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010502 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010503, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010503 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering." + "cube.nearest_nearest_mirror_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010503 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010503 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010504, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010504 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_nearest_mirror_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010504 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010504 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010505, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010505 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering." + "cube.nearest_nearest_mirror_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010505 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010505 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010506, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010506 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filteri" + "ng.cube.nearest_nearest_mirror_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010506 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010506 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010507, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010507 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_linear_clamp_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010507 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010507 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010508, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010508 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_linear_clamp_rgba8888_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010508 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010508 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010509, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010509 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.nearest_linear_clamp_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010509 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010509 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010510, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010510 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.nearest_linear_clamp_rgb888_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010510 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010510 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010511, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010511 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_linear_clamp_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010511 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010511 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010512, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010512 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_linear_clamp_rgba4444_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010512 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010512 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010513, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010513 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.nearest_linear_clamp_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010513 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010513 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010514, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010514 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.nearest_linear_clamp_l8_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010514 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010514 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010515, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010515 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_linear_repeat_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010515 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010515 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010516, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010516 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.nearest_linear_repeat_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010516 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010516 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010517, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010517 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_linear_repeat_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010517 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010517 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010518, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010518 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.nearest_linear_repeat_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010518 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010518 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010519, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010519 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_linear_mirror_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010519 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010519 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010520, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010520 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.nearest_linear_mirror_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010520 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010520 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010521, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010521 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.nearest_linear_mirror_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010521 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010521 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010522, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010522 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.nearest_linear_mirror_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010522 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010522 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010523, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010523 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_nearest_clamp_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010523 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010523 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010524, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010524 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_nearest_clamp_rgba8888_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010524 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010524 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010525, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010525 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_nearest_clamp_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010525 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010525 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010526, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010526 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_nearest_clamp_rgb888_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010526 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010526 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010527, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010527 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_nearest_clamp_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010527 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010527 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010528, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010528 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_nearest_clamp_rgba4444_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010528 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010528 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010529, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010529 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.linear_nearest_clamp_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010529 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010529 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010530, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010530 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.linear_nearest_clamp_l8_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010530 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010530 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010531, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010531 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_nearest_repeat_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010531 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010531 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010532, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010532 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_nearest_repeat_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010532 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010532 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010533, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010533 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_nearest_repeat_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010533 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010533 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010534, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010534 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.linear_nearest_repeat_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010534 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010534 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010535, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010535 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_nearest_mirror_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010535 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010535 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010536, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010536 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_nearest_mirror_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010536 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010536 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010537, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010537 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_nearest_mirror_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010537 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010537 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010538, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010538 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.linear_nearest_mirror_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010538 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010538 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010539, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010539 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_linear_clamp_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010539 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010539 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010540, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010540 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_linear_clamp_rgba8888_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010540 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010540 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010541, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010541 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filteri" + "ng.cube.linear_linear_clamp_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010541 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010541 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010542, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010542 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_linear_clamp_rgb888_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010542 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010542 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010543, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010543 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_linear_clamp_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010543 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010543 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010544, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010544 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_linear_clamp_rgba4444_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010544 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010544 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010545, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010545 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filte" + "ring.cube.linear_linear_clamp_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010545 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010545 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010546, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010546 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.linear_linear_clamp_l8_npot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010546 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010546 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010547, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010547 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_linear_repeat_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010547 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010547 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010548, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010548 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_linear_repeat_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010548 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010548 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010549, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010549 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_linear_repeat_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010549 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010549 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010550, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010550 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.linear_linear_repeat_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010550 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010550 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010551, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010551 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_linear_mirror_rgba8888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010551 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010551 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010552, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010552 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filterin" + "g.cube.linear_linear_mirror_rgb888_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010552 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010552 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010553, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010553 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering" + ".cube.linear_linear_mirror_rgba4444_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010553 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010553 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010554, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010554 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filter" + "ing.cube.linear_linear_mirror_l8_pot", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010554 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010554 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010555, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010555 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_nearest_nearest_clamp_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010555 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010555 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010556, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010556 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_nearest_nearest_repeat_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010556 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010556 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010557, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010557 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".nearest_mipmap_nearest_nearest_repeat_rgb888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010557 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010557 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010558, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010558 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_nearest_nearest_repeat_rgba4444", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010558 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010558 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010559, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010559 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.nearest_mipmap_nearest_nearest_repeat_l8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010559 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010559 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010560, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010560 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_nearest_nearest_mirror_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010560 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010560 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010561, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010561 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".nearest_mipmap_nearest_linear_clamp_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010561 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010561 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010562, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010562 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_nearest_linear_repeat_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010562 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010562 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010563, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010563 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_nearest_linear_mirror_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010563 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010563 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase1.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..20a66b290d3b7f011796d12cb8e6ad8452ee435e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase1.cpp @@ -0,0 +1,1075 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010564, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010564 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_nearest_nearest_clamp_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010564 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010564 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010565, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010565 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "linear_mipmap_nearest_nearest_repeat_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010565 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010565 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010566, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010566 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_nearest_nearest_repeat_rgb888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010566 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010566 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010567, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010567 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "linear_mipmap_nearest_nearest_repeat_rgba4444", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010567 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010567 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010568, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010568 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.linear_mipmap_nearest_nearest_repeat_l8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010568 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010568 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010569, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010569 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "linear_mipmap_nearest_nearest_mirror_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010569 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010569 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010570, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010570 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_nearest_linear_clamp_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010570 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010570 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010571, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010571 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_nearest_linear_repeat_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010571 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010571 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010572, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010572 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_nearest_linear_mirror_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010572 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010572 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010573, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010573 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".nearest_mipmap_linear_nearest_clamp_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010573 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010573 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010574, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010574 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_linear_nearest_repeat_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010574 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010574 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010575, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010575 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".nearest_mipmap_linear_nearest_repeat_rgb888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010575 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010575 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010576, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010576 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_linear_nearest_repeat_rgba4444", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010576 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010576 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010577, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010577 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.nearest_mipmap_linear_nearest_repeat_l8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010577 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010577 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010578, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010578 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube." + "nearest_mipmap_linear_nearest_mirror_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010578 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010578 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010579, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010579 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".nearest_mipmap_linear_linear_clamp_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010579 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010579 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010580, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010580 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".nearest_mipmap_linear_linear_repeat_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010580 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010580 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010581, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010581 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".nearest_mipmap_linear_linear_mirror_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010581 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010581 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010582, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010582 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_linear_nearest_clamp_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010582 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010582 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010583, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010583 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_linear_nearest_repeat_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010583 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010583 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010584, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010584 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cub" + "e.linear_mipmap_linear_nearest_repeat_rgb888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010584 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010584 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010585, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010585 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_linear_nearest_repeat_rgba4444", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010585 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010585 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010586, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010586 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.c" + "ube.linear_mipmap_linear_nearest_repeat_l8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010586 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010586 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010587, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010587 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_linear_nearest_mirror_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010587 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010587 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010588, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010588 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cub" + "e.linear_mipmap_linear_linear_clamp_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010588 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010588 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010589, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010589 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_linear_linear_repeat_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010589 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010589 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010590, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010590 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cube" + ".linear_mipmap_linear_linear_mirror_rgba8888", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010590 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010590 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010591, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010591 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filte" + "ring.cube.nearest_nearest_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010591 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010591 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010592, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010592 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filte" + "ring.cube.nearest_linear_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010592 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010592 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010593, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010593 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filte" + "ring.cube.linear_nearest_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010593 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010593 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010594, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010594 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filt" + "ering.cube.linear_linear_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010594 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010594 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010595, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010595 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cub" + "e.nearest_mipmap_nearest_nearest_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010595 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010595 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010596, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010596 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.nearest_mipmap_nearest_linear_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010596 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010596 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010597, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010597 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.linear_mipmap_nearest_nearest_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010597 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010597 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010598, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010598 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.linear_mipmap_nearest_linear_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010598 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010598 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010599, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010599 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.nearest_mipmap_linear_nearest_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010599 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010599 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010600, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010600 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.nearest_mipmap_linear_linear_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010600 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010600 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010601, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010601 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.cu" + "be.linear_mipmap_linear_nearest_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010601 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010601 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010602, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010602 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.filtering.c" + "ube.linear_mipmap_linear_linear_clamp_etc1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010602 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010602 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_stencilTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_stencilTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..6901c8e8ad2d8e20a9ce0e9d34b706ea4fe45363 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_stencilTestCase.cpp @@ -0,0 +1,1264 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012706, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012706 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable." + "renderbuffer.stencil.depth_component_unsigned_short", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012706 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012706 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012707, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012707 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable" + ".renderbuffer.stencil.depth_component_unsigned_int", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012707 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012707 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012708, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012708 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.red_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012708 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012708 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012709, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012709 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.r" + "enderable.renderbuffer.stencil.red_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012709 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012709 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012710, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012710 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.red_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012710 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012710 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012711, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012711 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.rgb_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012711 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012711 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012712, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012712 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.r" + "enderable.renderbuffer.stencil.rgb_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012712 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012712 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012713, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012713 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderab" + "le.renderbuffer.stencil.rgb_unsigned_short_5_6_5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012713 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012713 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012714, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012714 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable.r" + "enderbuffer.stencil.rgb_unsigned_int_2_10_10_10_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012714 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012714 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012715, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012715 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable.r" + "enderbuffer.stencil.rgb_unsigned_int_10f_11f_11f_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012715 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012715 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012716, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012716 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.rgb_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012716 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012716 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012717, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012717 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.rgba_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012717 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012717 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012718, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012718 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.r" + "enderable.renderbuffer.stencil.rgba_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012718 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012718 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012719, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012719 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable" + ".renderbuffer.stencil.rgba_unsigned_short_4_4_4_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012719 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012719 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012720, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012720 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable" + ".renderbuffer.stencil.rgba_unsigned_short_5_5_5_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012720 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012720 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012721, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012721 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable.r" + "enderbuffer.stencil.rgba_unsigned_int_2_10_10_10_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012721 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012721 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012722, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012722 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.render" + "able.renderbuffer.stencil.rgba_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012722 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012722 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012723, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012723 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.stencil.rgb8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012723 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012723 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012724, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012724 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.stencil.rgb10", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012724 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012724 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012725, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012725 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.stencil.rgba4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012725 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012725 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012726, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012726 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.stencil.rgb5_a1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012726 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012726 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012727, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012727 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.stencil.rgba8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012727 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012727 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012728, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012728 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.stencil.rgb10_a2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012728 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012728 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012729, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012729 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.depth_component16", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012729 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012729 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012730, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012730 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.depth_component24", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012730 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012730 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012731, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012731 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.depth_component32", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012731 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012731 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012732, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012732 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.stencil.rg_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012732 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012732 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012733, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012733 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.stencil.rg_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012733 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012733 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012734, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012734 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.rg_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012734 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012734 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012735, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012735 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completene" + "ss.renderable.renderbuffer.stencil.r8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012735 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012735 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012736, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012736 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.stencil.rg8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012736 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012736 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012737, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012737 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.renderbuffer.stencil.r16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012737 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012737 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012738, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012738 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.stencil.rg16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012738 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012738 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012739, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012739 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable.r" + "enderbuffer.stencil.depth_stencil_unsigned_int_24_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012739 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012739 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012740, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012740 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.stencil.rgba16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012740 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012740 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012741, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012741 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.stencil.rgb16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012741 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012741 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012742, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012742 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rend" + "erable.renderbuffer.stencil.depth24_stencil8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012742 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012742 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012743, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012743 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.renderbuffer.stencil.r11f_g11f_b10f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012743 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012743 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012744, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012744 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rende" + "rable.renderbuffer.stencil.srgb_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012744 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012744 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012745, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012745 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.stencil.srgb8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012745 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012745 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012746, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012746 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderab" + "le.renderbuffer.stencil.srgb_alpha_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012746 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012746 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012747, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012747 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.renderbuffer.stencil.srgb8_alpha8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012747 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012747 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012748, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012748 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.renderbuffer.stencil.stencil_index8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012748 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012748 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012749, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012749 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.renderbuffer.stencil.rgb565", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012749 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012749 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012750, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012750 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.stencil.sr8_ext", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012750 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012750 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012751, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012751 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.renderbuffer.stencil.srg8_ext", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012751 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012751 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..9d9fb6a2e0703de577d4f8f3cbe495ecc28c64d3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp @@ -0,0 +1,1345 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000728, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000728 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000728 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000728 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000729, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000729 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000729 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000729 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000730, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000730 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000730 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000730 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000731, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000731 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000731 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000731 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000732, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000732 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000732 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000732 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000733, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000733 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_6", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000733 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000733 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000734, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000734 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.s" + "haders.linkage.varying_7", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000734 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000734 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000735, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000735 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shader" + "s.linkage.varying_type_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000735 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000735 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000736, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000736 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_vec2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000736 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000736 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000737, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000737 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000737 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000737 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000738, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000738 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000738 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000738 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000739, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000739 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_mat2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000739 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000739 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000740, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000740 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_mat3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000740 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000740 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000741, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000741 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shade" + "rs.linkage.varying_type_mat4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000741 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000741 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000742, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000742 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.lin" + "kage.varying_differing_precision_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000742 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000742 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000743, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000743 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.lin" + "kage.varying_differing_precision_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000743 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000743 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000744, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000744 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.lin" + "kage.varying_differing_precision_3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000744 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000744 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000745, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000745 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders." + "linkage.varying_type_mismatch_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000745 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000745 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000746, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000746 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.l" + "inkage.invalid_varying_type_int", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000746 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000746 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000747, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000747 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.l" + "inkage.invalid_varying_type_bool", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000747 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000747 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000748, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000748 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.li" + "nkage.invalid_varying_type_struct", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000748 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000748 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000749, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000749 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shader" + "s.linkage.varying_readback_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000749 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000749 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000750, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000750 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shader" + "s.linkage.varying_writeback_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000750 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000750 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000751, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000751 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shad" + "ers.linkage.uniform_struct", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000751 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000751 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000752, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000752 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.li" + "nkage.uniform_struct_vertex_only", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000752 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000752 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000753, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000753 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.lin" + "kage.uniform_struct_fragment_only", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000753 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000753 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000754, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000754 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders." + "linkage.uniform_struct_partial", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000754 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000754 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000755, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000755 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shader" + "s.linkage.uniform_struct_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000755 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000755 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000756, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000756 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.link" + "age.uniform_struct_vertex_only_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000756 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000756 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000757, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000757 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_fragment_only_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000757 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000757 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000758, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000758 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.li" + "nkage.uniform_struct_partial_vec4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000758 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000758 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000759, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000759 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.l" + "inkage.uniform_struct_vec4_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000759 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000759 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000760, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000760 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage" + ".uniform_struct_vertex_only_vec4_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000760 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000760 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000761, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000761 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage." + "uniform_struct_fragment_only_vec4_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000761 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000761 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000762, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000762 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_vec4_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000762 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000762 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000763, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000763 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.l" + "inkage.uniform_struct_vec4_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000763 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000763 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000764, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000764 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage" + ".uniform_struct_vertex_only_vec4_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000764 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000764 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000765, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000765 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage." + "uniform_struct_fragment_only_vec4_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000765 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000765 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000766, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000766 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_vec4_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000766 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000766 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000767, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000767 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkag" + "e.uniform_struct_partial_vec4_struct", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000767 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000767 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000768, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000768 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage." + "uniform_struct_partial_vec4_vec3_struct", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000768 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000768 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000769, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000769 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_vec2_vec3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000769 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000769 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000770, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000770 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.link" + "age.uniform_struct_partial_vec2_int", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000770 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000770 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000771, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000771 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_int_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000771 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000771 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000772, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000772 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_bvec2_vec2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000772 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000772 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000773, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000773 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linka" + "ge.uniform_struct_partial_ivec2_vec2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000773 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000773 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000774, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000774 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkag" + "e.uniform_struct_partial_ivec2_ivec2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000774 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000774 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000775, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000775 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.li" + "nkage.uniform_struct_use_case_rip", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000775 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000775 end"; +} + +static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000776, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000776 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.linkage." + "uniform_struct_use_case_rip_sans_highp", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000776 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000776 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..767fca22e3f7ca93f8a0b60e331db85dd348feee --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase.cpp @@ -0,0 +1,1993 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013109, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013109 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float2_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013109 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013109 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013110, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013110 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float2_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013110 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013110 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013111, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013111 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float3_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013111 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013111 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013112, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013112 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float3_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013112 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013112 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013113, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013113 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float4_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013113 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013113 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013114, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013114 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float4_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013114 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013114 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013115, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013115 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float2_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013115 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013115 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013116, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013116 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float2_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013116 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013116 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013117, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013117 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float3_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013117 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013117 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013118, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013118 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float3_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013118 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013118 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013119, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013119 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float4_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013119 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013119 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013120, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013120 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float4_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013120 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013120 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013121, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013121 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float2_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013121 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013121 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013122, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013122 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float2_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013122 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013122 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013123, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013123 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float3_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013123 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013123 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013124, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013124 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float3_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013124 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013124 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013125, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013125 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_float4_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013125 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013125 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013126, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013126 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_float4_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013126 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013126 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013127, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013127 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short2_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013127 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013127 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013128, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013128 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short2_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013128 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013128 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013129, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013129 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short3_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013129 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013129 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013130, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013130 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short3_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013130 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013130 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013131, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013131 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short4_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013131 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013131 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013132, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013132 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short4_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013132 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013132 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013133, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013133 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short2_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013133 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013133 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013134, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013134 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short2_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013134 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013134 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013135, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013135 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short3_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013135 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013135 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013136, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013136 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short3_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013136 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013136 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013137, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013137 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short4_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013137 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013137 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013138, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013138 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short4_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013138 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013138 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013139, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013139 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short2_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013139 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013139 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013140, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013140 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short2_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013140 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013140 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013141, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013141 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short3_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013141 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013141 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013142, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013142 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short3_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013142 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013142 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013143, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013143 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_short4_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013143 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013143 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013144, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013144 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_short4_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013144 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013144 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013145, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013145 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte2_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013145 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013145 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013146, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013146 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte2_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013146 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013146 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013147, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013147 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte3_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013147 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013147 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013148, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013148 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte3_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013148 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013148 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013149, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013149 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte4_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013149 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013149 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013150, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013150 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte4_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013150 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013150 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013151, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013151 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte2_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013151 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013151 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013152, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013152 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte2_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013152 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013152 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013153, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013153 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte3_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013153 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013153 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013154, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013154 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte3_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013154 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013154 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013155, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013155 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte4_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013155 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013155 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013156, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013156 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte4_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013156 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013156 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013157, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013157 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte2_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013157 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013157 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013158, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013158 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte2_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013158 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013158 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013159, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013159 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte3_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013159 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013159 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013160, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013160 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte3_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013160 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013160 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013161, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013161 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_byte4_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013161 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013161 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013162, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013162 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_byte4_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013162 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013162 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013163, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013163 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short2_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013163 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013163 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013164, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013164 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short2_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013164 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013164 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013165, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013165 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short3_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013165 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013165 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013166, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013166 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short3_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013166 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013166 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013167, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013167 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short4_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013167 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013167 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013168, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013168 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short4_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013168 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013168 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013169, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013169 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short2_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013169 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013169 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013170, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013170 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short2_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013170 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013170 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013171, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013171 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short3_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013171 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013171 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013172, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013172 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short3_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013172 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013172 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013173, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013173 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short4_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013173 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013173 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013174, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013174 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short4_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013174 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013174 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013175, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013175 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short2_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013175 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013175 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013176, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013176 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short2_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013176 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013176 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013177, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013177 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short3_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013177 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013177 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013178, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013178 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short3_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013178 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013178 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013179, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013179 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_short4_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013179 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013179 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013180, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013180 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t" + "ypes.user_ptr_0_0_unsigned_short4_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013180 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013180 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013181, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013181 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte2_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013181 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013181 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase1.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..65e7f02c063c901dcda44bfaaa3c14586797aee6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase1.cpp @@ -0,0 +1,967 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013182, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013182 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte2_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013182 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013182 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013183, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013183 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte3_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013183 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013183 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013184, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013184 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte3_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013184 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013184 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013185, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013185 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte4_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013185 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013185 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013186, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013186 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte4_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013186 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013186 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013187, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013187 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte2_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013187 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013187 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013188, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013188 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte2_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013188 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013188 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013189, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013189 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte3_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013189 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013189 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013190, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013190 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte3_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013190 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013190 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013191, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013191 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte4_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013191 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013191 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013192, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013192 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte4_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013192 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013192 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013193, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013193 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte2_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013193 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013193 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013194, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013194 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte2_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013194 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013194 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013195, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013195 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte3_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013195 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013195 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013196, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013196 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte3_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013196 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013196 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013197, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013197 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output" + "_types.user_ptr_0_0_unsigned_byte4_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013197 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013197 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013198, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013198 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_" + "types.user_ptr_0_0_unsigned_byte4_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013198 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013198 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013199, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013199 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed2_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013199 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013199 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013200, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013200 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed2_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013200 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013200 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013201, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013201 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed3_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013201 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013201 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013202, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013202 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed3_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013202 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013202 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013203, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013203 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed4_vec2_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013203 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013203 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013204, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013204 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed4_vec2_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013204 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013204 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013205, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013205 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed2_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013205 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013205 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013206, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013206 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed2_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013206 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013206 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013207, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013207 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed3_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013207 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013207 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013208, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013208 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed3_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013208 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013208 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013209, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013209 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed4_vec3_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013209 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013209 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013210, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013210 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed4_vec3_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013210 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013210 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013211, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013211 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed2_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013211 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013211 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013212, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013212 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed2_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013212 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013212 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013213, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013213 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed3_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013213 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013213 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013214, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013214 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed3_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013214 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013214 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013215, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013215 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou" + "tput_types.user_ptr_0_0_fixed4_vec4_dynamic_draw_quads_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013215 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013215 end"; +} + +static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013216, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_013216 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out" + "put_types.user_ptr_0_0_fixed4_vec4_dynamic_draw_quads_256", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_013216 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_013216 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_booleanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_booleanTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..fb0829fc1be85cead53be89e6486634ec3dababe --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_booleanTestCase.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 "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015305, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015305 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_qu" + "ery.boolean.cull_face_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015305 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015305 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015306, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015306 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_que" + "ry.boolean.cull_face_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015306 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015306 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015307, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015307 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_que" + "ry.boolean.cull_face_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015307 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015307 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015308, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015308 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_qu" + "ery.boolean.cull_face_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015308 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015308 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015309, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015309 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.b" + "oolean.polygon_offset_fill_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015309 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015309 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015310, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015310 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.bo" + "olean.polygon_offset_fill_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015310 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015310 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015311, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015311 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.bo" + "olean.polygon_offset_fill_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015311 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015311 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015312, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015312 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.b" + "oolean.polygon_offset_fill_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015312 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015312 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015313, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015313 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.bool" + "ean.sample_alpha_to_coverage_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015313 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015313 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015314, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015314 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.bool" + "ean.sample_alpha_to_coverage_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015314 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015314 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015315, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015315 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.bool" + "ean.sample_alpha_to_coverage_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015315 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015315 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015316, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015316 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.boo" + "lean.sample_alpha_to_coverage_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015316 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015316 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015317, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015317 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query" + ".boolean.sample_coverage_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015317 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015317 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015318, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015318 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query." + "boolean.sample_coverage_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015318 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015318 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015319, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015319 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query." + "boolean.sample_coverage_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015319 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015319 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015320, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015320 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query" + ".boolean.sample_coverage_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015320 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015320 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015321, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015321 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_quer" + "y.boolean.scissor_test_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015321 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015321 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015322, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015322 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_quer" + "y.boolean.scissor_test_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015322 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015322 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015323, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015323 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_quer" + "y.boolean.scissor_test_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015323 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015323 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015324, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015324 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_que" + "ry.boolean.scissor_test_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015324 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015324 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015325, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015325 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_quer" + "y.boolean.stencil_test_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015325 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015325 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015326, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015326 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_quer" + "y.boolean.stencil_test_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015326 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015326 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015327, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015327 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_quer" + "y.boolean.stencil_test_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015327 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015327 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015328, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015328 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_que" + "ry.boolean.stencil_test_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015328 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015328 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015329, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015329 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_que" + "ry.boolean.depth_test_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015329 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015329 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015330, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015330 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_que" + "ry.boolean.depth_test_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015330 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015330 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015331, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015331 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_que" + "ry.boolean.depth_test_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015331 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015331 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015332, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015332 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_qu" + "ery.boolean.depth_test_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015332 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015332 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015333, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015333 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_" + "query.boolean.blend_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015333 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015333 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015334, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015334 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_q" + "uery.boolean.blend_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015334 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015334 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015335, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015335 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_q" + "uery.boolean.blend_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015335 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015335 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015336, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015336 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_" + "query.boolean.blend_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015336 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015336 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015337, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015337 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_q" + "uery.boolean.dither_isenabled", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015337 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015337 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015338, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015338 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_q" + "uery.boolean.dither_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015338 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015338 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015339, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015339 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_q" + "uery.boolean.dither_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015339 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015339 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015340, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015340 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_" + "query.boolean.dither_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015340 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015340 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015341, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015341 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.boo" + "lean.sample_coverage_invert_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015341 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015341 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015342, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015342 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.boo" + "lean.sample_coverage_invert_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015342 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015342 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015343, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015343 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query.bo" + "olean.sample_coverage_invert_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015343 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015343 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015344, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015344 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query." + "boolean.color_writemask_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015344 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015344 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015345, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015345 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query." + "boolean.color_writemask_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015345 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015345 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015346, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015346 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query" + ".boolean.color_writemask_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015346 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015346 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015347, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015347 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query." + "boolean.depth_writemask_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015347 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015347 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015348, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015348 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query." + "boolean.depth_writemask_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015348 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015348 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015349, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015349 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query" + ".boolean.depth_writemask_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015349 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015349 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015350, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015350 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query." + "boolean.shader_compiler_getboolean", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015350 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015350 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015351, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015351 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query." + "boolean.shader_compiler_getinteger", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015351 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015351 end"; +} + +static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015352, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_015352 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.state_query" + ".boolean.shader_compiler_getfloat", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_015352 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_015352 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_minusTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_minusTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..5081f5b4a992eae22edcd3132660d0c398d02638 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_minusTestCase.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 "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003980, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003980 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.lowp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003980 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003980 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003981, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003981 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.lowp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003981 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003981 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003982, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003982 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.mediump_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003982 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003982 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003983, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003983 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.un" + "ary_operator.minus.mediump_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003983 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003983 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003984, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003984 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.highp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003984 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003984 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003985, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003985 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.highp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003985 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003985 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003986, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003986 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.lowp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003986 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003986 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003987, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003987 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.lowp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003987 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003987 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003988, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003988 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.mediump_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003988 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003988 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003989, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003989 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.mediump_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003989 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003989 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003990, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003990 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.highp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003990 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003990 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003991, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003991 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.highp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003991 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003991 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003992, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003992 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.lowp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003992 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003992 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003993, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003993 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.lowp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003993 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003993 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003994, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003994 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.mediump_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003994 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003994 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003995, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003995 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.mediump_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003995 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003995 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003996, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003996 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.highp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003996 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003996 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003997, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003997 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.highp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003997 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003997 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003998, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003998 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.lowp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003998 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003998 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003999, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003999 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.lowp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003999 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003999 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004000, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004000 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.mediump_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004000 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004000 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004001, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004001 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.mediump_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004001 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004001 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004002, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004002 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.highp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004002 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004002 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004003, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004003 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.highp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004003 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004003 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004004, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004004 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.unary_operator.minus.lowp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004004 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004004 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004005, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004005 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.lowp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004005 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004005 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004006, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004006 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.mediump_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004006 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004006 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004007, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004007 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.mediump_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004007 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004007 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004008, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004008 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.highp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004008 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004008 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004009, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004009 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.highp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004009 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004009 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004010, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004010 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.lowp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004010 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004010 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004011, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004011 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.lowp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004011 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004011 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004012, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004012 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.mediump_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004012 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004012 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004013, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004013 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.un" + "ary_operator.minus.mediump_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004013 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004013 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004014, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004014 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.highp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004014 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004014 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004015, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004015 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.highp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004015 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004015 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004016, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004016 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.lowp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004016 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004016 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004017, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004017 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.lowp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004017 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004017 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004018, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004018 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.mediump_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004018 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004018 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004019, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004019 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.un" + "ary_operator.minus.mediump_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004019 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004019 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004020, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004020 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.highp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004020 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004020 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004021, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004021 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.highp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004021 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004021 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004022, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004022 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.minus.lowp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004022 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004022 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004023, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004023 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.lowp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004023 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004023 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004024, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004024 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.mediump_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004024 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004024 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004025, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004025 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.un" + "ary_operator.minus.mediump_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004025 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004025 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004026, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004026 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.minus.highp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004026 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004026 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004027, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004027 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.minus.highp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004027 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004027 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_plusTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_plusTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..34b5692101daa9b74c552f91d9351145676bdc88 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_plusTestCase.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 "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003932, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003932 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.lowp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003932 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003932 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003933, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003933 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.lowp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003933 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003933 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003934, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003934 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.mediump_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003934 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003934 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003935, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003935 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.plus.mediump_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003935 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003935 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003936, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003936 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.highp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003936 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003936 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003937, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003937 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.highp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003937 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003937 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003938, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003938 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.unary_operator.plus.lowp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003938 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003938 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003939, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003939 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.lowp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003939 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003939 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003940, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003940 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.mediump_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003940 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003940 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003941, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003941 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.plus.mediump_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003941 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003941 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003942, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003942 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.highp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003942 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003942 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003943, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003943 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.highp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003943 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003943 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003944, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003944 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.unary_operator.plus.lowp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003944 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003944 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003945, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003945 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.lowp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003945 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003945 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003946, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003946 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.mediump_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003946 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003946 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003947, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003947 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.plus.mediump_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003947 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003947 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003948, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003948 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.highp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003948 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003948 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003949, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003949 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.highp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003949 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003949 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003950, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003950 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.unary_operator.plus.lowp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003950 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003950 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003951, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003951 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.lowp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003951 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003951 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003952, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003952 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.mediump_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003952 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003952 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003953, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003953 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.plus.mediump_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003953 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003953 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003954, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003954 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.highp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003954 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003954 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003955, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003955 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.highp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003955 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003955 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003956, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003956 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.unary_operator.plus.lowp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003956 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003956 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003957, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003957 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.lowp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003957 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003957 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003958, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003958 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.mediump_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003958 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003958 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003959, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003959 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.mediump_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003959 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003959 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003960, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003960 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operato" + "r.unary_operator.plus.highp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003960 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003960 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003961, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003961 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.highp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003961 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003961 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003962, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003962 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.lowp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003962 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003962 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003963, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003963 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.lowp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003963 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003963 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003964, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003964 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.mediump_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003964 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003964 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003965, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003965 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.plus.mediump_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003965 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003965 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003966, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003966 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.highp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003966 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003966 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003967, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003967 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.highp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003967 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003967 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003968, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003968 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.lowp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003968 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003968 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003969, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003969 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.lowp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003969 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003969 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003970, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003970 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.mediump_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003970 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003970 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003971, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003971 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.plus.mediump_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003971 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003971 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003972, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003972 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.highp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003972 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003972 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003973, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003973 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.highp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003973 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003973 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003974, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003974 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.lowp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003974 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003974 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003975, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003975 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.lowp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003975 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003975 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003976, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003976 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.mediump_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003976 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003976 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003977, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003977 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.u" + "nary_operator.plus.mediump_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003977 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003977 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003978, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003978 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator" + ".unary_operator.plus.highp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003978 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003978 end"; +} + +static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003979, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003979 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator." + "unary_operator.plus.highp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003979 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003979 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..4ab9430e4c1a2428c313784c998623d5a227f780 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.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 "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004078, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004078 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.lowp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004078 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004078 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004079, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004079 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.lowp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004079 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004079 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004080, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004080 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.mediump_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004080 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004080 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004081, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004081 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_effect.mediump_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004081 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004081 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004082, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004082 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.highp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004082 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004082 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004083, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004083 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.highp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004083 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004083 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004084, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004084 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_effect.lowp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004084 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004084 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004085, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004085 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.lowp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004085 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004085 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004086, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004086 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.mediump_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004086 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004086 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004087, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004087 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_effect.mediump_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004087 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004087 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004088, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004088 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.highp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004088 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004088 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004089, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004089 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.highp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004089 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004089 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004090, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004090 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_effect.lowp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004090 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004090 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004091, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004091 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.lowp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004091 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004091 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004092, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004092 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.mediump_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004092 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004092 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004093, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004093 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_effect.mediump_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004093 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004093 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004094, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004094 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.highp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004094 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004094 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004095, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004095 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.highp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004095 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004095 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004096, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004096 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_effect.lowp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004096 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004096 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004097, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004097 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.lowp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004097 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004097 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004098, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004098 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.mediump_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004098 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004098 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004099, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004099 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_effect.mediump_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004099 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004099 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004100, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004100 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.highp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004100 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004100 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004101, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004101 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.highp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004101 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004101 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004102, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004102 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_effect.lowp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004102 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004102 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004103, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004103 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.lowp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004103 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004103 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004104, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004104 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.mediump_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004104 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004104 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004105, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004105 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.mediump_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004105 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004105 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004106, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004106 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_effect.highp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004106 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004106 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004107, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004107 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.highp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004107 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004107 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004108, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004108 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.lowp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004108 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004108 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004109, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004109 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.lowp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004109 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004109 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004110, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004110 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.mediump_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004110 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004110 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004111, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004111 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_effect.mediump_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004111 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004111 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004112, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004112 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.highp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004112 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004112 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004113, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004113 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.highp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004113 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004113 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004114, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004114 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.lowp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004114 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004114 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004115, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004115 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.lowp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004115 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004115 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004116, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004116 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.mediump_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004116 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004116 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004117, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004117 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_effect.mediump_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004117 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004117 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004118, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004118 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.highp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004118 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004118 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004119, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004119 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.highp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004119 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004119 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004120, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004120 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.lowp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004120 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004120 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004121, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004121 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.lowp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004121 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004121 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004122, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004122 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.mediump_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004122 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004122 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004123, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004123 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_effect.mediump_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004123 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004123 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004124, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004124 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_effect.highp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004124 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004124 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004125, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004125 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_effect.highp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004125 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004125 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..dbc7fef9b55123130a77c6a1770a42ab68013f15 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.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 "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004270, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004270 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.lowp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004270 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004270 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004271, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004271 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.lowp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004271 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004271 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004272, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004272 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.mediump_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004272 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004272 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004273, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004273 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_result.mediump_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004273 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004273 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004274, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004274 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.highp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004274 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004274 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004275, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004275 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.highp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004275 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004275 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004276, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004276 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_result.lowp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004276 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004276 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004277, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004277 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.lowp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004277 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004277 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004278, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004278 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.mediump_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004278 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004278 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004279, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004279 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_result.mediump_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004279 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004279 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004280, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004280 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.highp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004280 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004280 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004281, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004281 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.highp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004281 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004281 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004282, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004282 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_result.lowp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004282 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004282 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004283, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004283 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.lowp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004283 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004283 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004284, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004284 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.mediump_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004284 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004284 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004285, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004285 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_result.mediump_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004285 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004285 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004286, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004286 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.highp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004286 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004286 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004287, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004287 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.highp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004287 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004287 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004288, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004288 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_result.lowp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004288 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004288 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004289, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004289 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.lowp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004289 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004289 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004290, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004290 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.mediump_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004290 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004290 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004291, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004291 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_result.mediump_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004291 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004291 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004292, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004292 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.highp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004292 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004292 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004293, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004293 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.highp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004293 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004293 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004294, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004294 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_result.lowp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004294 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004294 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004295, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004295 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.lowp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004295 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004295 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004296, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004296 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.mediump_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004296 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004296 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004297, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004297 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.mediump_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004297 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004297 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004298, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004298 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_decrement_result.highp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004298 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004298 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004299, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004299 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.highp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004299 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004299 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004300, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004300 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.lowp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004300 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004300 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004301, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004301 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.lowp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004301 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004301 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004302, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004302 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.mediump_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004302 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004302 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004303, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004303 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_result.mediump_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004303 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004303 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004304, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004304 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.highp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004304 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004304 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004305, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004305 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.highp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004305 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004305 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004306, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004306 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.lowp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004306 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004306 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004307, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004307 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.lowp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004307 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004307 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004308, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004308 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.mediump_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004308 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004308 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004309, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004309 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_result.mediump_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004309 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004309 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004310, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004310 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.highp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004310 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004310 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004311, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004311 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.highp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004311 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004311 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004312, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004312 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.lowp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004312 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004312 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004313, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004313 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.lowp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004313 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004313 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004314, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004314 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.mediump_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004314 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004314 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004315, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004315 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_decrement_result.mediump_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004315 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004315 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004316, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004316 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_decrement_result.highp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004316 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004316 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004317, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004317 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_decrement_result.highp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004317 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004317 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..83e53e9fa49a43a41a6bba598f87e2bdfd1c21c1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_effectTestCase.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 "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004030, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004030 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.lowp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004030 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004030 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004031, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004031 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.lowp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004031 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004031 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004032, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004032 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.mediump_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004032 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004032 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004033, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004033 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_increment_effect.mediump_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004033 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004033 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004034, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004034 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.highp_float_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004034 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004034 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004035, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004035 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.highp_float_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004035 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004035 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004036, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004036 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_increment_effect.lowp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004036 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004036 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004037, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004037 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.lowp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004037 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004037 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004038, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004038 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.mediump_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004038 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004038 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004039, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004039 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_increment_effect.mediump_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004039 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004039 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004040, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004040 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.highp_vec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004040 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004040 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004041, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004041 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.highp_vec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004041 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004041 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004042, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004042 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_increment_effect.lowp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004042 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004042 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004043, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004043 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.lowp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004043 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004043 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004044, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004044 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.mediump_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004044 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004044 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004045, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004045 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_increment_effect.mediump_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004045 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004045 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004046, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004046 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.highp_vec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004046 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004046 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004047, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004047 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.highp_vec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004047 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004047 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004048, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004048 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_increment_effect.lowp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004048 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004048 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004049, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004049 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.lowp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004049 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004049 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004050, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004050 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.mediump_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004050 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004050 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004051, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004051 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_increment_effect.mediump_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004051 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004051 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004052, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004052 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.highp_vec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004052 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004052 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004053, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004053 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.highp_vec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004053 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004053 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004054, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004054 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_increment_effect.lowp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004054 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004054 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004055, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004055 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.lowp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004055 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004055 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004056, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004056 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.mediump_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004056 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004056 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004057, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004057 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.mediump_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004057 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004057 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004058, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004058 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_" + "operator.pre_increment_effect.highp_int_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004058 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004058 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004059, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004059 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.highp_int_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004059 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004059 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004060, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004060 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.lowp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004060 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004060 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004061, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004061 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.lowp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004061 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004061 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004062, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004062 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.mediump_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004062 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004062 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004063, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004063 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_increment_effect.mediump_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004063 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004063 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004064, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004064 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.highp_ivec2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004064 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004064 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004065, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004065 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.highp_ivec2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004065 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004065 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004066, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004066 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.lowp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004066 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004066 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004067, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004067 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.lowp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004067 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004067 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004068, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004068 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.mediump_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004068 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004068 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004069, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004069 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_increment_effect.mediump_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004069 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004069 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004070, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004070 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.highp_ivec3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004070 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004070 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004071, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004071 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.highp_ivec3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004071 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004071 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004072, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004072 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.lowp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004072 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004072 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004073, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004073 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.lowp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004073 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004073 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004074, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004074 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.mediump_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004074 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004074 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004075, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004075 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_ope" + "rator.pre_increment_effect.mediump_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004075 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004075 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004076, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004076 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_o" + "perator.pre_increment_effect.highp_ivec4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004076 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004076 end"; +} + +static HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004077, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_004077 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.operator.unary_op" + "erator.pre_increment_effect.highp_ivec4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20005TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20005TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20005TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20005TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20005TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_004077 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_004077 end"; +}