提交 61b93f12 编写于 作者: L liucaicheng
上级 5ee93498
......@@ -13,7 +13,6 @@
* limitations under the License.
*/
#include <climits>
#include <gtest/gtest.h>
#include "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
......
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320002TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001137, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001137 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.ext_texture_shadow_lod.t"
"extureoffset.sampler2darrayshadow_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001137 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001137 end";
}
static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001138, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001138 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.ext_texture_shadow_lod.te"
"xtureoffset.sampler2darrayshadow_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001138 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001138 end";
}
static HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001139, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001139 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.ext_texture_shadow_lod.text"
"ureoffset.sampler2darrayshadow_bias_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320002TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320002TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320002TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001139 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001139 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000097, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000097 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shad"
"er.blitting.layered_nonlayered",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::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(ActsKhrgles320001TestSuite, TestCase_000098, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000098 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shad"
"er.blitting.nonlayered_layered",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::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(ActsKhrgles320001TestSuite, TestCase_000099, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000099 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_sha"
"der.blitting.layered_layered",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::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";
}
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000076, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000076 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader."
"primitive_counter.point_to_point",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000076 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000076 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000077, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000077 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.pri"
"mitive_counter.points_to_line_strip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000077 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000077 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000078, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000078 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primi"
"tive_counter.points_to_triangle_strip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000078 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000078 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000079, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000079 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader."
"primitive_counter.lines_to_points",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000079 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000079 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000080, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000080 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.pr"
"imitive_counter.lines_to_line_strip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000080 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000080 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000081, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000081 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.prim"
"itive_counter.lines_to_triangle_strip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000081 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000081 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000082, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000082 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.pr"
"imitive_counter.triangles_to_points",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000082 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000082 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000083, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000083 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.prim"
"itive_counter.triangles_to_line_strip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000083 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000083 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000084, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000084 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primit"
"ive_counter.triangles_to_triangle_strip",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000084 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000084 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000085, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000085 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.pr"
"imitive_counter.points_to_points_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000085 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000085 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000086, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000086 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.prim"
"itive_counter.points_to_line_strip_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000086 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000086 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000087, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000087 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primit"
"ive_counter.points_to_triangle_strip_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000087 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000087 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000088, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000088 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.pr"
"imitive_counter.lines_to_points_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000088 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000088 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000089, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000089 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.prim"
"itive_counter.lines_to_line_strip_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000089 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000089 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000090, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000090 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primit"
"ive_counter.lines_to_triangle_strip_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::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(ActsKhrgles320001TestSuite, TestCase_000091, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000091 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.prim"
"itive_counter.triangles_to_points_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::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(ActsKhrgles320001TestSuite, TestCase_000092, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000092 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primit"
"ive_counter.triangles_to_line_strip_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::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(ActsKhrgles320001TestSuite, TestCase_000093, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000093 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primitiv"
"e_counter.triangles_to_triangle_strip_rp",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::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(ActsKhrgles320001TestSuite, TestCase_000094, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000094 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primit"
"ive_counter.primitive_id_from_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::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";
}
/*
* 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000113, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000113 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primi"
"tive_queries.primitive_queries_points",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000113 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000113 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000114, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000114 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.prim"
"itive_queries.primitive_queries_lines",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000114 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000114 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000115, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000115 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.geometry_shader.primit"
"ive_queries.primitive_queries_triangles",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000115 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000115 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000210, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000210 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tesse"
"llation_shader_point_mode.point_rendering",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000210 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000210 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000211, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000211 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessell"
"ation_shader_point_mode.points_verification",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000211 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000211 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000195, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000195 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellat"
"ion_shader_quads_tessellation.degenerate_case",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000195 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000195 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000196, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000196 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellation_shade"
"r_quads_tessellation.inner_tessellation_level_rounding",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000196 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000196 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000212, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000212 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellatio"
"n_shader_tc_barriers.barrier_guarded_read_calls",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000212 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000212 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000213, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000213 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellatio"
"n_shader_tc_barriers.barrier_guarded_write_calls",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000213 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000213 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000214, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000214 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation_shader.tessellation_s"
"hader_tc_barriers.barrier_guarded_read_write_calls",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000214 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000214 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 "../Khrgles32BaseFunc.h"
#include "../ActsKhrgles320001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000186, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000186 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation_"
"shader.vertex.vertex_ordering",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000186 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000186 end";
}
static HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000187, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000187 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES32.core.tessellation"
"_shader.vertex.vertex_spacing",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles320001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles320001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles320001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles320001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles320001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000187 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000187 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册