diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_teximage2d_alignTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_teximage2d_alignTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..8f082b8c1c0bb859571159b90d7c10814ca5fc14 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_teximage2d_alignTestCase.cpp @@ -0,0 +1,940 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010725, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010725 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.speci" + "fication.teximage2d_align.2d_l8_4_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010725 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010725 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010726, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010726 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.speci" + "fication.teximage2d_align.2d_l8_63_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010726 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010726 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010727, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010727 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.speci" + "fication.teximage2d_align.2d_l8_63_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010727 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010727 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010728, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010728 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.speci" + "fication.teximage2d_align.2d_l8_63_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010728 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010728 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010729, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010729 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.speci" + "fication.teximage2d_align.2d_l8_63_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010729 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010729 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010730, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010730 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.2d_rgba4444_51_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010730 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010730 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010731, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010731 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.2d_rgba4444_51_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010731 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010731 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010732, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010732 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.2d_rgba4444_51_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010732 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010732 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010733, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010733 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.2d_rgba4444_51_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010733 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010733 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010734, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010734 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.teximage2d_align.2d_rgb888_39_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010734 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010734 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010735, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010735 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.teximage2d_align.2d_rgb888_39_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010735 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010735 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010736, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010736 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.teximage2d_align.2d_rgb888_39_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010736 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010736 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010737, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010737 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.teximage2d_align.2d_rgb888_39_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010737 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010737 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010738, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010738 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.2d_rgba8888_47_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010738 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010738 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010739, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010739 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.2d_rgba8888_47_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010739 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010739 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010740, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010740 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.2d_rgba8888_47_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010740 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010740 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010741, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010741 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.2d_rgba8888_47_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010741 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010741 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010742, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010742 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.teximage2d_align.cube_l8_4_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010742 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010742 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010743, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010743 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.teximage2d_align.cube_l8_63_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010743 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010743 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010744, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010744 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.teximage2d_align.cube_l8_63_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010744 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010744 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010745, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010745 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.teximage2d_align.cube_l8_63_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010745 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010745 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010746, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010746 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.teximage2d_align.cube_l8_63_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010746 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010746 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010747, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010747 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.teximage2d_align.cube_rgba4444_51_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010747 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010747 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010748, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010748 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.teximage2d_align.cube_rgba4444_51_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010748 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010748 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010749, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010749 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.teximage2d_align.cube_rgba4444_51_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010749 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010749 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010750, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010750 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.teximage2d_align.cube_rgba4444_51_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010750 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010750 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010751, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010751 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.cube_rgb888_39_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010751 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010751 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010752, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010752 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.cube_rgb888_39_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010752 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010752 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010753, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010753 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.cube_rgb888_39_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010753 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010753 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010754, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010754 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.teximage2d_align.cube_rgb888_39_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010754 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010754 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010755, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010755 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.teximage2d_align.cube_rgba8888_47_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010755 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010755 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010756, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010756 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.teximage2d_align.cube_rgba8888_47_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010756 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010756 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010757, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010757 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.teximage2d_align.cube_rgba8888_47_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010757 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010757 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010758, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010758 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.teximage2d_align.cube_rgba8888_47_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010758 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010758 end"; +} diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..5d2087f5a66d4d4e7b82cba023746b296241d52f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp @@ -0,0 +1,1102 @@ +/* + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010811, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010811 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.texsubimage2d_align.2d_l8_1_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010811 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010811 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010812, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010812 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.texsubimage2d_align.2d_l8_1_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010812 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010812 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010813, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010813 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.texsubimage2d_align.2d_l8_1_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010813 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010813 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010814, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010814 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specif" + "ication.texsubimage2d_align.2d_l8_1_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010814 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010814 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010815, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010815 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.texsubimage2d_align.2d_l8_63_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010815 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010815 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010816, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010816 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.texsubimage2d_align.2d_l8_63_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010816 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010816 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010817, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010817 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.texsubimage2d_align.2d_l8_63_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010817 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010817 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010818, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010818 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.texsubimage2d_align.2d_l8_63_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010818 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010818 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010819, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010819 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.2d_rgba4444_51_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010819 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010819 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010820, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010820 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.2d_rgba4444_51_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010820 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010820 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010821, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010821 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.2d_rgba4444_51_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010821 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010821 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010822, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010822 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.2d_rgba4444_51_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010822 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010822 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010823, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010823 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.texsubimage2d_align.2d_rgb888_39_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010823 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010823 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010824, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010824 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.texsubimage2d_align.2d_rgb888_39_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010824 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010824 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010825, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010825 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.texsubimage2d_align.2d_rgb888_39_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010825 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010825 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010826, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010826 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifica" + "tion.texsubimage2d_align.2d_rgb888_39_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010826 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010826 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010827, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010827 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.2d_rgba8888_47_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010827 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010827 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010828, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010828 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.2d_rgba8888_47_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010828 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010828 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010829, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010829 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.2d_rgba8888_47_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010829 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010829 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010830, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010830 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.2d_rgba8888_47_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010830 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010830 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010831, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010831 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.texsubimage2d_align.cube_l8_1_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010831 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010831 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010832, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010832 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.texsubimage2d_align.cube_l8_1_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010832 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010832 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010833, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010833 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.texsubimage2d_align.cube_l8_1_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010833 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010833 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010834, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010834 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specifi" + "cation.texsubimage2d_align.cube_l8_1_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010834 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010834 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010835, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010835 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.texsubimage2d_align.cube_l8_63_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010835 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010835 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010836, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010836 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.texsubimage2d_align.cube_l8_63_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010836 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010836 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010837, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010837 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.texsubimage2d_align.cube_l8_63_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010837 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010837 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010838, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010838 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specific" + "ation.texsubimage2d_align.cube_l8_63_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010838 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010838 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010839, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010839 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificati" + "on.texsubimage2d_align.cube_rgba4444_51_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010839 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010839 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010840, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010840 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificati" + "on.texsubimage2d_align.cube_rgba4444_51_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010840 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010840 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010841, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010841 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificati" + "on.texsubimage2d_align.cube_rgba4444_51_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010841 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010841 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010842, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010842 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificati" + "on.texsubimage2d_align.cube_rgba4444_51_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010842 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010842 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010843, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010843 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.cube_rgb888_39_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010843 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010843 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010844, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010844 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.cube_rgb888_39_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010844 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010844 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010845, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010845 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.cube_rgb888_39_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010845 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010845 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010846, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010846 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificat" + "ion.texsubimage2d_align.cube_rgb888_39_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010846 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010846 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010847, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010847 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificati" + "on.texsubimage2d_align.cube_rgba8888_47_1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010847 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010847 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010848, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010848 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificati" + "on.texsubimage2d_align.cube_rgba8888_47_2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010848 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010848 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010849, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010849 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificati" + "on.texsubimage2d_align.cube_rgba8888_47_4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010849 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010849 end"; +} + +static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010850, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_010850 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.texture.specificati" + "on.texsubimage2d_align.cube_rgba8888_47_8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_010850 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_010850 end"; +}