From 160a653cdeca7ff7461307e63c76ffc77e14886e Mon Sep 17 00:00:00 2001 From: chenxun Date: Thu, 7 Jul 2022 10:49:16 +0800 Subject: [PATCH] add depq3 testcase Signed-off-by: chenxun --- ...gles3swizzles_vector_swizzlesTestCase8.cpp | 1993 +++++++++++++++++ 1 file changed, 1993 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles3/functional/Deqpgles3swizzles_vector_swizzlesTestCase8.cpp diff --git a/graphic/vkgl/src/deqpgles3/functional/Deqpgles3swizzles_vector_swizzlesTestCase8.cpp b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3swizzles_vector_swizzlesTestCase8.cpp new file mode 100644 index 000000000..06ea0d448 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/functional/Deqpgles3swizzles_vector_swizzlesTestCase8.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 "../Deqpgles3BaseFunc.h" +#include "../ActsDeqpgles30003TestSuite.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003357, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003357 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_pts_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003357 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003357 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003358, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003358 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_sss_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003358 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003358 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003359, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003359 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_sss_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003359 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003359 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003360, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003360 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_ppp_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003360 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003360 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003361, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003361 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_ppp_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003361 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003361 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003362, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003362 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_ppt_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003362 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003362 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003363, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003363 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_ppt_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003363 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003363 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003364, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003364 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_tst_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003364 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003364 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003365, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003365 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_tst_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003365 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003365 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003366, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003366 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_sps_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003366 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003366 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003367, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003367 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_sps_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003367 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003367 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003368, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003368 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_stts_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003368 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003368 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003369, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003369 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec3_stts_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003369 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003369 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003370, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003370 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_pppp_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003370 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003370 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003371, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003371 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec3_pppp_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003371 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003371 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003372, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003372 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles" + ".vector_swizzles.mediump_bvec3_r_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003372 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003372 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003373, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003373 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_r_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003373 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003373 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003374, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003374 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles" + ".vector_swizzles.mediump_bvec3_b_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003374 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003374 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003375, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003375 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_b_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003375 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003375 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003376, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003376 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_rb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003376 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003376 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003377, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003377 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_rb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003377 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003377 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003378, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003378 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_bb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003378 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003378 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003379, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003379 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_bb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003379 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003379 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003380, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003380 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_rgb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003380 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003380 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003381, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003381 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_rgb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003381 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003381 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003382, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003382 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_bgr_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003382 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003382 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003383, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003383 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_bgr_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003383 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003383 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003384, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003384 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_rrr_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003384 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003384 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003385, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003385 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_rrr_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003385 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003385 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003386, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003386 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_bbb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003386 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003386 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003387, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003387 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_bbb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003387 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003387 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003388, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003388 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_bbg_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003388 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003388 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003389, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003389 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_bbg_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003389 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003389 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003390, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003390 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_grg_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003390 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003390 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003391, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003391 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_grg_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003391 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003391 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003392, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003392 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec3_rbr_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003392 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003392 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003393, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003393 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_rbr_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003393 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003393 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003394, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003394 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_rggr_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003394 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003394 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003395, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003395 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec3_rggr_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003395 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003395 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003396, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003396 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec3_bbbb_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003396 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003396 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003397, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003397 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec3_bbbb_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003397 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003397 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003398, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003398 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles" + ".vector_swizzles.mediump_bvec4_x_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003398 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003398 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003399, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003399 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec4_x_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003399 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003399 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003400, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003400 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles" + ".vector_swizzles.mediump_bvec4_w_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003400 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003400 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003401, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003401 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec4_w_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003401 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003401 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003402, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003402 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec4_wx_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003402 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003402 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003403, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003403 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_wx_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003403 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003403 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003404, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003404 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec4_wz_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003404 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003404 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003405, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003405 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_wz_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003405 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003405 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003406, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003406 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec4_www_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003406 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003406 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003407, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003407 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_www_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003407 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003407 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003408, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003408 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec4_yyw_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003408 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003408 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003409, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003409 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_yyw_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003409 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003409 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003410, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003410 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles." + "vector_swizzles.mediump_bvec4_wzy_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003410 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003410 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003411, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003411 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_wzy_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003411 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003411 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003412, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003412 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_xyzw_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003412 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003412 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003413, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003413 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_xyzw_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003413 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003413 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003414, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003414 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_wzyx_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003414 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003414 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003415, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003415 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_wzyx_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003415 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003415 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003416, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003416 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_xxxx_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003416 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003416 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003417, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003417 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_xxxx_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003417 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003417 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003418, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003418 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_yyyy_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003418 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003418 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003419, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003419 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_yyyy_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003419 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003419 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003420, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003420 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_wwww_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003420 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003420 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003421, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003421 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_wwww_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003421 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003421 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003422, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003422 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_wzzw_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003422 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003422 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003423, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003423 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_wzzw_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003423 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003423 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003424, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003424 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_wwwy_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003424 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003424 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003425, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003425 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_wwwy_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003425 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003425 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003426, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003426 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_xyxx_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003426 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003426 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003427, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003427 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_xyxx_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003427 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003427 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003428, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003428 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.v" + "ector_swizzles.mediump_bvec4_zzwz_vertex", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003428 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003428 end"; +} + +static HWTEST_F(ActsDeqpgles30003TestSuite, TestCase_003429, Function | MediumTest | Level2) +{ + GTEST_LOG_(INFO) << "TestCase_003429 start"; + int argc = 3; + const char *argv[3] = { + ".", + "--deqp-case=" + "dEQP-GLES3.functional.shaders.swizzles.ve" + "ctor_swizzles.mediump_bvec4_zzwz_fragment", + "--deqp-archive-dir=/data/local/tmp/" + }; + + FuncRunResult result = RunTestKHRGLES(argc, argv); + ActsDeqpgles30003TestSuite::runResult.numPassed += result.numPassed; + ActsDeqpgles30003TestSuite::runResult.numFailed += result.numFailed; + ActsDeqpgles30003TestSuite::runResult.numNotSupported += result.numNotSupported; + ActsDeqpgles30003TestSuite::runResult.numWarnings += result.numWarnings; + ActsDeqpgles30003TestSuite::runResult.numWaived += result.numWaived; + if (result.numNotSupported == 1) { + GTEST_LOG_(INFO) << "TestCase_003429 notsupport!"; + } else if (result.isComplete) { + EXPECT_TRUE(result.isComplete); + EXPECT_TRUE(result.numPassed == 1); + }; + GTEST_LOG_(INFO) << "TestCase_003429 end"; +} -- GitLab