diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzles_vector_swizzlesTestCase1.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzles_vector_swizzlesTestCase1.cpp new file mode 100644 index 0000000000000000000000000000000000000000..9d2e5d83e305a768eb8c28c1f9d22427a6a2b9bc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzles_vector_swizzlesTestCase1.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 "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001421, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001421 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_sp_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001421 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001421 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001422, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001422 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec3_pp_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001422 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001422 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001423, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001423 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_pp_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001423 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001423 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001424, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001424 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_stp_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001424 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001424 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001425, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001425 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_stp_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001425 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001425 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001426, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001426 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_pts_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001426 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001426 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001427, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001427 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_pts_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001427 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001427 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001428, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001428 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_sss_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001428 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001428 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001429, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001429 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_sss_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001429 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001429 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001430, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001430 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_ppp_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001430 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001430 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001431, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001431 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_ppp_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001431 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001431 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001432, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001432 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_ppt_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001432 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001432 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001433, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001433 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_ppt_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001433 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001433 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001434, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001434 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_tst_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001434 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001434 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001435, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001435 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_tst_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001435 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001435 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001436, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001436 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_sps_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001436 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001436 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001437, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001437 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_sps_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001437 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001437 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001438, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001438 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_stts_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001438 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001438 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001439, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001439 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_stts_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001439 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001439 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001440, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001440 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_pppp_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001440 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001440 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001441, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001441 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_pppp_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001441 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001441 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001442, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001442 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec3_r_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001442 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001442 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001443, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001443 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_r_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001443 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001443 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001444, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001444 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec3_b_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001444 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001444 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001445, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001445 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_b_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001445 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001445 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001446, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001446 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec3_rb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001446 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001446 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001447, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001447 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_rb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001447 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001447 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001448, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001448 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec3_bb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001448 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001448 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001449, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001449 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_bb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001449 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001449 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001450, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001450 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_rgb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001450 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001450 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001451, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001451 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_rgb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001451 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001451 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001452, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001452 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_bgr_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001452 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001452 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001453, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001453 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_bgr_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001453 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001453 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001454, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001454 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_rrr_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001454 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001454 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001455, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001455 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_rrr_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001455 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001455 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001456, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001456 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_bbb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001456 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001456 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001457, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001457 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_bbb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001457 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001457 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001458, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001458 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_bbg_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001458 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001458 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001459, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001459 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_bbg_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001459 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001459 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001460, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001460 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_grg_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001460 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001460 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001461, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001461 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_grg_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001461 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001461 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001462, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001462 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_rbr_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001462 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001462 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001463, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001463 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_rbr_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001463 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001463 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001464, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001464 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_rggr_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001464 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001464 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001465, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001465 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_rggr_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001465 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001465 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001466, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001466 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec3_bbbb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001466 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001466 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001467, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001467 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec3_bbbb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001467 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001467 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001468, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001468 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec4_x_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001468 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001468 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001469, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001469 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_x_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001469 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001469 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001470, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001470 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec4_w_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001470 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001470 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001471, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001471 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_w_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001471 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001471 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001472, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001472 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec4_wx_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001472 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001472 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001473, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001473 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_wx_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001473 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001473 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001474, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001474 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles" + ".vector_swizzles.mediump_vec4_wz_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001474 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001474 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001475, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001475 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_wz_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001475 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001475 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001476, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001476 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_www_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001476 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001476 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001477, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001477 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_www_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001477 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001477 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001478, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001478 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_yyw_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001478 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001478 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001479, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001479 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_yyw_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001479 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001479 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001480, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001480 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_wzy_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001480 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001480 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001481, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001481 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_wzy_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001481 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001481 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001482, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001482 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_xyzw_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001482 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001482 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001483, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001483 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_xyzw_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001483 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001483 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001484, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001484 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_wzyx_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001484 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001484 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001485, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001485 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_wzyx_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001485 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001485 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001486, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001486 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_xxxx_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001486 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001486 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001487, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001487 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_xxxx_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001487 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001487 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001488, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001488 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_yyyy_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001488 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001488 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001489, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001489 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_yyyy_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001489 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001489 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001490, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001490 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_wwww_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001490 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001490 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001491, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001491 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_wwww_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001491 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001491 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001492, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001492 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles." + "vector_swizzles.mediump_vec4_wzzw_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001492 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001492 end"; +} + +static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001493, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_001493 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES2.functional.shaders.swizzles.v" + "ector_swizzles.mediump_vec4_wzzw_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles20002TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles20002TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles20002TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles20002TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles20002TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_001493 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_001493 end"; +}