/* * 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"; }