diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_stencilTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_stencilTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..ad312c10e15c70418b55375a6d95f04398601c98 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_stencilTestCase.cpp @@ -0,0 +1,1264 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012843, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012843 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderabl" + "e.texture.stencil.depth_component_unsigned_short", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012843 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012843 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012844, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012844 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderab" + "le.texture.stencil.depth_component_unsigned_int", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012844 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012844 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012845, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012845 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.texture.stencil.red_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012845 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012845 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012846, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012846 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.texture.stencil.red_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012846 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012846 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012847, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012847 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.texture.stencil.red_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012847 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012847 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012848, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012848 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.texture.stencil.rgb_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012848 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012848 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012849, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012849 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.texture.stencil.rgb_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012849 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012849 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012850, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012850 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.render" + "able.texture.stencil.rgb_unsigned_short_5_6_5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012850 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012850 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012851, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012851 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderabl" + "e.texture.stencil.rgb_unsigned_int_2_10_10_10_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012851 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012851 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012852, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012852 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable" + ".texture.stencil.rgb_unsigned_int_10f_11f_11f_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012852 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012852 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012853, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012853 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.texture.stencil.rgb_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012853 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012853 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012854, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012854 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.texture.stencil.rgba_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012854 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012854 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012855, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012855 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness" + ".renderable.texture.stencil.rgba_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012855 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012855 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012856, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012856 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rendera" + "ble.texture.stencil.rgba_unsigned_short_4_4_4_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012856 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012856 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012857, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012857 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.rendera" + "ble.texture.stencil.rgba_unsigned_short_5_5_5_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012857 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012857 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012858, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012858 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderable" + ".texture.stencil.rgba_unsigned_int_2_10_10_10_rev", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012858 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012858 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012859, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012859 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.texture.stencil.rgba_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012859 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012859 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012860, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012860 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completen" + "ess.renderable.texture.stencil.rgb8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012860 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012860 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012861, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012861 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completen" + "ess.renderable.texture.stencil.rgb10", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012861 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012861 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012862, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012862 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completen" + "ess.renderable.texture.stencil.rgba4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012862 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012862 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012863, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012863 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completene" + "ss.renderable.texture.stencil.rgb5_a1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012863 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012863 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012864, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012864 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completen" + "ess.renderable.texture.stencil.rgba8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012864 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012864 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012865, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012865 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.texture.stencil.rgb10_a2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012865 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012865 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012866, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012866 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.texture.stencil.depth_component16", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012866 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012866 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012867, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012867 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.texture.stencil.depth_component24", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012867 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012867 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012868, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012868 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.texture.stencil.depth_component32", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012868 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012868 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012869, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012869 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.texture.stencil.rg_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012869 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012869 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012870, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012870 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.texture.stencil.rg_float", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012870 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012870 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012871, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012871 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.texture.stencil.rg_half_float_oes", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012871 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012871 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012872, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012872 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.complete" + "ness.renderable.texture.stencil.r8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012872 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012872 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012873, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012873 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.complete" + "ness.renderable.texture.stencil.rg8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012873 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012873 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012874, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012874 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completen" + "ess.renderable.texture.stencil.r16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012874 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012874 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012875, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012875 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completen" + "ess.renderable.texture.stencil.rg16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012875 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012875 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012876, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012876 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.renderabl" + "e.texture.stencil.depth_stencil_unsigned_int_24_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012876 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012876 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012877, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012877 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completene" + "ss.renderable.texture.stencil.rgba16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012877 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012877 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012878, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012878 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completene" + "ss.renderable.texture.stencil.rgb16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012878 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012878 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012879, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012879 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.re" + "nderable.texture.stencil.depth24_stencil8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012879 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012879 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012880, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012880 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.r" + "enderable.texture.stencil.r11f_g11f_b10f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012880 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012880 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012881, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012881 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.ren" + "derable.texture.stencil.srgb_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012881 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012881 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012882, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012882 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completen" + "ess.renderable.texture.stencil.srgb8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012882 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012882 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012883, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012883 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.render" + "able.texture.stencil.srgb_alpha_unsigned_byte", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012883 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012883 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012884, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012884 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness." + "renderable.texture.stencil.srgb8_alpha8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012884 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012884 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012885, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012885 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completeness.r" + "enderable.texture.stencil.stencil_index8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012885 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012885 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012886, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012886 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completene" + "ss.renderable.texture.stencil.rgb565", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012886 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012886 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012887, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012887 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completene" + "ss.renderable.texture.stencil.sr8_ext", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012887 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012887 end"; +} + +static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012888, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_012888 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.fbo.completenes" + "s.renderable.texture.stencil.srg8_ext", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_012888 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_012888 end"; +}