diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3pbo_renderbufferTestCase.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3pbo_renderbufferTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e1627ec3def5801a677a4631eec2273e513358c2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3pbo_renderbufferTestCase.cpp @@ -0,0 +1,1426 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30040TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039704, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039704 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rgba8_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039704 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039704 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039705, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039705 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rgba8_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039705 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039705 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039706, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039706 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rgba8i_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039706 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039706 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039707, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039707 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgba8i_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039707 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039707 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039708, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039708 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgba8ui_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039708 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039708 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039709, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039709 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgba8ui_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039709 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039709 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039710, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039710 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgba16f_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039710 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039710 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039711, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039711 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgba16f_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039711 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039711 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039712, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039712 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgba16i_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039712 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039712 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039713, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039713 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgba16i_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039713 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039713 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039714, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039714 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgba16ui_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039714 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039714 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039715, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039715 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rgba16ui_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039715 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039715 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039716, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039716 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgba32f_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039716 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039716 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039717, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039717 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgba32f_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039717 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039717 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039718, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039718 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgba32i_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039718 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039718 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039719, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039719 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgba32i_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039719 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039719 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039720, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039720 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgba32ui_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039720 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039720 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039721, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039721 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rgba32ui_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039721 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039721 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039722, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039722 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.rend" + "erbuffer.srgb8_alpha8_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039722 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039722 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039723, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039723 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.ren" + "derbuffer.srgb8_alpha8_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039723 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039723 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039724, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039724 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgb10_a2_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039724 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039724 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039725, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039725 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rgb10_a2_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039725 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039725 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039726, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039726 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.ren" + "derbuffer.rgb10_a2ui_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039726 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039726 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039727, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039727 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgb10_a2ui_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039727 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039727 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039728, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039728 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rgba4_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039728 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039728 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039729, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039729 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rgba4_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039729 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039729 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039730, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039730 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.re" + "nderbuffer.rgb5_a1_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039730 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039730 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039731, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039731 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgb5_a1_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039731 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039731 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039732, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039732 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgb8_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039732 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039732 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039733, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039733 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rgb8_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039733 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039733 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039734, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039734 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rgb565_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039734 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039734 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039735, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039735 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rgb565_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039735 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039735 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039736, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039736 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.rende" + "rbuffer.r11f_g11f_b10f_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039736 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039736 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039737, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039737 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.rend" + "erbuffer.r11f_g11f_b10f_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039737 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039737 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039738, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039738 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rg8_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039738 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039738 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039739, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039739 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pb" + "o.renderbuffer.rg8_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039739 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039739 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039740, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039740 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rg8i_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039740 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039740 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039741, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039741 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rg8i_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039741 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039741 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039742, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039742 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rg8ui_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039742 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039742 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039743, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039743 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rg8ui_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039743 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039743 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039744, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039744 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rg16f_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039744 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039744 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039745, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039745 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rg16f_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039745 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039745 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039746, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039746 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rg16i_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039746 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039746 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039747, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039747 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rg16i_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039747 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039747 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039748, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039748 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rg16ui_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039748 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039748 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039749, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039749 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rg16ui_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039749 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039749 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039750, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039750 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rg32f_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039750 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039750 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039751, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039751 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rg32f_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039751 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039751 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039752, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039752 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rg32i_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039752 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039752 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039753, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039753 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo" + ".renderbuffer.rg32i_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039753 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039753 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039754, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039754 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo.r" + "enderbuffer.rg32ui_triangles", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039754 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039754 end"; +} + +static HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039755, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_039755 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.pbo." + "renderbuffer.rg32ui_clears", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30040TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30040TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30040TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30040TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30040TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_039755 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_039755 end"; +} diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3preprocessor_expressionsTestCase.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3preprocessor_expressionsTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..d83608594a2816f6f92d47f1989e0e6fc72cb46d --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3preprocessor_expressionsTestCase.cpp @@ -0,0 +1,1426 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30002TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001174, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001174 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepro" + "cessor.expressions.shift_left_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001174 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001174 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001175, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001175 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproc" + "essor.expressions.shift_left_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001175 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001175 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001176, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001176 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepro" + "cessor.expressions.shift_right_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001176 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001176 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001177, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001177 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproc" + "essor.expressions.shift_right_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001177 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001177 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001178, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001178 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproc" + "essor.expressions.cmp_less_than_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001178 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001178 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001179, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001179 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproce" + "ssor.expressions.cmp_less_than_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001179 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001179 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001180, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001180 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproc" + "essor.expressions.less_or_equal_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001180 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001180 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001181, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001181 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproce" + "ssor.expressions.less_or_equal_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001181 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001181 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001182, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001182 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.pr" + "eprocessor.expressions.or_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001182 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001182 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001183, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001183 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.pre" + "processor.expressions.or_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001183 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001183 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001184, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001184 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.pr" + "eprocessor.expressions.and_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001184 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001184 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001185, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001185 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.pre" + "processor.expressions.and_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001185 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001185 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001186, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001186 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.pr" + "eprocessor.expressions.xor_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001186 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001186 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001187, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001187 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.pre" + "processor.expressions.xor_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001187 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001187 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001188, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001188 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.pr" + "eprocessor.expressions.mod_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001188 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001188 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001189, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001189 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.pre" + "processor.expressions.mod_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001189 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001189 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001190, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001190 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproces" + "sor.expressions.parenthesis_value_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001190 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001190 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001191, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001191 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocess" + "or.expressions.parenthesis_value_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001191 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001191 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001192, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001192 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocess" + "or.expressions.parenthesis_tricky_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001192 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001192 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001193, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001193 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocesso" + "r.expressions.parenthesis_tricky_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001193 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001193 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001194, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001194 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproces" + "sor.expressions.parenthesis_if_no_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001194 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001194 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001195, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001195 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocess" + "or.expressions.parenthesis_if_no_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001195 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001195 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001196, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001196 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproce" + "ssor.expressions.parenthesis_if_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001196 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001196 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001197, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001197 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproces" + "sor.expressions.parenthesis_if_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001197 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001197 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001198, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001198 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocesso" + "r.expressions.parenthesis_multi_if_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001198 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001198 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001199, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001199 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor" + ".expressions.parenthesis_multi_if_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001199 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001199 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001200, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001200 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocesso" + "r.expressions.parenthesis_single_if_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001200 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001200 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001201, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001201 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor" + ".expressions.parenthesis_single_if_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001201 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001201 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001202, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001202 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor" + ".expressions.parenthesis_ifelse_true_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001202 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001202 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001203, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001203 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor." + "expressions.parenthesis_ifelse_true_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001203 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001203 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001204, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001204 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor." + "expressions.parenthesis_ifelse_false_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001204 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001204 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001205, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001205 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor.e" + "xpressions.parenthesis_ifelse_false_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001205 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001205 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001206, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001206 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproc" + "essor.expressions.eval_basic_0_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001206 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001206 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001207, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001207 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproce" + "ssor.expressions.eval_basic_0_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001207 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001207 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001208, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001208 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproc" + "essor.expressions.eval_basic_1_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001208 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001208 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001209, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001209 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preproce" + "ssor.expressions.eval_basic_1_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001209 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001209 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001210, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001210 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor." + "expressions.eval_simple_precedence_0_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001210 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001210 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001211, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001211 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor.e" + "xpressions.eval_simple_precedence_0_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001211 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001211 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001212, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001212 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor." + "expressions.eval_simple_precedence_1_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001212 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001212 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001213, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001213 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.preprocessor.e" + "xpressions.eval_simple_precedence_1_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001213 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001213 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001214, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001214 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepr" + "ocessor.expressions.defined_1_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001214 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001214 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001215, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001215 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepro" + "cessor.expressions.defined_1_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001215 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001215 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001216, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001216 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepr" + "ocessor.expressions.defined_2_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001216 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001216 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001217, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001217 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepro" + "cessor.expressions.defined_2_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001217 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001217 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001218, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001218 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepr" + "ocessor.expressions.defined_3_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001218 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001218 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001219, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001219 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepro" + "cessor.expressions.defined_3_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001219 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001219 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001220, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001220 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepr" + "ocessor.expressions.defined_4_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001220 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001220 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001221, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001221 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepro" + "cessor.expressions.defined_4_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001221 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001221 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001222, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001222 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepr" + "ocessor.expressions.defined_5_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001222 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001222 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001223, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001223 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepro" + "cessor.expressions.defined_5_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001223 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001223 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001224, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001224 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepr" + "ocessor.expressions.defined_6_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001224 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001224 end"; +} + +static HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001225, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001225 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.prepro" + "cessor.expressions.defined_6_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001225 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001225 end"; +}