提交 cba8872a 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 a5ca8cf4
/*
* 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 "../ActsDeqpgles20003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002341, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002341 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keyword"
"s.invalid_identifiers.gl_begin_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002341 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002341 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002342, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002342 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywords"
".invalid_identifiers.gl_begin_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002342 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002342 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002343, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002343 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywo"
"rds.invalid_identifiers.digit_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002343 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002343 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002344, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002344 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywor"
"ds.invalid_identifiers.digit_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002344 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002344 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002345, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002345 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywords"
".invalid_identifiers.digit_begin_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002345 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002345 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002346, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002346 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.keywords."
"invalid_identifiers.digit_begin_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002346 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002346 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_013863, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013863 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative"
"_api.vertex_array.vertex_attrib",
"--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_013863 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013863 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013864, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013864 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative_"
"api.vertex_array.vertex_attribv",
"--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_013864 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013864 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013865, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013865 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative_api"
".vertex_array.vertex_attrib_pointer",
"--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_013865 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013865 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013866, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013866 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative_api.ve"
"rtex_array.enable_vertex_attrib_array",
"--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_013866 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013866 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013867, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013867 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative_api.ve"
"rtex_array.disable_vertex_attrib_array",
"--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_013867 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013867 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013868, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013868 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negativ"
"e_api.vertex_array.draw_arrays",
"--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_013868 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013868 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013869, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013869 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative_api.ve"
"rtex_array.draw_arrays_invalid_program",
"--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_013869 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013869 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013870, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013870 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative_api.verte"
"x_array.draw_arrays_incomplete_primitive",
"--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_013870 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013870 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013871, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013871 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative"
"_api.vertex_array.draw_elements",
"--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_013871 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013871 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013872, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013872 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative_api.ver"
"tex_array.draw_elements_invalid_program",
"--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_013872 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013872 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013873, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013873 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.negative_api.vertex"
"_array.draw_elements_incomplete_primitive",
"--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_013873 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013873 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 "../ActsDeqpgles20003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002381, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002381 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_order."
"parameters.valid.storage_parameter_precision_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002381 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002381 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002382, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002382 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_order.p"
"arameters.valid.storage_parameter_precision_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002382 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002382 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002383, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002383 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_o"
"rder.parameters.valid.storage_parameter_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002383 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002383 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002384, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002384 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_or"
"der.parameters.valid.storage_parameter_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002384 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002384 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002385, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002385 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_o"
"rder.parameters.valid.storage_precision_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002385 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002385 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002386, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002386 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_or"
"der.parameters.valid.storage_precision_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002386 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002386 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002387, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002387 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_or"
"der.parameters.valid.parameter_precision_vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002387 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002387 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002388, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002388 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_ord"
"er.parameters.valid.parameter_precision_fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002388 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002388 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_013874, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013874 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.raster"
"ization.primitives.triangles",
"--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_013874 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013874 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013875, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013875 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.rasteriz"
"ation.primitives.triangle_strip",
"--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_013875 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013875 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013876, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013876 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.rasteri"
"zation.primitives.triangle_fan",
"--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_013876 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013876 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013877, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013877 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.rast"
"erization.primitives.lines",
"--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_013877 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013877 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013878, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013878 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.raster"
"ization.primitives.line_strip",
"--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_013878 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013878 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013879, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013879 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.raster"
"ization.primitives.line_loop",
"--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_013879 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013879 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013880, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013880 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.raster"
"ization.primitives.lines_wide",
"--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_013880 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013880 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013881, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013881 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.rasteriza"
"tion.primitives.line_strip_wide",
"--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_013881 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013881 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013882, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013882 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.rasteriz"
"ation.primitives.line_loop_wide",
"--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_013882 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013882 end";
}
static HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013883, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_013883 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.rast"
"erization.primitives.points",
"--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_013883 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_013883 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 "../ActsDeqpgles20008TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007814, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007814 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.tex"
"ture_functions.fragment.texture2d",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007814 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007814 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007815, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007815 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.textu"
"re_functions.fragment.texture2d_bias",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007815 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007815 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007816, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007816 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.texture"
"_functions.fragment.texture2dproj_vec3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007816 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007816 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007817, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007817 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.texture"
"_functions.fragment.texture2dproj_vec4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007817 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007817 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007818, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007818 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.texture_fu"
"nctions.fragment.texture2dproj_vec3_bias",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007818 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007818 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007819, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007819 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.texture_fu"
"nctions.fragment.texture2dproj_vec4_bias",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007819 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007819 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007820, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007820 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.text"
"ure_functions.fragment.texturecube",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007820 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007820 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007821, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007821 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.textur"
"e_functions.fragment.texturecube_bias",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007821 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007821 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 "../ActsDeqpgles20008TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007806, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007806 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.te"
"xture_functions.vertex.texture2d",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007806 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007806 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007807, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007807 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.textur"
"e_functions.vertex.texture2dproj_vec3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007807 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007807 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007808, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007808 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.textur"
"e_functions.vertex.texture2dproj_vec4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007808 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007808 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007809, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007809 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.tex"
"ture_functions.vertex.texture2dlod",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007809 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007809 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007810, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007810 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.texture_"
"functions.vertex.texture2dprojlod_vec3",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007810 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007810 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007811, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007811 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.texture_"
"functions.vertex.texture2dprojlod_vec4",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007811 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007811 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007812, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007812 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.tex"
"ture_functions.vertex.texturecube",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007812 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007812 end";
}
static HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007813, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_007813 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.text"
"ure_functions.vertex.texturecubelod",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20008TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20008TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20008TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20008TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20008TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_007813 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_007813 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 "../ActsDeqpgles20003TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002374, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002374 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_ord"
"er.variables.invalid.invariant_precision_storage",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002374 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002374 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002375, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002375 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_ord"
"er.variables.invalid.storage_invariant_precision",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002375 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002375 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002376, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002376 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_ord"
"er.variables.invalid.storage_precision_invariant",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002376 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002376 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002377, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002377 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_ord"
"er.variables.invalid.precision_invariant_storage",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002377 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002377 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002378, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002378 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualification_ord"
"er.variables.invalid.precision_storage_invariant",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002378 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002378 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002379, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002379 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualificatio"
"n_order.variables.invalid.precision_storage",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002379 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002379 end";
}
static HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002380, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_002380 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.qualificatio"
"n_order.variables.invalid.storage_invariant",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20003TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20003TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20003TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20003TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20003TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_002380 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_002380 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册