From d7ecab2de2789d86dca691f63099ad2be762f5a4 Mon Sep 17 00:00:00 2001 From: duancheng Date: Tue, 28 Jun 2022 17:07:00 +0800 Subject: [PATCH] test Signed-off-by: duancheng --- ...gles32internalformat_texture2dTestCase.cpp | 2263 +++++++++++++++++ 1 file changed, 2263 insertions(+) create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_texture2dTestCase.cpp diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_texture2dTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_texture2dTestCase.cpp new file mode 100644 index 000000000..83f1d67f7 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_texture2dTestCase.cpp @@ -0,0 +1,2263 @@ +/* + * 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 "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001030, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001030 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgba_unsigned_byte_rgba", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001030 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001030 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001031, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001031 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rgb_unsigned_byte_rgb", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001031 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001031 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001032, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001032 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.rgba_unsigned_short_4_4_4_4_rgba", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001032 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001032 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001033, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001033 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.lu" + "minance_alpha_unsigned_byte_luminance_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001033 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001033 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001034, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001034 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textur" + "e2d.luminance_unsigned_byte_luminance", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001034 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001034 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001035, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001035 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.te" + "xture2d.alpha_unsigned_byte_alpha", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001035 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001035 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001036, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001036 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2" + "d.rgba_unsigned_int_2_10_10_10_rev_rgba", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001036 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001036 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001037, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001037 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d." + "rgba_unsigned_int_2_10_10_10_rev_rgb10_a2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001037 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001037 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001038, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001038 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d" + ".rgba_unsigned_int_2_10_10_10_rev_rgb5_a1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001038 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001038 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001039, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001039 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture" + "2d.rgb_unsigned_int_2_10_10_10_rev_rgb", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001039 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001039 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001040, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001040 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.de" + "pth_component_unsigned_short_depth_component", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001040 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001040 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001041, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001041 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.d" + "epth_component_unsigned_int_depth_component", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001041 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001041 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001042, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001042 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.de" + "pth_stencil_unsigned_int_24_8_depth_stencil", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001042 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001042 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001043, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001043 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rgb_half_float_oes_rgb", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001043 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001043 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001044, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001044 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgba_half_float_oes_rgba", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001044 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001044 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001045, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001045 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.text" + "ure2d.rgb_half_float_oes_rgb_linear", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001045 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001045 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001046, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001046 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.rgba_half_float_oes_rgba_linear", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001046 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001046 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001047, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001047 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalform" + "at.texture2d.rgb_float_rgb32f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001047 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001047 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001048, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001048 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalforma" + "t.texture2d.rgba_float_rgba32f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001048 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001048 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001049, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001049 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgb_float_rgb32f_linear", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001049 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001049 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001050, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001050 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.te" + "xture2d.rgba_float_rgba32f_linear", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001050 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001050 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001051, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001051 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgba_unsigned_byte_rgba8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001051 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001051 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001052, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001052 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.te" + "xture2d.rgba_unsigned_byte_rgb5_a1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001052 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001052 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001053, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001053 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgba_unsigned_byte_rgba4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001053 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001053 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001054, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001054 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.rgba_unsigned_byte_srgb8_alpha8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001054 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001054 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001055, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001055 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rgba_byte_rgba8_snorm", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001055 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001055 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001056, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001056 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textur" + "e2d.rgba_unsigned_short_4_4_4_4_rgba4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001056 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001056 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001057, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001057 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture" + "2d.rgba_unsigned_short_5_5_5_1_rgb5_a1", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001057 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001057 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001058, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001058 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgba_half_float_rgba16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001058 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001058 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001059, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001059 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalforma" + "t.texture2d.rgba_float_rgba16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001059 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001059 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001060, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001060 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textur" + "e2d.rgba_integer_unsigned_byte_rgba8ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001060 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001060 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001061, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001061 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgba_integer_byte_rgba8i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001061 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001061 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001062, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001062 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture" + "2d.rgba_integer_unsigned_short_rgba16ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001062 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001062 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001063, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001063 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.te" + "xture2d.rgba_integer_short_rgba16i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001063 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001063 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001064, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001064 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textur" + "e2d.rgba_integer_unsigned_int_rgba32ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001064 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001064 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001065, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001065 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgba_integer_int_rgba32i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001065 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001065 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001066, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001066 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.rgba_" + "integer_unsigned_int_2_10_10_10_rev_rgb10_a2ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001066 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001066 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001067, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001067 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rgb_unsigned_byte_rgb8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001067 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001067 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001068, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001068 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgb_unsigned_byte_rgb565", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001068 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001068 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001069, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001069 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgb_unsigned_byte_srgb8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001069 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001069 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001070, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001070 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.rgb_unsigned_short_5_6_5_rgb565", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001070 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001070 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001071, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001071 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.rgb" + "_unsigned_int_10f_11f_11f_rev_r11f_g11f_b10f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001071 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001071 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001072, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001072 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture" + "2d.rgb_unsigned_int_5_9_9_9_rev_rgb9_e5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001072 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001072 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001073, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001073 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rgb_half_float_rgb16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001073 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001073 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001074, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001074 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.text" + "ure2d.rgb_half_float_r11f_g11f_b10f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001074 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001074 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001075, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001075 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rgb_half_float_rgb9_e5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001075 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001075 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001076, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001076 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalform" + "at.texture2d.rgb_float_rgb16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001076 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001076 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001077, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001077 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgb_float_r11f_g11f_b10f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001077 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001077 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001078, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001078 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalforma" + "t.texture2d.rgb_float_rgb9_e5", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001078 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001078 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001079, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001079 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.rgb_integer_unsigned_byte_rgb8ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001079 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001079 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001080, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001080 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rgb_integer_byte_rgb8i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001080 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001080 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001081, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001081 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textur" + "e2d.rgb_integer_unsigned_short_rgb16ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001081 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001081 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001082, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001082 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.t" + "exture2d.rgb_integer_short_rgb16i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001082 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001082 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001083, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001083 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.rgb_integer_unsigned_int_rgb32ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001083 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001083 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001084, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001084 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rgb_integer_int_rgb32i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001084 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001084 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001085, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001085 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat" + ".texture2d.rg_unsigned_byte_rg8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001085 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001085 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001086, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001086 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat" + ".texture2d.rg_half_float_rg16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001086 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001086 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001087, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001087 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalfor" + "mat.texture2d.rg_float_rg32f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001087 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001087 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001088, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001088 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalfor" + "mat.texture2d.rg_float_rg16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001088 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001088 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001089, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001089 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.text" + "ure2d.rg_integer_unsigned_byte_rg8ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001089 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001089 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001090, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001090 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat" + ".texture2d.rg_integer_byte_rg8i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001090 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001090 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001091, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001091 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.rg_integer_unsigned_short_rg16ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001091 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001091 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001092, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001092 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.rg_integer_short_rg16i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001092 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001092 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001093, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001093 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.text" + "ure2d.rg_integer_unsigned_int_rg32ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001093 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001093 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001094, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001094 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat" + ".texture2d.rg_integer_int_rg32i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001094 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001094 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001095, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001095 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat" + ".texture2d.red_unsigned_byte_r8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001095 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001095 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001096, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001096 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat" + ".texture2d.red_half_float_r16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001096 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001096 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001097, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001097 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalfor" + "mat.texture2d.red_float_r32f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001097 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001097 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001098, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001098 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalfor" + "mat.texture2d.red_float_r16f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001098 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001098 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001099, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001099 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.text" + "ure2d.red_integer_unsigned_byte_r8ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001099 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001099 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001100, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001100 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat" + ".texture2d.red_integer_byte_r8i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001100 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001100 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001101, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001101 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.red_integer_unsigned_short_r16ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001101 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001101 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001102, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001102 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat." + "texture2d.red_integer_short_r16i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001102 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001102 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001103, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001103 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.text" + "ure2d.red_integer_unsigned_int_r32ui", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001103 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001103 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001104, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001104 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat" + ".texture2d.red_integer_int_r32i", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001104 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001104 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001105, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001105 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.dep" + "th_component_unsigned_short_depth_component16", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001105 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001105 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001106, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001106 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.de" + "pth_component_unsigned_int_depth_component24", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001106 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001106 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001107, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001107 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.de" + "pth_component_unsigned_int_depth_component16", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001107 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001107 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001108, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001108 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d" + ".depth_component_float_depth_component32f", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001108 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001108 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001109, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001109 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.dep" + "th_stencil_unsigned_int_24_8_depth24_stencil8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001109 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001109 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001110, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001110 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.texture2d.depth_sten" + "cil_float_32_unsigned_int_24_8_rev_depth32f_stencil8", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001110 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001110 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001111, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001111 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.textu" + "re2d.rgba_unsigned_short_5_5_5_1_rgba", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001111 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001111 end"; +} + +static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001112, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001112 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES32.core.internalformat.tex" + "ture2d.rgb_unsigned_short_5_6_5_rgb", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001112 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001112 end"; +} -- GitLab