提交 152770c0 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 17d7432a
/*
* 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 "../ActsDeqpgles20014TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013616, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013616 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api."
"program_state.detach_shader_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013616 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013616 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013617, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013617 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.detach_shader_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013617 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013617 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013618, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013618 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.reattach_shader_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013618 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013618 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013619, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013619 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pr"
"ogram_state.reattach_shader_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013619 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013619 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013620, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013620 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api."
"program_state.delete_shader_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013620 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013620 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013621, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013621 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.delete_shader_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013621 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013621 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013622, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013622 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.replace_shader_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013622 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013622 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013623, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013623 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pr"
"ogram_state.replace_shader_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013623 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013623 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013624, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013624 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pr"
"ogram_state.recompile_shader_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013624 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013624 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013625, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013625 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pro"
"gram_state.recompile_shader_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013625 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013625 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013626, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013626 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.p"
"rogram_state.replace_source_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013626 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013626 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013627, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013627 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader_api.pr"
"ogram_state.replace_source_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013627 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013627 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 "../ActsDeqpgles20008TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007859, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007859 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shader"
"s.fragdata.valid_static_index",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007859 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007859 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007860, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007860 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders"
".fragdata.valid_uniform_index",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007860 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007860 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007861, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007861 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders"
".fragdata.valid_dynamic_index",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007861 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007861 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007862, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007862 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders"
".fragdata.invalid_assign_to_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007862 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007862 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007863, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007863 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.fragdat"
"a.write_fragcolor_and_fragdata_simple",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007863 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007863 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007864, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007864 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.fragdata"
".write_fragcolor_and_fragdata_static_if",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007864 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007864 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007865, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007865 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.fragdata."
"write_fragcolor_and_fragdata_unused_func",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007865 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007865 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 "../ActsDeqpgles20011TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010851, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010851 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specif"
"ication.basic_copyteximage2d.2d_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010851 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010851 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010852, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010852 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specific"
"ation.basic_copyteximage2d.2d_luminance",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010852 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010852 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010853, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010853 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specificati"
"on.basic_copyteximage2d.2d_luminance_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010853 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010853 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010854, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010854 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.speci"
"fication.basic_copyteximage2d.2d_rgb",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010854 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010854 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010855, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010855 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specif"
"ication.basic_copyteximage2d.2d_rgba",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010855 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010855 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010856, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010856 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specifi"
"cation.basic_copyteximage2d.cube_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010856 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010856 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010857, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010857 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specifica"
"tion.basic_copyteximage2d.cube_luminance",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010857 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010857 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010858, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010858 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specificatio"
"n.basic_copyteximage2d.cube_luminance_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010858 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010858 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010859, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010859 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specif"
"ication.basic_copyteximage2d.cube_rgb",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010859 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010859 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010860, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010860 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specifi"
"cation.basic_copyteximage2d.cube_rgba",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010860 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010860 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 "../ActsDeqpgles20011TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010861, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010861 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specific"
"ation.basic_copytexsubimage2d.2d_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010861 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010861 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010862, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010862 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specificat"
"ion.basic_copytexsubimage2d.2d_luminance",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010862 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010862 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010863, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010863 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specification"
".basic_copytexsubimage2d.2d_luminance_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010863 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010863 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010864, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010864 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specifi"
"cation.basic_copytexsubimage2d.2d_rgb",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010864 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010864 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010865, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010865 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specifi"
"cation.basic_copytexsubimage2d.2d_rgba",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010865 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010865 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010866, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010866 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specifica"
"tion.basic_copytexsubimage2d.cube_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010866 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010866 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010867, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010867 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specificati"
"on.basic_copytexsubimage2d.cube_luminance",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010867 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010867 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010868, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010868 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specification."
"basic_copytexsubimage2d.cube_luminance_alpha",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010868 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010868 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010869, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010869 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specific"
"ation.basic_copytexsubimage2d.cube_rgb",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010869 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010869 end";
}
static HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010870, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_010870 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.texture.specific"
"ation.basic_copytexsubimage2d.cube_rgba",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20011TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20011TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20011TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20011TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20011TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_010870 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_010870 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册