From 666b3f8bdd15c4e09ec34064576bf1512b9e9b51 Mon Sep 17 00:00:00 2001 From: wangshi Date: Mon, 4 Jul 2022 16:52:23 +0800 Subject: [PATCH] add depq2 testcase Signed-off-by: wangshi --- ..._operator_pre_increment_effectTestCase.cpp | 1318 +++++++++++++++++ 1 file changed, 1318 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp 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 000000000..83e53e9fa --- /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"; +} -- GitLab