提交 f23f750f 编写于 作者: J jichunxiang

add cts

Signed-off-by: Njichunxiang <jichunxiang@kaihongdigi.com>
上级 5ce115f1
/*
* 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_000670, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000670 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_inte"
"rpolation.render.base.rgba32f.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_000670 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000670 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000671, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000671 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_inte"
"rpolation.render.base.rgba32f.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_000671 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000671 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000672, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000672 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_inte"
"rpolation.render.base.rgba32f.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_000672 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000672 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_000661, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000661 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_int"
"erpolation.render.base.rgba8.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_000661 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000661 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000662, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000662 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_int"
"erpolation.render.base.rgba8.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_000662 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000662 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000663, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000663 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_int"
"erpolation.render.base.rgba8.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_000663 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000663 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_000664, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000664 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_int"
"erpolation.render.base.rgba8i.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_000664 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000664 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000665, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000665 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_int"
"erpolation.render.base.rgba8i.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_000665 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000665 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000666, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000666 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_int"
"erpolation.render.base.rgba8i.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_000666 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000666 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_000667, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000667 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_inte"
"rpolation.render.base.rgba8ui.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_000667 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000667 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000668, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000668 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_inte"
"rpolation.render.base.rgba8ui.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_000668 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000668 end";
}
static HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000669, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_000669 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.shader_multisample_inte"
"rpolation.render.base.rgba8ui.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_000669 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_000669 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_001731, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001731 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advance"
"d.BlendEquationSeparate.GL_MULTIPLY_KHR",
"--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_001731 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001731 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001732, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001732 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanc"
"ed.BlendEquationSeparate.GL_SCREEN_KHR",
"--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_001732 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001732 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001733, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001733 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advance"
"d.BlendEquationSeparate.GL_OVERLAY_KHR",
"--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_001733 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001733 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001734, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001734 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanc"
"ed.BlendEquationSeparate.GL_DARKEN_KHR",
"--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_001734 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001734 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001735, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001735 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advance"
"d.BlendEquationSeparate.GL_LIGHTEN_KHR",
"--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_001735 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001735 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001736, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001736 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".BlendEquationSeparate.GL_COLORDODGE_KHR",
"--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_001736 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001736 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001737, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001737 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".BlendEquationSeparate.GL_COLORBURN_KHR",
"--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_001737 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001737 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001738, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001738 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".BlendEquationSeparate.GL_HARDLIGHT_KHR",
"--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_001738 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001738 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001739, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001739 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".BlendEquationSeparate.GL_SOFTLIGHT_KHR",
"--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_001739 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001739 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001740, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001740 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".BlendEquationSeparate.GL_DIFFERENCE_KHR",
"--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_001740 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001740 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001741, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001741 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".BlendEquationSeparate.GL_EXCLUSION_KHR",
"--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_001741 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001741 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001742, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001742 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advance"
"d.BlendEquationSeparate.GL_HSL_HUE_KHR",
"--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_001742 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001742 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001743, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001743 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced.B"
"lendEquationSeparate.GL_HSL_SATURATION_KHR",
"--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_001743 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001743 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001744, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001744 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".BlendEquationSeparate.GL_HSL_COLOR_KHR",
"--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_001744 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001744 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001745, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001745 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced.B"
"lendEquationSeparate.GL_HSL_LUMINOSITY_KHR",
"--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_001745 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001745 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_001781, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001781 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".blend_all.GL_MULTIPLY_KHR_all_qualifier",
"--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_001781 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001781 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001782, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001782 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advance"
"d.blend_all.GL_SCREEN_KHR_all_qualifier",
"--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_001782 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001782 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001783, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001783 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".blend_all.GL_OVERLAY_KHR_all_qualifier",
"--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_001783 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001783 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001784, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001784 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advance"
"d.blend_all.GL_DARKEN_KHR_all_qualifier",
"--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_001784 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001784 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001785, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001785 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".blend_all.GL_LIGHTEN_KHR_all_qualifier",
"--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_001785 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001785 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001786, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001786 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced."
"blend_all.GL_COLORDODGE_KHR_all_qualifier",
"--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_001786 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001786 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001787, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001787 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced."
"blend_all.GL_COLORBURN_KHR_all_qualifier",
"--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_001787 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001787 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001788, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001788 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced."
"blend_all.GL_HARDLIGHT_KHR_all_qualifier",
"--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_001788 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001788 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001789, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001789 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced."
"blend_all.GL_SOFTLIGHT_KHR_all_qualifier",
"--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_001789 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001789 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001790, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001790 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced."
"blend_all.GL_DIFFERENCE_KHR_all_qualifier",
"--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_001790 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001790 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001791, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001791 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced."
"blend_all.GL_EXCLUSION_KHR_all_qualifier",
"--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_001791 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001791 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001792, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001792 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced"
".blend_all.GL_HSL_HUE_KHR_all_qualifier",
"--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_001792 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001792 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001793, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001793 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced.bl"
"end_all.GL_HSL_SATURATION_KHR_all_qualifier",
"--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_001793 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001793 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001794, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001794 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced."
"blend_all.GL_HSL_COLOR_KHR_all_qualifier",
"--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_001794 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001794 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001795, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001795 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced.bl"
"end_all.GL_HSL_LUMINOSITY_KHR_all_qualifier",
"--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_001795 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001795 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_001796, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001796 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adva"
"nced.blend_specific.GL_MULTIPLY_KHR",
"--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_001796 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001796 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001797, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001797 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adv"
"anced.blend_specific.GL_SCREEN_KHR",
"--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_001797 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001797 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001798, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001798 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adv"
"anced.blend_specific.GL_OVERLAY_KHR",
"--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_001798 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001798 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001799, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001799 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adv"
"anced.blend_specific.GL_DARKEN_KHR",
"--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_001799 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001799 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001800, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001800 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adv"
"anced.blend_specific.GL_LIGHTEN_KHR",
"--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_001800 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001800 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001801, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001801 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advan"
"ced.blend_specific.GL_COLORDODGE_KHR",
"--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_001801 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001801 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001802, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001802 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adva"
"nced.blend_specific.GL_COLORBURN_KHR",
"--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_001802 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001802 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001803, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001803 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adva"
"nced.blend_specific.GL_HARDLIGHT_KHR",
"--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_001803 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001803 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001804, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001804 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adva"
"nced.blend_specific.GL_SOFTLIGHT_KHR",
"--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_001804 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001804 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001805, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001805 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advan"
"ced.blend_specific.GL_DIFFERENCE_KHR",
"--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_001805 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001805 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001806, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001806 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adva"
"nced.blend_specific.GL_EXCLUSION_KHR",
"--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_001806 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001806 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001807, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001807 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adv"
"anced.blend_specific.GL_HSL_HUE_KHR",
"--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_001807 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001807 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001808, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001808 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advance"
"d.blend_specific.GL_HSL_SATURATION_KHR",
"--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_001808 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001808 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001809, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001809 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_adva"
"nced.blend_specific.GL_HSL_COLOR_KHR",
"--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_001809 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001809 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001810, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001810 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advance"
"d.blend_specific.GL_HSL_LUMINOSITY_KHR",
"--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_001810 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001810 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_001725, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001725 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_"
"advanced.coherent.enableDisable",
"--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_001725 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001725 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_001778, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001778 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced.ext"
"ension_directive.extension_directive_disable",
"--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_001778 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001778 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001779, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001779 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced.ext"
"ension_directive.extension_directive_enable",
"--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_001779 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001779 end";
}
static HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001780, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_001780 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"KHR-GLES31.core.blend_equation_advanced.ex"
"tension_directive.extension_directive_warn",
"--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_001780 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_001780 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册