diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_matrix_subscriptTestCase1.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_matrix_subscriptTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..f0aa83c1922fadc61c13ec31a458a559f43b0e9d --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_matrix_subscriptTestCase1.cpp @@ -0,0 +1,967 @@ +/* + * 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 "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000291, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000291 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscrip" + "t.mat4x2_static_write_dynamic_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000291 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000291 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000292, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000292 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript" + ".mat4x2_static_write_static_loop_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000292 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000292 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000293, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000293 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4x2_static_write_static_loop_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000293 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000293 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000294, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000294 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4x2_static_write_dynamic_loop_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000294 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000294 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000295, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000295 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript.m" + "at4x2_static_write_dynamic_loop_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000295 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000295 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000296, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000296 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscri" + "pt.mat4x2_dynamic_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000296 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000296 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000297, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000297 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscrip" + "t.mat4x2_dynamic_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000297 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000297 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000298, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000298 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript" + ".mat4x2_static_loop_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000298 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000298 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000299, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000299 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4x2_static_loop_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000299 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000299 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000300, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000300 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4x2_dynamic_loop_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000300 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000300 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000301, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000301 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript.m" + "at4x2_dynamic_loop_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000301 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000301 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000302, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000302 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscri" + "pt.mat4x3_static_write_dynamic_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000302 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000302 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000303, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000303 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscrip" + "t.mat4x3_static_write_dynamic_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000303 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000303 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000304, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000304 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript" + ".mat4x3_static_write_static_loop_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000304 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000304 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000305, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000305 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4x3_static_write_static_loop_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000305 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000305 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000306, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000306 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4x3_static_write_dynamic_loop_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000306 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000306 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000307, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000307 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript.m" + "at4x3_static_write_dynamic_loop_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000307 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000307 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000308, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000308 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscri" + "pt.mat4x3_dynamic_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000308 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000308 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000309, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000309 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscrip" + "t.mat4x3_dynamic_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000309 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000309 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000310, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000310 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript" + ".mat4x3_static_loop_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000310 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000310 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000311, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000311 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4x3_static_loop_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000311 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000311 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000312, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000312 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4x3_dynamic_loop_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000312 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000312 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000313, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000313 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript.m" + "at4x3_dynamic_loop_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000313 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000313 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000314, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000314 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscr" + "ipt.mat4_static_write_dynamic_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000314 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000314 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000315, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000315 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscri" + "pt.mat4_static_write_dynamic_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000315 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000315 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000316, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000316 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscrip" + "t.mat4_static_write_static_loop_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000316 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000316 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000317, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000317 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript" + ".mat4_static_write_static_loop_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000317 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000317 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000318, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000318 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript" + ".mat4_static_write_dynamic_loop_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000318 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000318 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000319, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000319 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4_static_write_dynamic_loop_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000319 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000319 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000320, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000320 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscr" + "ipt.mat4_dynamic_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000320 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000320 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000321, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000321 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscri" + "pt.mat4_dynamic_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000321 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000321 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000322, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000322 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscrip" + "t.mat4_static_loop_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000322 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000322 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000323, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000323 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript" + ".mat4_static_loop_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000323 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000323 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000324, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000324 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript" + ".mat4_dynamic_loop_write_static_read_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000324 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000324 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000325, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000325 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.matrix_subscript." + "mat4_dynamic_loop_write_static_read_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30001TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30001TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30001TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30001TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30001TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_000325 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000325 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_sharedTestCase1.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_sharedTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..7362d22d9ba604735ab44471a9b388d640d0c0cb --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_sharedTestCase1.cpp @@ -0,0 +1,1318 @@ +/* + * 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 "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001549, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001549 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.column_major_lowp_mat2x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001549 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001549 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001550, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001550 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_bas" + "ic_type.shared.column_major_mediump_mat2x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001550 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001550 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001551, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001551 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_ba" + "sic_type.shared.column_major_highp_mat2x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001551 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001551 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001552, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001552 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.lowp_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001552 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001552 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001553, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001553 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.sin" + "gle_basic_type.shared.mediump_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001553 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001553 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001554, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001554 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.highp_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001554 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001554 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001555, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001555 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_lowp_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001555 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001555 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001556, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001556 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.row_major_mediump_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001556 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001556 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001557, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001557 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_highp_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001557 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001557 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001558, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001558 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.column_major_lowp_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001558 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001558 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001559, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001559 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_bas" + "ic_type.shared.column_major_mediump_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001559 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001559 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001560, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001560 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_ba" + "sic_type.shared.column_major_highp_mat2x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001560 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001560 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001561, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001561 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.lowp_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001561 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001561 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001562, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001562 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.sin" + "gle_basic_type.shared.mediump_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001562 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001562 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001563, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001563 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.highp_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001563 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001563 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001564, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001564 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_lowp_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001564 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001564 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001565, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001565 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.row_major_mediump_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001565 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001565 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001566, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001566 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_highp_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001566 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001566 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001567, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001567 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.column_major_lowp_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001567 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001567 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001568, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001568 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_bas" + "ic_type.shared.column_major_mediump_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001568 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001568 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001569, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001569 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_ba" + "sic_type.shared.column_major_highp_mat3x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001569 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001569 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001570, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001570 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.lowp_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001570 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001570 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001571, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001571 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.sin" + "gle_basic_type.shared.mediump_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001571 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001571 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001572, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001572 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.highp_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001572 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001572 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001573, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001573 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_lowp_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001573 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001573 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001574, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001574 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.row_major_mediump_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001574 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001574 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001575, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001575 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_highp_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001575 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001575 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001576, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001576 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.column_major_lowp_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001576 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001576 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001577, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001577 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_bas" + "ic_type.shared.column_major_mediump_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001577 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001577 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001578, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001578 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_ba" + "sic_type.shared.column_major_highp_mat3x4", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001578 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001578 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001579, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001579 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.lowp_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001579 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001579 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001580, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001580 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.sin" + "gle_basic_type.shared.mediump_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001580 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001580 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001581, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001581 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.highp_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001581 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001581 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001582, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001582 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_lowp_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001582 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001582 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001583, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001583 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.row_major_mediump_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001583 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001583 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001584, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001584 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_highp_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001584 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001584 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001585, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001585 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.column_major_lowp_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001585 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001585 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001586, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001586 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_bas" + "ic_type.shared.column_major_mediump_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001586 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001586 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001587, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001587 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_ba" + "sic_type.shared.column_major_highp_mat4x2", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001587 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001587 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001588, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001588 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.lowp_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001588 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001588 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001589, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001589 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.sin" + "gle_basic_type.shared.mediump_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001589 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001589 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001590, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001590 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.si" + "ngle_basic_type.shared.highp_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001590 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001590 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001591, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001591 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_lowp_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001591 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001591 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001592, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001592 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.row_major_mediump_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001592 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001592 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001593, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001593 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_" + "basic_type.shared.row_major_highp_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001593 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001593 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001594, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001594 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_b" + "asic_type.shared.column_major_lowp_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001594 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001594 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001595, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001595 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_bas" + "ic_type.shared.column_major_mediump_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001595 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001595 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001596, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001596 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.uniform_block.single_ba" + "sic_type.shared.column_major_highp_mat4x3", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30002TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30002TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30002TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001596 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001596 end"; +}