提交 cab732c1 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 fb883e9e
/*
* 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_015662, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015662 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.stat"
"e_query.shader.shader_type",
"--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_015662 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015662 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015663, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015663 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_que"
"ry.shader.shader_compile_status",
"--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_015663 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015663 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015664, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015664 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_que"
"ry.shader.shader_info_log_length",
"--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_015664 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015664 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015665, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015665 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_qu"
"ery.shader.shader_source_length",
"--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_015665 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015665 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015666, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015666 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state"
"_query.shader.delete_status",
"--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_015666 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015666 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015667, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015667 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query.s"
"hader.current_vertex_attrib_initial",
"--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_015667 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015667 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015668, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015668 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.current_vertex_attrib_float",
"--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_015668 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015668 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015669, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015669 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query.sha"
"der.current_vertex_attrib_float_to_int",
"--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_015669 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015669 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015670, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015670 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_quer"
"y.shader.program_info_log_length",
"--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_015670 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015670 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015671, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015671 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_quer"
"y.shader.program_validate_status",
"--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_015671 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015671 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015672, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015672 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_quer"
"y.shader.program_attached_shaders",
"--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_015672 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015672 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015673, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015673 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.program_active_uniform_name",
"--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_015673 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015673 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015674, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015674 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.program_active_uniform_types",
"--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_015674 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015674 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015675, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015675 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_q"
"uery.shader.active_attributes",
"--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_015675 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015675 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015676, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015676 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_q"
"uery.shader.vertex_attrib_size",
"--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_015676 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015676 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015677, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015677 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_q"
"uery.shader.vertex_attrib_type",
"--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_015677 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015677 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015678, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015678 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_qu"
"ery.shader.vertex_attrib_stride",
"--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_015678 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015678 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015679, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015679 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_quer"
"y.shader.vertex_attrib_normalized",
"--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_015679 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015679 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015680, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015680 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.vertex_attrib_array_enabled",
"--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_015680 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015680 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015681, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015681 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query.sha"
"der.vertex_attrib_array_buffer_binding",
"--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_015681 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015681 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015682, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015682 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_que"
"ry.shader.vertex_attrib_pointerv",
"--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_015682 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015682 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015683, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015683 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_qu"
"ery.shader.uniform_value_float",
"--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_015683 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015683 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015684, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015684 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_q"
"uery.shader.uniform_value_int",
"--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_015684 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015684 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015685, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015685 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_que"
"ry.shader.uniform_value_boolean",
"--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_015685 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015685 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015686, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015686 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_que"
"ry.shader.uniform_value_sampler",
"--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_015686 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015686 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015687, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015687 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_qu"
"ery.shader.uniform_value_array",
"--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_015687 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015687 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015688, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015688 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_qu"
"ery.shader.uniform_value_matrix",
"--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_015688 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015688 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015689, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015689 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.precision_vertex_lowp_float",
"--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_015689 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015689 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015690, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015690 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query.s"
"hader.precision_vertex_mediump_float",
"--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_015690 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015690 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015691, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015691 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.precision_vertex_highp_float",
"--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_015691 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015691 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015692, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015692 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query"
".shader.precision_vertex_lowp_int",
"--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_015692 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015692 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015693, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015693 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.precision_vertex_mediump_int",
"--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_015693 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015693 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015694, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015694 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query"
".shader.precision_vertex_highp_int",
"--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_015694 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015694 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015695, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015695 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query.s"
"hader.precision_fragment_lowp_float",
"--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_015695 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015695 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015696, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015696 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query.sh"
"ader.precision_fragment_mediump_float",
"--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_015696 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015696 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015697, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015697 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query.s"
"hader.precision_fragment_highp_float",
"--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_015697 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015697 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015698, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015698 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.precision_fragment_lowp_int",
"--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_015698 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015698 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015699, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015699 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query.s"
"hader.precision_fragment_mediump_int",
"--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_015699 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015699 end";
}
static HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015700, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_015700 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.state_query."
"shader.precision_fragment_highp_int",
"--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_015700 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_015700 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册