From 8ed5a8f7e4951bdce50cbf2a70b6d7b97a814a23 Mon Sep 17 00:00:00 2001 From: wangshi Date: Mon, 4 Jul 2022 16:51:40 +0800 Subject: [PATCH] add depq2 testcase Signed-off-by: wangshi --- .../Deqpgles2unary_operator_plusTestCase.cpp | 1318 +++++++++++++++++ ..._operator_pre_decrement_effectTestCase.cpp | 1318 +++++++++++++++++ 2 files changed, 2636 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_plusTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp 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 000000000..34b569210 --- /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 000000000..4ab9430e4 --- /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"; +} -- GitLab