提交 daaf1ebd 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 a70456c8
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20002TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001342, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001342 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations.i"
"nvalid_declarations.attribute_in_vertex_main",
"--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_001342 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001342 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001343, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001343 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations"
".invalid_declarations.attribute_in_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_001343 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001343 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001344, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001344 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations."
"invalid_declarations.uniform_in_vertex_main",
"--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_001344 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001344 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001345, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001345 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations.i"
"nvalid_declarations.uniform_in_fragment_main",
"--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_001345 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001345 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001346, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001346 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations."
"invalid_declarations.varying_in_vertex_main",
"--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_001346 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001346 end";
}
static HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001347, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001347 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.declarations.i"
"nvalid_declarations.varying_in_fragment_main",
"--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_001347 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001347 end";
}
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016417, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016417 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_1f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016417 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016417 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016418, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016418 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_2f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016418 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016418 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016419, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016419 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_3f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016419 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016419 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016420, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016420 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_4f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016420 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016420 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016421, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016421 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_1fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016421 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016421 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016422, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016422 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_2fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016422 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016422 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016423, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016423 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_3fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016423 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016423 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016424, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016424 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.float.vertex_attrib_4fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016424 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016424 end";
}
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016449, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016449 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.mat4.vertex_attrib_1f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016449 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016449 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016450, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016450 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.mat4.vertex_attrib_2f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016450 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016450 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016451, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016451 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.mat4.vertex_attrib_3f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016451 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016451 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016452, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016452 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.mat4.vertex_attrib_4f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016452 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016452 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016453, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016453 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.mat4.vertex_attrib_1fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016453 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016453 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016454, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016454 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.mat4.vertex_attrib_2fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016454 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016454 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016455, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016455 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.mat4.vertex_attrib_3fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016455 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016455 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016456, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016456 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.mat4.vertex_attrib_4fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016456 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016456 end";
}
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016433, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016433 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.vec4.vertex_attrib_1f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016433 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016433 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016434, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016434 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.vec4.vertex_attrib_2f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016434 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016434 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016435, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016435 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.vec4.vertex_attrib_3f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016435 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016435 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016436, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016436 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ve"
"rtex_attrib.vec4.vertex_attrib_4f",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016436 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016436 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016437, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016437 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.vec4.vertex_attrib_1fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016437 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016437 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016438, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016438 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.vec4.vertex_attrib_2fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016438 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016438 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016439, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016439 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.vec4.vertex_attrib_3fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016439 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016439 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016440, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016440 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.default_ver"
"tex_attrib.vec4.vertex_attrib_4fv",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016440 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016440 end";
}
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20016TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015285, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015285 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dith"
"er.disabled.gradient_white",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015285 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015285 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015286, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015286 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.disabled.gradient_red",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015286 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015286 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015287, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015287 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dith"
"er.disabled.gradient_green",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015287 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015287 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015288, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015288 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.disabled.gradient_blue",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015288 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015288 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015289, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015289 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dith"
"er.disabled.gradient_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015289 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015289 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015290, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015290 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither."
"disabled.unicolored_quad_white",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015290 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015290 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015291, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015291 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither"
".disabled.unicolored_quad_red",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015291 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015291 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015292, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015292 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither."
"disabled.unicolored_quad_green",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015292 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015292 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015293, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015293 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither."
"disabled.unicolored_quad_blue",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015293 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015293 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015294, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015294 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither."
"disabled.unicolored_quad_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015294 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015294 end";
}
/*
* 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 <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20016TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015295, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015295 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.enabled.gradient_white",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015295 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015295 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015296, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015296 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.di"
"ther.enabled.gradient_red",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015296 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015296 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015297, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015297 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.enabled.gradient_green",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015297 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015297 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015298, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015298 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.enabled.gradient_blue",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015298 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015298 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015299, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015299 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dit"
"her.enabled.gradient_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015299 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015299 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015300, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015300 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither."
"enabled.unicolored_quad_white",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015300 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015300 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015301, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015301 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither"
".enabled.unicolored_quad_red",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015301 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015301 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015302, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015302 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither."
"enabled.unicolored_quad_green",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015302 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015302 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015303, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015303 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither"
".enabled.unicolored_quad_blue",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015303 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015303 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015304, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015304 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.dither."
"enabled.unicolored_quad_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20016TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20016TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20016TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20016TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20016TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_015304 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015304 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册