提交 4cb22a1c 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 75850685
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20013TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012203, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012203 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.ble"
"nd.rgb_equation_alpha_equation.add_add",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012203 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012203 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012204, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012204 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.blend"
".rgb_equation_alpha_equation.add_subtract",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012204 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012204 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012205, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012205 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.blend.rgb"
"_equation_alpha_equation.add_reverse_subtract",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012205 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012205 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012206, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012206 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.blend"
".rgb_equation_alpha_equation.subtract_add",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012206 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012206 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012207, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012207 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.blend.rg"
"b_equation_alpha_equation.subtract_subtract",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012207 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012207 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012208, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012208 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.blend.rgb_eq"
"uation_alpha_equation.subtract_reverse_subtract",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012208 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012208 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012209, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012209 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.blend.rgb"
"_equation_alpha_equation.reverse_subtract_add",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012209 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012209 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012210, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012210 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.blend.rgb_eq"
"uation_alpha_equation.reverse_subtract_subtract",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012210 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012210 end";
}
static HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012211, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_012211 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.fragment_ops.blend.rgb_equati"
"on_alpha_equation.reverse_subtract_reverse_subtract",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20013TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20013TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20013TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20013TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20013TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_012211 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_012211 end";
}
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20007TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006744, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006744 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.opera"
"tor.bool_compare.equal.bvec2_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006744 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006744 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006745, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006745 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operat"
"or.bool_compare.equal.bvec2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006745 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006745 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006746, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006746 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.opera"
"tor.bool_compare.equal.bvec3_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006746 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006746 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006747, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006747 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operat"
"or.bool_compare.equal.bvec3_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006747 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006747 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006748, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006748 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.opera"
"tor.bool_compare.equal.bvec4_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006748 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006748 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006749, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006749 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operat"
"or.bool_compare.equal.bvec4_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006749 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006749 end";
}
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20007TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006750, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006750 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operat"
"or.bool_compare.notEqual.bvec2_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006750 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006750 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006751, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006751 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operato"
"r.bool_compare.notEqual.bvec2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006751 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006751 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006752, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006752 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operat"
"or.bool_compare.notEqual.bvec3_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006752 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006752 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006753, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006753 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operato"
"r.bool_compare.notEqual.bvec3_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006753 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006753 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006754, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006754 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operat"
"or.bool_compare.notEqual.bvec4_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006754 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006754 end";
}
static HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006755, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_006755 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.operato"
"r.bool_compare.notEqual.bvec4_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20007TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20007TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20007TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20007TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20007TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_006755 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_006755 end";
}
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20009TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008224, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_008224 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.constant_expressio"
"ns.builtin_functions.matrix.compMult_mat2_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_008224 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_008224 end";
}
static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008225, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_008225 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.constant_expression"
"s.builtin_functions.matrix.compMult_mat2_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_008225 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_008225 end";
}
static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008226, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_008226 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.constant_expressio"
"ns.builtin_functions.matrix.compMult_mat3_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_008226 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_008226 end";
}
static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008227, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_008227 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.constant_expression"
"s.builtin_functions.matrix.compMult_mat3_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_008227 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_008227 end";
}
static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008228, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_008228 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.constant_expressio"
"ns.builtin_functions.matrix.compMult_mat4_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_008228 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_008228 end";
}
static HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008229, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_008229 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.constant_expression"
"s.builtin_functions.matrix.compMult_mat4_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20009TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20009TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20009TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20009TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20009TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_008229 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_008229 end";
}
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20014TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013387, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013387 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays."
"multiple_attributes.attribute_count.2",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013387 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013387 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013388, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013388 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays."
"multiple_attributes.attribute_count.3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013388 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013388 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013389, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013389 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays."
"multiple_attributes.attribute_count.4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013389 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013389 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013390, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013390 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays."
"multiple_attributes.attribute_count.5",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013390 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013390 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013391, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013391 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays."
"multiple_attributes.attribute_count.6",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013391 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013391 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013392, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013392 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays."
"multiple_attributes.attribute_count.7",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013392 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013392 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013393, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013393 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays."
"multiple_attributes.attribute_count.8",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013393 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013393 end";
}
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Deqpgles2BaseFunc.h"
#include "../ActsDeqpgles20014TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013394, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013394 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays.multiple_"
"attributes.storage.3_user_ptr_user_ptr_buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013394 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013394 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013395, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013395 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays.multiple_"
"attributes.storage.3_user_ptr_buffer_user_ptr",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013395 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013395 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013396, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013396 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays.multiple"
"_attributes.storage.3_user_ptr_buffer_buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013396 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013396 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013397, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013397 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays.multiple_"
"attributes.storage.3_buffer_user_ptr_user_ptr",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013397 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013397 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013398, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013398 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays.multiple"
"_attributes.storage.3_buffer_user_ptr_buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013398 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013398 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013399, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013399 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays.multiple"
"_attributes.storage.3_buffer_buffer_user_ptr",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013399 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013399 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013400, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013400 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.vertex_arrays.multipl"
"e_attributes.storage.3_buffer_buffer_buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20014TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20014TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20014TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20014TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20014TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_013400 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013400 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册