提交 40f25c82 编写于 作者: Z zhangkaiyue

add testcase

Signed-off-by: Nzhangkaiyue <zhangkaiyue@kaihongdigi.com>
上级 972e5387
/*
* 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_002486, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002486 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shader.o"
"utput.conflicted_output_primitive",
"--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_002486 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002486 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002487, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002487 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shader.ou"
"tput.conflicted_output_vertices_max",
"--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_002487 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002487 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002488, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002488 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_sha"
"der.output.vertex_emit_at_end",
"--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_002488 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002488 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002489, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002489 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shader."
"output.primitive_end_done_at_end",
"--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_002489 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002489 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002490, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002490 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.geometry_shader.output"
".primite_end_done_for_single_primitive",
"--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_002490 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002490 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 "../ActsKhrgles310001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000323, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000323 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_varia"
"bles.position.fixed.samples_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000323 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000323 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000324, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000324 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_varia"
"bles.position.fixed.samples_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000324 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000324 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000325, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000325 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_varia"
"bles.position.fixed.samples_2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000325 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000325 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000326, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000326 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_varia"
"bles.position.fixed.samples_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000326 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000326 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000327, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000327 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_varia"
"bles.position.fixed.samples_8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000327 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000327 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 "../ActsKhrgles310001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000318, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000318 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.position.non-fixed.samples_0",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000318 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000318 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000319, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000319 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.position.non-fixed.samples_1",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000319 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000319 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000320, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000320 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.position.non-fixed.samples_2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000320 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000320 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000321, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000321 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.position.non-fixed.samples_4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000321 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000321 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000322, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000322 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.sample_variabl"
"es.position.non-fixed.samples_8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000322 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000322 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_002575, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002575 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellation_c"
"ontrol_to_tessellation_evaluation.data_pass_through",
"--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_002575 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002575 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002576, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002576 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessella"
"tion_control_to_tessellation_evaluation.gl_in",
"--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_002576 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002576 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002577, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002577 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellation_control_to_t"
"essellation_evaluation.gl_MaxPatchVertices_Position_PointSize",
"--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_002577 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002577 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002578, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002578 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellation_co"
"ntrol_to_tessellation_evaluation.gl_PatchVerticesIn",
"--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_002578 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002578 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002579, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002579 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellation"
"_control_to_tessellation_evaluation.gl_tessLevel",
"--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_002579 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002579 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_002580, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002580 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellation_shader_"
"tessellation.gl_InvocationID_PatchVerticesIn_PrimitiveID",
"--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_002580 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002580 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002581, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002581 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.te"
"ssellation_shader_tessellation.TCS_TES",
"--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_002581 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002581 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002582, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002582 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader."
"tessellation_shader_tessellation.TES",
"--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_002582 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002582 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002583, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002583 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessella"
"tion_shader_tessellation.input_patch_discard",
"--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_002583 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002583 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002584, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002584 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellat"
"ion_shader_tessellation.max_in_out_attributes",
"--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_002584 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002584 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_002737, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002737 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r32f.0_0",
"--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_002737 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002737 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002738, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002738 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r32f.1_0",
"--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_002738 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002738 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002739, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002739 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.r32f.16_0",
"--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_002739 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002739 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002740, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002740 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r32f.1_1",
"--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_002740 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002740 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002741, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002741 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.r32f.16_1",
"--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_002741 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002741 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002742, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002742 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.r32f.16_16",
"--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_002742 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002742 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_002719, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002719 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstor"
"agemodes.teximage2d.r8.0_0",
"--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_002719 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002719 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002720, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002720 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstor"
"agemodes.teximage2d.r8.1_0",
"--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_002720 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002720 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002721, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002721 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8.16_0",
"--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_002721 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002721 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002722, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002722 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstor"
"agemodes.teximage2d.r8.1_1",
"--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_002722 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002722 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002723, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002723 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8.16_1",
"--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_002723 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002723 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002724, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002724 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8.16_16",
"--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_002724 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002724 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_002749, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002749 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8i.0_0",
"--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_002749 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002749 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002750, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002750 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8i.1_0",
"--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_002750 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002750 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002751, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002751 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8i.16_0",
"--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_002751 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002751 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002752, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002752 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8i.1_1",
"--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_002752 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002752 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002753, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002753 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8i.16_1",
"--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_002753 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002753 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002754, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002754 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.r8i.16_16",
"--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_002754 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002754 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_002743, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002743 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8ui.0_0",
"--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_002743 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002743 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002744, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002744 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8ui.1_0",
"--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_002744 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002744 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002745, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002745 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.r8ui.16_0",
"--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_002745 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002745 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002746, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002746 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.r8ui.1_1",
"--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_002746 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002746 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002747, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002747 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.r8ui.16_1",
"--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_002747 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002747 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002748, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002748 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.r8ui.16_16",
"--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_002748 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002748 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_002779, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002779 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.rg8.0_0",
"--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_002779 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002779 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002780, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002780 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.rg8.1_0",
"--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_002780 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002780 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002781, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002781 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.rg8.16_0",
"--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_002781 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002781 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002782, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002782 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.rg8.1_1",
"--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_002782 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002782 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002783, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002783 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstora"
"gemodes.teximage2d.rg8.16_1",
"--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_002783 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002783 end";
}
static HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002784, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002784 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.pixelstorag"
"emodes.teximage2d.rg8.16_16",
"--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_002784 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002784 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 "../ActsKhrgles310001TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000030, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000030 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample."
"APIGLGetTexLevelParameterifv.functional_test",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000030 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000030 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000031, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000031 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample.APIGLGet"
"TexLevelParameterifv.invalid_texture_target_rejected",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000031 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000031 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000032, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000032 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample.APIGLGet"
"TexLevelParameterifv.invalid_value_argument_rejected",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000032 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000032 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000033, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000033 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample.APIGLGe"
"tTexLevelParameterifv.negative_lod_is_rejected_test",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000033 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000033 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000034, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000034 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample.APIG"
"LGetTexLevelParameterifv.functional_max_lod_test",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsKhrgles310001TestSuite::runResult.numPassed += result.numPassed;
ActsKhrgles310001TestSuite::runResult.numFailed += result.numFailed;
ActsKhrgles310001TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsKhrgles310001TestSuite::runResult.numWarnings += result.numWarnings;
ActsKhrgles310001TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_000034 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000034 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册