diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..cb338110b5221093c0d44c22316fe3efb86bc343 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp @@ -0,0 +1,1642 @@ +/* + * 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_000029, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000029 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.float_static_write_dynamic_read", + "--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_000029 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000029 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000030, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000030 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_static_write_static_loop_read", + "--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_000030 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000030 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000031, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000031 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_static_write_dynamic_loop_read", + "--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_000031 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000031 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000032, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000032 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.float_dynamic_write_static_read", + "--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_000032 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000032 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000033, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000033 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.float_dynamic_write_dynamic_read", + "--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_000033 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000033 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000034, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000034 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_dynamic_write_static_loop_read", + "--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_000034 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000034 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000035, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000035 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arra" + "y.float_dynamic_write_dynamic_loop_read", + "--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_000035 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000035 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000036, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000036 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_static_loop_write_static_read", + "--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_000036 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000036 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000037, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000037 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_static_loop_write_dynamic_read", + "--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_000037 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000037 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000038, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000038 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".float_static_loop_write_static_loop_read", + "--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_000038 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000038 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000039, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000039 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "float_static_loop_write_dynamic_loop_read", + "--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_000039 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000039 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000040, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000040 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.float_dynamic_loop_write_static_read", + "--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_000040 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000040 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000041, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000041 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arra" + "y.float_dynamic_loop_write_dynamic_read", + "--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_000041 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000041 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000042, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000042 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "float_dynamic_loop_write_static_loop_read", + "--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_000042 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000042 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000043, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000043 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "float_dynamic_loop_write_dynamic_loop_read", + "--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_000043 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000043 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000044, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000044 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec2_static_write_dynamic_read", + "--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_000044 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000044 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000045, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000045 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec2_static_write_static_loop_read", + "--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_000045 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000045 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000046, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000046 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_static_write_dynamic_loop_read", + "--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_000046 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000046 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000047, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000047 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec2_dynamic_write_static_read", + "--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_000047 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000047 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000048, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000048 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.vec2_dynamic_write_dynamic_read", + "--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_000048 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000048 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000049, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000049 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_dynamic_write_static_loop_read", + "--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_000049 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000049 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000050, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000050 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_dynamic_write_dynamic_loop_read", + "--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_000050 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000050 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000051, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000051 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec2_static_loop_write_static_read", + "--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_000051 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000051 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000052, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000052 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_static_loop_write_dynamic_read", + "--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_000052 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000052 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000053, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000053 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec2_static_loop_write_static_loop_read", + "--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_000053 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000053 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000054, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000054 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec2_static_loop_write_dynamic_loop_read", + "--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_000054 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000054 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000055, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000055 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_dynamic_loop_write_static_read", + "--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_000055 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000055 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000056, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000056 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec2_dynamic_loop_write_dynamic_read", + "--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_000056 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000056 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000057, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000057 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec2_dynamic_loop_write_static_loop_read", + "--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_000057 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000057 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000058, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000058 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "vec2_dynamic_loop_write_dynamic_loop_read", + "--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_000058 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000058 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000059, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000059 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec3_static_write_dynamic_read", + "--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_000059 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000059 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000060, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000060 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec3_static_write_static_loop_read", + "--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_000060 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000060 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000061, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000061 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_static_write_dynamic_loop_read", + "--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_000061 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000061 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000062, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000062 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec3_dynamic_write_static_read", + "--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_000062 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000062 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000063, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000063 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.vec3_dynamic_write_dynamic_read", + "--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_000063 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000063 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000064, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000064 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_dynamic_write_static_loop_read", + "--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_000064 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000064 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000065, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000065 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_dynamic_write_dynamic_loop_read", + "--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_000065 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000065 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000066, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000066 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec3_static_loop_write_static_read", + "--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_000066 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000066 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000067, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000067 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_static_loop_write_dynamic_read", + "--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_000067 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000067 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000068, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000068 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec3_static_loop_write_static_loop_read", + "--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_000068 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000068 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000069, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000069 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec3_static_loop_write_dynamic_loop_read", + "--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_000069 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000069 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000070, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000070 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_dynamic_loop_write_static_read", + "--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_000070 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000070 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000071, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000071 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec3_dynamic_loop_write_dynamic_read", + "--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_000071 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000071 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000072, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000072 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec3_dynamic_loop_write_static_loop_read", + "--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_000072 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000072 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000073, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000073 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "vec3_dynamic_loop_write_dynamic_loop_read", + "--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_000073 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000073 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000074, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000074 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec4_static_write_dynamic_read", + "--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_000074 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000074 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000075, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000075 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec4_static_write_static_loop_read", + "--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_000075 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000075 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000076, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000076 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_static_write_dynamic_loop_read", + "--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_000076 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000076 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000077, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000077 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_" + "array.vec4_dynamic_write_static_read", + "--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_000077 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000077 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000078, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000078 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_a" + "rray.vec4_dynamic_write_dynamic_read", + "--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_000078 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000078 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000079, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000079 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_dynamic_write_static_loop_read", + "--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_000079 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000079 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000080, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000080 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_dynamic_write_dynamic_loop_read", + "--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_000080 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000080 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000081, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000081 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_ar" + "ray.vec4_static_loop_write_static_read", + "--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_000081 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000081 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000082, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000082 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_static_loop_write_dynamic_read", + "--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_000082 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000082 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000083, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000083 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec4_static_loop_write_static_loop_read", + "--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_000083 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000083 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000084, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000084 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec4_static_loop_write_dynamic_loop_read", + "--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_000084 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000084 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000085, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000085 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_dynamic_loop_write_static_read", + "--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_000085 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000085 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000086, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000086 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_arr" + "ay.vec4_dynamic_loop_write_dynamic_read", + "--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_000086 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000086 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000087, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000087 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array" + ".vec4_dynamic_loop_write_static_loop_read", + "--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_000087 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000087 end"; +} + +static HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000088, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_000088 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.indexing.varying_array." + "vec4_dynamic_loop_write_dynamic_loop_read", + "--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_000088 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_000088 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..2afc4502053b360fba72644f4e48091ffde2c41e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp @@ -0,0 +1,454 @@ +/* + * 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_001032, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001032 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.version_vertex", + "--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_001032 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001032 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001033, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001033 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.version_fragment", + "--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_001033 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001033 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001034, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001034 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.gl_es_1_vertex", + "--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_001034 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001034 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001035, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001035 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.gl_es_1_fragment", + "--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_001035 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001035 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001036, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001036 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.gl_es_2_vertex", + "--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_001036 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001036 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001037, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001037 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.gl_es_2_fragment", + "--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_001037 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001037 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001038, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001038 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.line_1_vertex", + "--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_001038 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001038 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001039, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001039 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.line_1_fragment", + "--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_001039 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001039 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001040, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001040 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor" + ".predefined_macros.file_vertex", + "--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_001040 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001040 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001041, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001041 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor." + "predefined_macros.file_fragment", + "--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_001041 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001041 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001042, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001042 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.p" + "redefined_macros.if_gl_es_vertex", + "--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_001042 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001042 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001043, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001043 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.pr" + "edefined_macros.if_gl_es_fragment", + "--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_001043 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001043 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001044, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001044 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.pr" + "edefined_macros.if_version_vertex", + "--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_001044 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001044 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001045, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001045 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.pre" + "defined_macros.if_version_fragment", + "--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_001045 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001045 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001046, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001046 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.predefi" + "ned_macros.invalid_token_pasting_vertex", + "--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_001046 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001046 end"; +} + +static HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001047, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001047 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.preprocessor.predefin" + "ed_macros.invalid_token_pasting_fragment", + "--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_001047 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001047 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp new file mode 100644 index 0000000000000000000000000000000000000000..dcd37faf0215e51094521a697d056f7b158e9b02 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp @@ -0,0 +1,1993 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002305, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002305 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec2_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002305 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002305 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002306, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002306 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec2_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002306 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002306 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002307, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002307 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec2_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002307 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002307 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002308, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002308 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec2_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002308 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002308 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002309, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002309 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002309 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002309 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002310, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002310 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002310 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002310 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002311, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002311 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002311 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002311 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002312, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002312 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002312 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002312 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002313, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002313 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002313 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002313 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002314, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002314 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002314 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002314 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002315, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002315 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002315 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002315 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002316, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002316 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002316 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002316 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002317, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002317 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec2_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002317 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002317 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002318, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002318 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec2_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002318 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002318 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002319, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002319 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec2_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002319 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002319 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002320, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002320 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec2_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002320 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002320 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002321, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002321 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002321 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002321 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002322, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002322 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002322 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002322 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002323, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002323 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002323 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002323 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002324, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002324 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002324 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002324 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002325, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002325 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002325 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002325 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002326, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002326 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002326 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002326 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002327, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002327 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002327 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002327 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002328, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002328 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002328 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002328 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002329, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002329 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec2_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002329 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002329 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002330, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002330 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec2_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002330 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002330 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002331, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002331 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec2_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002331 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002331 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002332, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002332 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec2_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002332 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002332 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002333, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002333 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002333 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002333 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002334, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002334 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002334 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002334 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002335, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002335 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002335 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002335 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002336, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002336 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002336 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002336 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002337, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002337 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002337 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002337 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002338, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002338 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec2_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002338 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002338 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002339, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002339 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002339 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002339 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002340, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002340 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec2_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002340 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002340 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002341, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002341 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec2_from_float_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002341 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002341 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002342, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002342 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec2_from_float_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002342 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002342 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002343, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002343 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec2_from_float_mat2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002343 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002343 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002344, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002344 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec2_from_float_mat2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002344 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002344 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002345, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002345 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002345 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002345 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002346, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002346 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002346 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002346 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002347, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002347 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat2x3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002347 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002347 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002348, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002348 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat2x3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002348 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002348 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002349, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002349 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002349 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002349 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002350, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002350 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002350 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002350 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002351, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002351 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat2x4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002351 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002351 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002352, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002352 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat2x4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002352 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002352 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002353, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002353 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec2_from_float_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002353 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002353 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002354, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002354 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec2_from_float_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002354 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002354 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002355, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002355 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec2_from_float_mat3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002355 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002355 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002356, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002356 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec2_from_float_mat3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002356 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002356 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002357, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002357 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002357 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002357 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002358, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002358 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002358 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002358 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002359, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002359 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat3x2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002359 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002359 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002360, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002360 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat3x2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002360 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002360 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002361, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002361 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002361 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002361 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002362, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002362 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002362 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002362 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002363, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002363 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat3x4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002363 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002363 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002364, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002364 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat3x4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002364 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002364 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002365, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002365 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec2_from_float_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002365 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002365 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002366, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002366 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec2_from_float_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002366 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002366 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002367, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002367 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec2_from_float_mat4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002367 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002367 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002368, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002368 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec2_from_float_mat4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002368 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002368 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002369, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002369 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002369 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002369 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002370, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002370 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002370 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002370 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002371, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002371 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat4x2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002371 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002371 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002372, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002372 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat4x2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002372 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002372 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002373, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002373 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002373 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002373 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002374, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002374 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec2_from_float_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002374 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002374 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002375, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002375 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat4x3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002375 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002375 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002376, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002376 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec2_from_float_mat4x3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002376 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002376 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002377, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002377 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec3_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002377 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002377 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase1.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..d9783eafae7eaab95dd8666c1ad5d4ed1760660b --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase1.cpp @@ -0,0 +1,1993 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002378, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002378 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec3_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002378 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002378 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002379, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002379 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec3_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002379 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002379 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002380, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002380 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec3_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002380 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002380 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002381, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002381 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002381 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002381 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002382, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002382 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002382 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002382 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002383, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002383 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002383 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002383 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002384, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002384 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002384 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002384 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002385, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002385 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002385 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002385 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002386, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002386 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002386 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002386 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002387, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002387 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002387 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002387 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002388, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002388 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002388 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002388 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002389, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002389 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec3_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002389 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002389 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002390, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002390 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec3_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002390 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002390 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002391, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002391 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec3_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002391 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002391 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002392, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002392 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec3_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002392 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002392 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002393, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002393 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002393 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002393 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002394, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002394 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002394 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002394 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002395, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002395 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002395 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002395 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002396, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002396 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002396 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002396 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002397, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002397 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002397 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002397 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002398, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002398 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002398 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002398 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002399, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002399 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002399 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002399 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002400, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002400 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002400 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002400 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002401, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002401 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec3_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002401 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002401 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002402, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002402 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec3_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002402 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002402 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002403, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002403 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec3_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002403 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002403 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002404, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002404 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec3_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002404 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002404 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002405, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002405 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002405 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002405 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002406, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002406 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002406 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002406 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002407, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002407 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002407 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002407 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002408, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002408 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002408 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002408 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002409, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002409 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002409 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002409 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002410, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002410 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec3_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002410 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002410 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002411, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002411 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002411 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002411 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002412, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002412 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec3_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002412 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002412 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002413, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002413 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec3_from_float_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002413 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002413 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002414, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002414 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec3_from_float_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002414 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002414 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002415, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002415 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec3_from_float_mat2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002415 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002415 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002416, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002416 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec3_from_float_mat2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002416 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002416 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002417, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002417 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002417 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002417 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002418, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002418 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002418 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002418 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002419, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002419 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat2x3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002419 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002419 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002420, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002420 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat2x3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002420 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002420 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002421, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002421 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002421 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002421 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002422, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002422 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002422 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002422 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002423, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002423 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat2x4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002423 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002423 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002424, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002424 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat2x4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002424 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002424 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002425, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002425 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec3_from_float_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002425 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002425 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002426, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002426 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec3_from_float_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002426 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002426 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002427, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002427 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec3_from_float_mat3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002427 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002427 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002428, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002428 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec3_from_float_mat3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002428 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002428 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002429, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002429 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002429 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002429 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002430, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002430 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002430 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002430 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002431, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002431 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat3x2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002431 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002431 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002432, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002432 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat3x2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002432 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002432 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002433, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002433 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002433 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002433 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002434, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002434 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002434 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002434 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002435, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002435 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat3x4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002435 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002435 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002436, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002436 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat3x4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002436 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002436 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002437, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002437 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec3_from_float_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002437 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002437 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002438, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002438 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec3_from_float_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002438 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002438 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002439, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002439 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec3_from_float_mat4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002439 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002439 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002440, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002440 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec3_from_float_mat4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002440 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002440 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002441, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002441 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002441 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002441 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002442, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002442 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002442 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002442 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002443, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002443 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat4x2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002443 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002443 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002444, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002444 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat4x2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002444 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002444 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002445, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002445 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002445 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002445 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002446, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002446 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec3_from_float_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002446 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002446 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002447, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002447 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat4x3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002447 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002447 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002448, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002448 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec3_from_float_mat4x3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002448 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002448 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002449, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002449 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec4_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002449 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002449 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002450, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002450 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec4_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002450 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002450 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase2.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase2.cpp new file mode 100644 index 0000000000000000000000000000000000000000..c342ae57061ca8503b7d96aa051a297d728fedd1 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase2.cpp @@ -0,0 +1,1993 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002451, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002451 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec4_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002451 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002451 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002452, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002452 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec4_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002452 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002452 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002453, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002453 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002453 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002453 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002454, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002454 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002454 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002454 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002455, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002455 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002455 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002455 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002456, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002456 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002456 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002456 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002457, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002457 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002457 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002457 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002458, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002458 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002458 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002458 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002459, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002459 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002459 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002459 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002460, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002460 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002460 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002460 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002461, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002461 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec4_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002461 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002461 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002462, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002462 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec4_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002462 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002462 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002463, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002463 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec4_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002463 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002463 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002464, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002464 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec4_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002464 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002464 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002465, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002465 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002465 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002465 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002466, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002466 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002466 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002466 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002467, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002467 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002467 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002467 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002468, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002468 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002468 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002468 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002469, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002469 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002469 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002469 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002470, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002470 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002470 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002470 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002471, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002471 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002471 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002471 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002472, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002472 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002472 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002472 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002473, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002473 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec4_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002473 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002473 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002474, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002474 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_con" + "structors.vec4_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002474 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002474 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002475, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002475 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec4_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002475 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002475 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002476, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002476 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.vec4_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002476 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002476 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002477, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002477 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002477 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002477 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002478, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002478 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002478 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002478 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002479, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002479 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002479 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002479 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002480, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002480 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002480 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002480 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002481, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002481 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002481 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002481 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002482, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002482 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.vec4_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002482 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002482 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002483, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002483 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002483 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002483 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002484, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002484 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".vec4_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002484 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002484 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002485, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002485 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec4_from_float_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002485 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002485 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002486, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002486 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec4_from_float_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002486 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002486 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002487, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002487 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec4_from_float_mat2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002487 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002487 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002488, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002488 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec4_from_float_mat2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002488 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002488 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002489, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002489 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002489 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002489 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002490, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002490 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002490 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002490 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002491, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002491 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat2x3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002491 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002491 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002492, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002492 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat2x3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002492 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002492 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002493, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002493 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002493 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002493 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002494, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002494 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002494 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002494 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002495, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002495 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat2x4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002495 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002495 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002496, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002496 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat2x4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002496 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002496 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002497, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002497 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec4_from_float_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002497 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002497 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002498, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002498 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec4_from_float_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002498 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002498 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002499, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002499 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec4_from_float_mat3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002499 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002499 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002500, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002500 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec4_from_float_mat3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002500 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002500 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002501, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002501 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002501 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002501 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002502, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002502 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002502 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002502 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002503, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002503 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat3x2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002503 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002503 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002504, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002504 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat3x2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002504 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002504 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002505, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002505 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002505 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002505 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002506, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002506 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002506 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002506 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002507, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002507 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat3x4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002507 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002507 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002508, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002508 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat3x4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002508 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002508 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002509, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002509 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec4_from_float_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002509 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002509 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002510, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002510 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.vec4_from_float_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002510 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002510 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002511, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002511 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec4_from_float_mat4_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002511 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002511 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002512, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002512 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "vec4_from_float_mat4_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002512 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002512 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002513, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002513 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002513 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002513 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002514, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002514 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002514 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002514 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002515, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002515 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat4x2_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002515 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002515 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002516, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002516 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat4x2_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002516 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002516 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002517, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002517 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002517 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002517 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002518, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002518 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.vec4_from_float_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002518 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002518 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002519, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002519 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat4x3_float_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002519 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002519 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002520, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002520 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.v" + "ec4_from_float_mat4x3_float_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002520 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002520 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002521, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002521 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec2_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002521 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002521 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002522, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002522 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec2_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002522 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002522 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002523, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002523 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec2_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002523 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002523 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase3.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase3.cpp new file mode 100644 index 0000000000000000000000000000000000000000..9b7b11c59c982a1a3d3184ccdf24199daf87367c --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase3.cpp @@ -0,0 +1,1989 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002524, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002524 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec2_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002524 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002524 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002525, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002525 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002525 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002525 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002526, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002526 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002526 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002526 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002527, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002527 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002527 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002527 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002528, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002528 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002528 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002528 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002529, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002529 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002529 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002529 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002530, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002530 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002530 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002530 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002531, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002531 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002531 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002531 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002532, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002532 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002532 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002532 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002533, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002533 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec2_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002533 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002533 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002534, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002534 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec2_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002534 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002534 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002535, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002535 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec2_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002535 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002535 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002536, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002536 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec2_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002536 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002536 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002537, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002537 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002537 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002537 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002538, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002538 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002538 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002538 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002539, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002539 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002539 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002539 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002540, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002540 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002540 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002540 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002541, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002541 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002541 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002541 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002542, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002542 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002542 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002542 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002543, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002543 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002543 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002543 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002544, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002544 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002544 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002544 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002545, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002545 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec2_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002545 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002545 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002546, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002546 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec2_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002546 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002546 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002547, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002547 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec2_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002547 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002547 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002548, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002548 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec2_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002548 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002548 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002549, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002549 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002549 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002549 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002550, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002550 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002550 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002550 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002551, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002551 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002551 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002551 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002552, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002552 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002552 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002552 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002553, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002553 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002553 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002553 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002554, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002554 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec2_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002554 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002554 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002555, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002555 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002555 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002555 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002556, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002556 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002556 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002556 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002557, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002557 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec2_from_int_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002557 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002557 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002558, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002558 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec2_from_int_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002558 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002558 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002559, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002559 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_int_mat2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002559 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002559 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002560, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002560 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_int_mat2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002560 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002560 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002561, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002561 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002561 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002561 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002562, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002562 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002562 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002562 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002563, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002563 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat2x3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002563 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002563 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002564, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002564 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat2x3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002564 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002564 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002565, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002565 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002565 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002565 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002566, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002566 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002566 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002566 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002567, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002567 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat2x4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002567 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002567 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002568, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002568 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat2x4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002568 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002568 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002569, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002569 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec2_from_int_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002569 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002569 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002570, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002570 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec2_from_int_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002570 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002570 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002571, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002571 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_int_mat3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002571 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002571 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002572, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002572 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_int_mat3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002572 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002572 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002573, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002573 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002573 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002573 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002574, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002574 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002574 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002574 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002575, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002575 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat3x2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002575 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002575 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002576, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002576 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat3x2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002576 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002576 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002577, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002577 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002577 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002577 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002578, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002578 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002578 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002578 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002579, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002579 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat3x4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002579 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002579 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002580, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002580 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat3x4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002580 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002580 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002581, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002581 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec2_from_int_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002581 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002581 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002582, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002582 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec2_from_int_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002582 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002582 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002583, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002583 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_int_mat4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002583 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002583 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002584, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002584 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec2_from_int_mat4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002584 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002584 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002585, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002585 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002585 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002585 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002586, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002586 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002586 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002586 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002587, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002587 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat4x2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002587 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002587 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002588, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002588 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat4x2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002588 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002588 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002589, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002589 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002589 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002589 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002590, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002590 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec2_from_int_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002590 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002590 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002591, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002591 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat4x3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002591 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002591 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002592, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002592 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec2_from_int_mat4x3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002592 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002592 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002593, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002593 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec3_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002593 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002593 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002594, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002594 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec3_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002594 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002594 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002595, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002595 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec3_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002595 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002595 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002596, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002596 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec3_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002596 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002596 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase4.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase4.cpp new file mode 100644 index 0000000000000000000000000000000000000000..c8c8d8ef5cbeb117c8bf62ebff3c5d29a03b166b --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase4.cpp @@ -0,0 +1,1993 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002597, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002597 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002597 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002597 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002598, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002598 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002598 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002598 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002599, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002599 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002599 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002599 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002600, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002600 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002600 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002600 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002601, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002601 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002601 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002601 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002602, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002602 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002602 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002602 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002603, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002603 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002603 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002603 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002604, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002604 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002604 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002604 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002605, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002605 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec3_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002605 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002605 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002606, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002606 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec3_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002606 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002606 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002607, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002607 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec3_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002607 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002607 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002608, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002608 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec3_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002608 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002608 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002609, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002609 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002609 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002609 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002610, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002610 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002610 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002610 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002611, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002611 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002611 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002611 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002612, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002612 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002612 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002612 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002613, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002613 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002613 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002613 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002614, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002614 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002614 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002614 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002615, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002615 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002615 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002615 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002616, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002616 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002616 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002616 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002617, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002617 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec3_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002617 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002617 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002618, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002618 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec3_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002618 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002618 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002619, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002619 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec3_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002619 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002619 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002620, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002620 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec3_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002620 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002620 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002621, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002621 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002621 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002621 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002622, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002622 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002622 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002622 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002623, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002623 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002623 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002623 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002624, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002624 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002624 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002624 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002625, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002625 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002625 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002625 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002626, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002626 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec3_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002626 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002626 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002627, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002627 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002627 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002627 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002628, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002628 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002628 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002628 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002629, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002629 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec3_from_int_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002629 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002629 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002630, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002630 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec3_from_int_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002630 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002630 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002631, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002631 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_int_mat2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002631 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002631 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002632, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002632 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_int_mat2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002632 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002632 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002633, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002633 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002633 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002633 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002634, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002634 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002634 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002634 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002635, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002635 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat2x3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002635 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002635 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002636, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002636 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat2x3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002636 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002636 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002637, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002637 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002637 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002637 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002638, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002638 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002638 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002638 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002639, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002639 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat2x4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002639 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002639 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002640, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002640 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat2x4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002640 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002640 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002641, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002641 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec3_from_int_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002641 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002641 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002642, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002642 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec3_from_int_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002642 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002642 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002643, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002643 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_int_mat3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002643 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002643 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002644, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002644 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_int_mat3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002644 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002644 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002645, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002645 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002645 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002645 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002646, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002646 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002646 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002646 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002647, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002647 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat3x2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002647 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002647 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002648, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002648 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat3x2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002648 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002648 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002649, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002649 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002649 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002649 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002650, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002650 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002650 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002650 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002651, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002651 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat3x4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002651 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002651 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002652, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002652 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat3x4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002652 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002652 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002653, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002653 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec3_from_int_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002653 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002653 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002654, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002654 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec3_from_int_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002654 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002654 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002655, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002655 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_int_mat4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002655 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002655 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002656, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002656 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec3_from_int_mat4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002656 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002656 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002657, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002657 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002657 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002657 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002658, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002658 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002658 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002658 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002659, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002659 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat4x2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002659 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002659 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002660, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002660 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat4x2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002660 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002660 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002661, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002661 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002661 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002661 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002662, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002662 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec3_from_int_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002662 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002662 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002663, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002663 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat4x3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002663 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002663 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002664, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002664 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec3_from_int_mat4x3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002664 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002664 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002665, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002665 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec4_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002665 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002665 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002666, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002666 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec4_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002666 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002666 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002667, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002667 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec4_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002667 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002667 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002668, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002668 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec4_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002668 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002668 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002669, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002669 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002669 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002669 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase5.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase5.cpp new file mode 100644 index 0000000000000000000000000000000000000000..f578b265acd1e0f639d0528dac73b1d3d89a05da --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase5.cpp @@ -0,0 +1,1993 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002670, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002670 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002670 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002670 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002671, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002671 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002671 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002671 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002672, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002672 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002672 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002672 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002673, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002673 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002673 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002673 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002674, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002674 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002674 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002674 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002675, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002675 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002675 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002675 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002676, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002676 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002676 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002676 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002677, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002677 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec4_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002677 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002677 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002678, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002678 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec4_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002678 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002678 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002679, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002679 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec4_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002679 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002679 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002680, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002680 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec4_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002680 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002680 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002681, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002681 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002681 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002681 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002682, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002682 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002682 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002682 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002683, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002683 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002683 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002683 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002684, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002684 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002684 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002684 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002685, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002685 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002685 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002685 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002686, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002686 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002686 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002686 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002687, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002687 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002687 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002687 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002688, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002688 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002688 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002688 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002689, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002689 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec4_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002689 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002689 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002690, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002690 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.ivec4_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002690 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002690 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002691, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002691 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec4_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002691 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002691 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002692, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002692 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.ivec4_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002692 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002692 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002693, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002693 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002693 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002693 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002694, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002694 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002694 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002694 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002695, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002695 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002695 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002695 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002696, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002696 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002696 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002696 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002697, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002697 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002697 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002697 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002698, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002698 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.ivec4_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002698 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002698 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002699, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002699 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002699 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002699 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002700, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002700 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002700 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002700 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002701, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002701 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec4_from_int_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002701 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002701 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002702, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002702 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec4_from_int_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002702 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002702 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002703, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002703 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_int_mat2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002703 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002703 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002704, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002704 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_int_mat2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002704 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002704 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002705, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002705 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002705 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002705 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002706, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002706 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002706 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002706 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002707, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002707 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat2x3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002707 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002707 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002708, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002708 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat2x3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002708 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002708 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002709, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002709 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002709 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002709 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002710, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002710 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002710 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002710 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002711, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002711 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat2x4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002711 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002711 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002712, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002712 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat2x4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002712 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002712 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002713, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002713 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec4_from_int_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002713 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002713 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002714, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002714 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec4_from_int_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002714 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002714 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002715, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002715 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_int_mat3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002715 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002715 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002716, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002716 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_int_mat3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002716 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002716 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002717, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002717 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002717 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002717 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002718, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002718 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002718 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002718 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002719, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002719 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat3x2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002719 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002719 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002720, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002720 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat3x2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002720 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002720 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002721, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002721 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002721 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002721 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002722, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002722 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002722 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002722 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002723, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002723 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat3x4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002723 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002723 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002724, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002724 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat3x4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002724 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002724 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002725, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002725 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec4_from_int_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002725 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002725 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002726, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002726 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.ivec4_from_int_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002726 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002726 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002727, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002727 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_int_mat4_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002727 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002727 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002728, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002728 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".ivec4_from_int_mat4_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002728 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002728 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002729, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002729 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002729 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002729 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002730, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002730 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002730 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002730 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002731, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002731 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat4x2_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002731 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002731 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002732, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002732 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat4x2_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002732 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002732 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002733, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002733 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002733 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002733 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002734, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002734 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.ivec4_from_int_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002734 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002734 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002735, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002735 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat4x3_int_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002735 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002735 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002736, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002736 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "ivec4_from_int_mat4x3_int_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002736 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002736 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002737, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002737 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec2_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002737 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002737 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002738, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002738 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec2_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002738 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002738 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002739, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002739 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec2_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002739 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002739 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002740, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002740 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec2_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002740 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002740 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002741, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002741 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002741 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002741 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002742, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002742 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002742 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002742 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase6.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase6.cpp new file mode 100644 index 0000000000000000000000000000000000000000..6af06f418f03a44d6d45a1443293a30280a4d4fd --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase6.cpp @@ -0,0 +1,1993 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002743, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002743 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002743 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002743 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002744, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002744 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002744 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002744 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002745, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002745 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002745 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002745 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002746, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002746 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002746 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002746 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002747, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002747 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002747 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002747 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002748, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002748 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002748 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002748 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002749, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002749 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec2_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002749 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002749 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002750, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002750 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec2_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002750 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002750 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002751, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002751 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec2_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002751 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002751 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002752, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002752 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec2_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002752 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002752 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002753, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002753 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002753 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002753 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002754, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002754 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002754 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002754 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002755, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002755 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002755 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002755 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002756, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002756 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002756 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002756 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002757, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002757 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002757 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002757 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002758, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002758 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002758 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002758 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002759, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002759 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002759 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002759 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002760, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002760 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002760 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002760 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002761, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002761 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec2_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002761 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002761 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002762, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002762 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec2_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002762 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002762 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002763, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002763 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec2_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002763 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002763 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002764, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002764 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec2_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002764 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002764 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002765, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002765 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002765 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002765 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002766, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002766 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002766 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002766 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002767, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002767 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002767 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002767 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002768, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002768 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002768 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002768 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002769, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002769 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002769 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002769 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002770, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002770 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec2_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002770 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002770 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002771, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002771 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002771 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002771 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002772, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002772 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec2_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002772 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002772 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002773, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002773 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec2_from_bool_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002773 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002773 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002774, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002774 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec2_from_bool_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002774 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002774 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002775, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002775 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec2_from_bool_mat2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002775 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002775 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002776, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002776 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec2_from_bool_mat2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002776 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002776 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002777, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002777 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002777 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002777 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002778, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002778 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002778 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002778 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002779, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002779 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat2x3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002779 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002779 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002780, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002780 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat2x3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002780 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002780 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002781, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002781 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002781 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002781 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002782, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002782 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002782 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002782 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002783, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002783 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat2x4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002783 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002783 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002784, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002784 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat2x4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002784 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002784 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002785, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002785 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec2_from_bool_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002785 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002785 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002786, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002786 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec2_from_bool_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002786 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002786 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002787, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002787 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec2_from_bool_mat3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002787 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002787 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002788, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002788 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec2_from_bool_mat3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002788 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002788 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002789, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002789 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002789 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002789 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002790, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002790 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002790 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002790 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002791, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002791 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat3x2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002791 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002791 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002792, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002792 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat3x2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002792 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002792 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002793, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002793 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002793 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002793 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002794, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002794 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002794 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002794 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002795, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002795 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat3x4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002795 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002795 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002796, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002796 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat3x4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002796 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002796 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002797, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002797 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec2_from_bool_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002797 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002797 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002798, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002798 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec2_from_bool_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002798 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002798 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002799, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002799 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec2_from_bool_mat4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002799 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002799 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002800, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002800 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec2_from_bool_mat4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002800 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002800 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002801, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002801 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002801 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002801 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002802, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002802 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002802 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002802 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002803, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002803 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat4x2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002803 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002803 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002804, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002804 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat4x2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002804 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002804 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002805, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002805 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002805 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002805 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002806, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002806 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec2_from_bool_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002806 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002806 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002807, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002807 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat4x3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002807 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002807 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002808, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002808 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec2_from_bool_mat4x3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002808 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002808 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002809, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002809 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec3_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002809 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002809 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002810, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002810 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec3_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002810 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002810 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002811, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002811 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec3_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002811 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002811 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002812, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002812 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec3_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002812 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002812 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002813, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002813 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002813 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002813 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002814, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002814 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002814 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002814 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002815, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002815 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002815 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002815 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase7.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase7.cpp new file mode 100644 index 0000000000000000000000000000000000000000..7119f1123e48e1a1c4ed1d994b3a6187fc5c9d93 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase7.cpp @@ -0,0 +1,1993 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002816, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002816 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002816 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002816 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002817, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002817 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002817 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002817 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002818, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002818 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002818 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002818 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002819, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002819 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002819 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002819 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002820, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002820 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002820 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002820 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002821, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002821 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec3_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002821 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002821 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002822, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002822 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec3_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002822 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002822 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002823, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002823 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec3_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002823 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002823 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002824, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002824 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec3_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002824 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002824 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002825, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002825 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002825 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002825 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002826, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002826 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002826 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002826 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002827, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002827 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002827 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002827 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002828, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002828 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002828 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002828 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002829, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002829 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002829 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002829 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002830, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002830 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002830 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002830 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002831, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002831 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002831 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002831 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002832, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002832 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002832 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002832 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002833, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002833 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec3_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002833 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002833 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002834, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002834 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec3_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002834 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002834 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002835, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002835 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec3_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002835 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002835 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002836, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002836 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec3_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002836 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002836 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002837, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002837 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002837 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002837 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002838, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002838 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002838 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002838 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002839, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002839 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002839 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002839 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002840, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002840 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002840 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002840 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002841, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002841 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002841 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002841 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002842, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002842 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec3_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002842 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002842 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002843, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002843 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002843 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002843 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002844, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002844 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec3_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002844 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002844 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002845, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002845 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec3_from_bool_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002845 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002845 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002846, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002846 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec3_from_bool_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002846 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002846 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002847, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002847 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec3_from_bool_mat2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002847 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002847 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002848, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002848 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec3_from_bool_mat2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002848 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002848 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002849, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002849 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002849 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002849 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002850, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002850 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002850 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002850 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002851, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002851 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat2x3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002851 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002851 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002852, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002852 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat2x3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002852 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002852 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002853, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002853 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002853 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002853 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002854, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002854 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002854 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002854 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002855, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002855 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat2x4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002855 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002855 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002856, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002856 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat2x4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002856 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002856 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002857, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002857 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec3_from_bool_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002857 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002857 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002858, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002858 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec3_from_bool_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002858 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002858 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002859, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002859 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec3_from_bool_mat3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002859 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002859 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002860, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002860 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec3_from_bool_mat3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002860 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002860 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002861, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002861 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002861 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002861 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002862, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002862 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002862 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002862 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002863, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002863 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat3x2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002863 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002863 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002864, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002864 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat3x2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002864 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002864 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002865, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002865 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002865 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002865 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002866, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002866 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002866 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002866 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002867, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002867 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat3x4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002867 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002867 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002868, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002868 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat3x4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002868 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002868 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002869, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002869 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec3_from_bool_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002869 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002869 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002870, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002870 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec3_from_bool_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002870 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002870 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002871, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002871 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec3_from_bool_mat4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002871 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002871 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002872, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002872 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec3_from_bool_mat4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002872 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002872 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002873, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002873 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002873 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002873 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002874, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002874 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002874 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002874 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002875, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002875 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat4x2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002875 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002875 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002876, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002876 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat4x2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002876 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002876 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002877, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002877 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002877 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002877 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002878, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002878 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec3_from_bool_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002878 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002878 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002879, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002879 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat4x3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002879 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002879 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002880, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002880 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec3_from_bool_mat4x3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002880 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002880 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002881, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002881 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec4_from_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002881 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002881 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002882, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002882 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec4_from_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002882 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002882 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002883, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002883 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec4_from_mat2_mat2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002883 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002883 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002884, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002884 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec4_from_mat2_mat2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002884 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002884 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002885, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002885 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002885 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002885 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002886, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002886 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002886 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002886 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002887, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002887 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat2x3_mat2x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002887 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002887 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002888, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002888 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat2x3_mat2x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002888 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002888 end"; +} diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase8.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase8.cpp new file mode 100644 index 0000000000000000000000000000000000000000..be25f5c9f7fc543bf448c18ccb3e9001396c6fcf --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase8.cpp @@ -0,0 +1,1750 @@ +/* + * 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 "../ActsKhrgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002889, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002889 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002889 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002889 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002890, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002890 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002890 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002890 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002891, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002891 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat2x4_mat2x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002891 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002891 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002892, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002892 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat2x4_mat2x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002892 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002892 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002893, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002893 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec4_from_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002893 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002893 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002894, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002894 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec4_from_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002894 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002894 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002895, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002895 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec4_from_mat3_mat3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002895 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002895 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002896, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002896 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec4_from_mat3_mat3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002896 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002896 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002897, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002897 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002897 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002897 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002898, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002898 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002898 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002898 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002899, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002899 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat3x2_mat3x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002899 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002899 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002900, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002900 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat3x2_mat3x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002900 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002900 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002901, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002901 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002901 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002901 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002902, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002902 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002902 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002902 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002903, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002903 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat3x4_mat3x4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002903 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002903 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002904, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002904 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat3x4_mat3x4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002904 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002904 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002905, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002905 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec4_from_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002905 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002905 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002906, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002906 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_cons" + "tructors.bvec4_from_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002906 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002906 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002907, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002907 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec4_from_mat4_mat4_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002907 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002907 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002908, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002908 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructo" + "rs.bvec4_from_mat4_mat4_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002908 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002908 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002909, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002909 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002909 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002909 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002910, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002910 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002910 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002910 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002911, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002911 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat4x2_mat4x2_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002911 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002911 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002912, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002912 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat4x2_mat4x2_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002912 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002912 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002913, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002913 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002913 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002913 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002914, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002914 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_const" + "ructors.bvec4_from_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002914 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002914 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002915, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002915 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat4x3_mat4x3_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002915 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002915 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002916, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002916 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors" + ".bvec4_from_mat4x3_mat4x3_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002916 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002916 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002917, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002917 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec4_from_bool_mat2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002917 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002917 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002918, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002918 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec4_from_bool_mat2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002918 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002918 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002919, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002919 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec4_from_bool_mat2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002919 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002919 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002920, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002920 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec4_from_bool_mat2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002920 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002920 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002921, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002921 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat2x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002921 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002921 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002922, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002922 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat2x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002922 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002922 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002923, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002923 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat2x3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002923 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002923 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002924, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002924 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat2x3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002924 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002924 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002925, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002925 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat2x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002925 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002925 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002926, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002926 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat2x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002926 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002926 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002927, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002927 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat2x4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002927 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002927 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002928, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002928 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat2x4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002928 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002928 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002929, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002929 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec4_from_bool_mat3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002929 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002929 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002930, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002930 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec4_from_bool_mat3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002930 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002930 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002931, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002931 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec4_from_bool_mat3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002931 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002931 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002932, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002932 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec4_from_bool_mat3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002932 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002932 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002933, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002933 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat3x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002933 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002933 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002934, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002934 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat3x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002934 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002934 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002935, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002935 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat3x2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002935 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002935 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002936, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002936 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat3x2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002936 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002936 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002937, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002937 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat3x4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002937 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002937 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002938, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002938 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat3x4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002938 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002938 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002939, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002939 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat3x4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002939 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002939 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002940, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002940 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat3x4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002940 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002940 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002941, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002941 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec4_from_bool_mat4_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002941 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002941 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002942, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002942 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constr" + "uctors.bvec4_from_bool_mat4_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002942 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002942 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002943, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002943 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec4_from_bool_mat4_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002943 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002943 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002944, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002944 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors." + "bvec4_from_bool_mat4_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002944 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002944 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002945, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002945 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat4x2_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002945 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002945 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002946, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002946 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat4x2_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002946 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002946 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002947, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002947 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat4x2_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002947 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002947 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002948, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002948 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat4x2_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002948 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002948 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002949, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002949 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat4x3_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002949 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002949 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002950, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002950 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constru" + "ctors.bvec4_from_bool_mat4x3_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002950 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002950 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002951, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002951 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat4x3_bool_invalid_vs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002951 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002951 end"; +} + +static HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002952, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_002952 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "KHR-GLES3.shaders.glsl_constructors.b" + "vec4_from_bool_mat4x3_bool_invalid_fs", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsKhrgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsKhrgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsKhrgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsKhrgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsKhrgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_002952 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_002952 end"; +}