提交 f15da311 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 4e74344a
/*
* 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 "../ActsDeqpgles20015TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014112, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014112 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_que"
"ry.nested_structs_arrays.float_vec4_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014112 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014112 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014113, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014113 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_quer"
"y.nested_structs_arrays.float_vec4_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014113 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014113 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014114, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014114 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_qu"
"ery.nested_structs_arrays.float_vec4_both",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014114 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014114 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014115, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014115 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_que"
"ry.nested_structs_arrays.mat4_mat2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014115 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014115 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014116, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014116 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_qu"
"ery.nested_structs_arrays.int_ivec4_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014116 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014116 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014117, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014117 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_que"
"ry.nested_structs_arrays.int_ivec4_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014117 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014117 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014118, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014118 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_q"
"uery.nested_structs_arrays.int_ivec4_both",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014118 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014118 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014119, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014119 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_que"
"ry.nested_structs_arrays.bool_bvec4_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014119 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014119 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014120, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014120 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_quer"
"y.nested_structs_arrays.bool_bvec4_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014120 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014120 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014121, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014121 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_qu"
"ery.nested_structs_arrays.bool_bvec4_both",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014121 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014121 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014122, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014122 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_query.ne"
"sted_structs_arrays.sampler2D_samplerCube_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014122 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014122 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014123, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014123 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_query.nes"
"ted_structs_arrays.sampler2D_samplerCube_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014123 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014123 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014124, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014124 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_query.n"
"ested_structs_arrays.sampler2D_samplerCube_both",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014124 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014124 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 "../ActsDeqpgles20001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000090, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000090 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer."
"write.partial_specify.whole_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000090 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000090 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000091, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000091 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer."
"write.partial_specify.whole_2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000091 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000091 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000092, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000092 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer."
"write.partial_specify.whole_3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000092 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000092 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000093, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000093 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer."
"write.partial_specify.whole_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000093 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000093 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000094, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000094 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer"
".write.partial_specify.low_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000094 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000094 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000095, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000095 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer"
".write.partial_specify.low_2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000095 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000095 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000096, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000096 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer"
".write.partial_specify.low_3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000096 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000096 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000097, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000097 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer"
".write.partial_specify.high_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000097 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000097 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000098, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000098 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer"
".write.partial_specify.high_2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000098 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000098 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000099, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000099 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer"
".write.partial_specify.high_3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000099 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000099 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000100, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000100 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer."
"write.partial_specify.middle_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000100 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000100 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000101, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000101 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer."
"write.partial_specify.middle_2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000101 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000101 end";
}
static HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000102, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000102 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.buffer."
"write.partial_specify.middle_3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20001TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20001TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20001TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000102 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000102 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册