未验证 提交 496351cb 编写于 作者: O openharmony_ci 提交者: Gitee

!3843 add khrgles31 testcast part4

Merge pull request !3843 from liuqingye/master
/*
* 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002188, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002188 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.framebu"
"ffer_no_attachments.api",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002188 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002188 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002189, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002189 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.framebuf"
"fer_no_attachments.render",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002189 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002189 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002368, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002368 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.near"
"est_edge.offset_left",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002368 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002368 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002369, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002369 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.near"
"est_edge.offset_right",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002369 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002369 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002258, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002258 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.polygon_offset_cl"
"amp.PolygonOffsetClampAvailability",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002258 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002258 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002259, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002259 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.polygon_offset"
"_clamp.PolygonOffsetClampMinMax",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002259 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002259 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002260, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002260 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.polygon_offset_cl"
"amp.PolygonOffsetClampZeroInfinity",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002260 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002260 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002261, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002261 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_"
"group_vote.availability",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002261 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002261 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002262, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002262 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_g"
"roup_vote.all_invocations",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002262 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002262 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002263, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002263 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_g"
"roup_vote.any_invocation",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002263 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002263 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002264, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002264 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_grou"
"p_vote.all_invocations_equal",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002264 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002264 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002265, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002265 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_group_v"
"ote.invocations_with_variables",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002265 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002265 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310002TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001836, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001836 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_macros."
"fragment_precision_high_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310002TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310002TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310002TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001836 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001836 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001837, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001837 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_macros.f"
"ragment_precision_high_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310002TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310002TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310002TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001837 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001837 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001838, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001838 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_macros.f"
"ragment_precision_high_geometry",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310002TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310002TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310002TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001838 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001838 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001839, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001839 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_macros.fra"
"gment_precision_high_tess_control",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310002TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310002TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310002TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001839 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001839 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001840, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001840 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_macros.f"
"ragment_precision_high_tess_eval",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310002TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310002TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310002TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310002TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310002TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_001840 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001840 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002475, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002475 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shad"
"er.blitting.layered_nonlayered",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002475 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002475 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002476, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002476 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shad"
"er.blitting.nonlayered_layered",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002476 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002476 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002477, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002477 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_sha"
"der.blitting.layered_layered",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002477 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002477 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002474, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002474 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry"
"_shader.clipping.clipping",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002474 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002474 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002495, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002495 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shader.co"
"nstant_variables.constant_variables",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002495 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002495 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002450, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002450 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shad"
"er.input.gl_in_array_contents",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002450 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002450 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002451, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002451 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_sha"
"der.input.gl_in_array_length",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002451 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002451 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002452, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002452 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_sha"
"der.input.gl_pointsize_value",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002452 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002452 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002453, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002453 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_sh"
"ader.input.gl_position_value",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002453 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002453 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002473, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002473 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shader.l"
"ayered_rendering.layered_rendering",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002473 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002473 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 "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002494, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002494 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shader.layered_rendering_f"
"bo_no_attachment.layered_rendering_fbo_no_attachment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310003TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310003TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310003TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002494 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002494 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册