提交 90f53e3a 编写于 作者: W wangshi

add depq2 testcase

Signed-off-by: Nwangshi <wangshi@kaihongdigi.com>
上级 c0fef8d7
/*
* 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016338, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016338 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_e"
"lements.indices.buffer.index_byte",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016338 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016338 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016339, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016339 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_e"
"lements.indices.buffer.index_short",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016339 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016339 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016337, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016337 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_element"
"s.indices.unaligned_user_ptr.index_short",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016337 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016337 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016335, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016335 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_el"
"ements.indices.user_ptr.index_byte",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016335 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016335 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016336, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016336 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.draw.draw_el"
"ements.indices.user_ptr.index_short",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016336 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016336 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 "../ActsDeqpgles20015TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014125, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014125 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api"
".info_query.multiple_basic.vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014125 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014125 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014126, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014126 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api."
"info_query.multiple_basic.fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014126 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014126 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014127, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014127 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_ap"
"i.info_query.multiple_basic.both",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014127 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014127 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 "../ActsDeqpgles20015TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014128, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014128 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.in"
"fo_query.multiple_basic_array.vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014128 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014128 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014129, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014129 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.inf"
"o_query.multiple_basic_array.fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014129 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014129 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014130, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014130 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.i"
"nfo_query.multiple_basic_array.both",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014130 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014130 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 "../ActsDeqpgles20015TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014131, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014131 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_qu"
"ery.multiple_nested_structs_arrays.vertex",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014131 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014131 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014132, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014132 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_que"
"ry.multiple_nested_structs_arrays.fragment",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014132 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014132 end";
}
static HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014133, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_014133 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.uniform_api.info_q"
"uery.multiple_nested_structs_arrays.both",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20015TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20015TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20015TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20015TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20015TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_014133 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_014133 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016469, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016469 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional"
".lifetime.bind.buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016469 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016469 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016470, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016470 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional"
".lifetime.bind.texture",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016470 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016470 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016471, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016471 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.li"
"fetime.bind.renderbuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016471 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016471 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016472, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016472 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.l"
"ifetime.bind.framebuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016472 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016472 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016477, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016477 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.li"
"fetime.bind_no_gen.buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016477 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016477 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016478, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016478 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.bind_no_gen.texture",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016478 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016478 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016479, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016479 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lifet"
"ime.bind_no_gen.renderbuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016479 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016479 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016480, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016480 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lifet"
"ime.bind_no_gen.framebuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016480 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016480 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016463, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016463 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional."
"lifetime.delete.buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016463 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016463 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016464, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016464 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional."
"lifetime.delete.texture",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016464 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016464 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016465, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016465 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.delete.renderbuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016465 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016465 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016466, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016466 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.li"
"fetime.delete.framebuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016466 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016466 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016467, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016467 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional."
"lifetime.delete.shader",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016467 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016467 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016468, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016468 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional."
"lifetime.delete.program",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016468 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016468 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016473, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016473 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.delete_bound.buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016473 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016473 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016474, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016474 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.delete_bound.texture",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016474 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016474 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016475, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016475 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lifeti"
"me.delete_bound.renderbuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016475 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016475 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016476, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016476 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lifet"
"ime.delete_bound.framebuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016476 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016476 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016481, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016481 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.lif"
"etime.delete_used.program",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016481 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016481 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 "../ActsDeqpgles20017TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016457, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016457 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functiona"
"l.lifetime.gen.buffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016457 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016457 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016458, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016458 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional"
".lifetime.gen.texture",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016458 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016458 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016459, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016459 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.l"
"ifetime.gen.renderbuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016459 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016459 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016460, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016460 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.l"
"ifetime.gen.framebuffer",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016460 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016460 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016461, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016461 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functiona"
"l.lifetime.gen.shader",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016461 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016461 end";
}
static HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016462, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_016462 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional"
".lifetime.gen.program",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20017TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20017TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20017TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20017TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20017TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_016462 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_016462 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 "../ActsDeqpgles20004TestSuite.h"
using namespace std;
using namespace testing::ext;
using namespace OHOS;
static HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003931, Function | MediumTest | Level2)
{
GTEST_LOG_(INFO) << "TestCase_003931 start";
int argc = 3;
const char *argv[3] = {
".",
"--deqp-case="
"dEQP-GLES2.functional.shaders.loops."
"custom.continue_in_fragment_for_loop",
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult result = RunTestKHRGLES(argc, argv);
ActsDeqpgles20004TestSuite::runResult.numPassed += result.numPassed;
ActsDeqpgles20004TestSuite::runResult.numFailed += result.numFailed;
ActsDeqpgles20004TestSuite::runResult.numNotSupported += result.numNotSupported;
ActsDeqpgles20004TestSuite::runResult.numWarnings += result.numWarnings;
ActsDeqpgles20004TestSuite::runResult.numWaived += result.numWaived;
if (result.numNotSupported == 1) {
GTEST_LOG_(INFO) << "TestCase_003931 notsupport!";
} else if (result.isComplete) {
EXPECT_TRUE(result.isComplete);
EXPECT_TRUE(result.numPassed == 1);
};
GTEST_LOG_(INFO) << "TestCase_003931 end";
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册