From e7c05edfbc742e7744db95732e17a3fa02da0985 Mon Sep 17 00:00:00 2001 From: bayanxing Date: Tue, 12 Jul 2022 22:25:40 +0800 Subject: [PATCH] add deqpgles3 Signed-off-by: bayanxing --- .../deqpgles3/ActsDeqpgles30001TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30001TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30002TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30002TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30003TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30003TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30004TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30004TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30005TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30005TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30006TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30006TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30007TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30007TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30008TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30008TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30009TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30009TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30010TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30010TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30011TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30011TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30012TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30012TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30013TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30013TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30014TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30014TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30015TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30015TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30016TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30016TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30017TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30017TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30018TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30018TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30019TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30019TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30020TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30020TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30021TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30021TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30022TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30022TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30023TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30023TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30024TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30024TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30025TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30025TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30026TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30026TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30027TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30027TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30028TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30028TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30029TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30029TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30030TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30030TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30031TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30031TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30032TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30032TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30033TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30033TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30034TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30034TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30035TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30035TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30036TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30036TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30037TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30037TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30038TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30038TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30039TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30039TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30040TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30040TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30041TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30041TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30042TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30042TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30043TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30043TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30044TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30044TestSuite.h | 40 +++++++++ .../deqpgles3/ActsDeqpgles30045TestSuite.cpp | 60 ++++++++++++++ .../deqpgles3/ActsDeqpgles30045TestSuite.h | 40 +++++++++ .../src/deqpgles3/ActsDeqpgles3TestSuite.cpp | 60 ++++++++++++++ .../src/deqpgles3/ActsDeqpgles3TestSuite.h | 40 +++++++++ .../vkgl/src/deqpgles3/Deqpgles3BaseFunc.cpp | 81 +++++++++++++++++++ .../vkgl/src/deqpgles3/Deqpgles3BaseFunc.h | 32 ++++++++ 94 files changed, 4713 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30001TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30001TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30002TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30002TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30003TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30003TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30004TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30004TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30005TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30005TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30006TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30006TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30007TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30007TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30008TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30008TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30009TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30009TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30010TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30010TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30011TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30011TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30012TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30012TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30013TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30013TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30014TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30014TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30015TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30015TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30016TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30016TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30017TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30017TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30018TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30018TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30019TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30019TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30020TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30020TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30021TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30021TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30022TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30022TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30023TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30023TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30024TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30024TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30025TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30025TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30026TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30026TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30027TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30027TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30028TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30028TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30029TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30029TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30030TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30030TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30031TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30031TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30032TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30032TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30033TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30033TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30034TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30034TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30035TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30035TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30036TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30036TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30037TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30037TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30038TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30038TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30039TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30039TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30040TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30040TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30041TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30041TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30042TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30042TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30043TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30043TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30044TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30044TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30045TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles30045TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles3TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles3/ActsDeqpgles3TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles3/Deqpgles3BaseFunc.cpp create mode 100644 graphic/vkgl/src/deqpgles3/Deqpgles3BaseFunc.h diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30001TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30001TestSuite.cpp new file mode 100644 index 000000000..bd6d5d515 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30001TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30001TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30001TestSuite::starttime; + time_t ActsDeqpgles30001TestSuite::endtime; + FuncRunResult ActsDeqpgles30001TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30001TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30001TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30001TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30001TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30001TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30001TestSuite.h new file mode 100644 index 000000000..f4861fc46 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30001TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30001TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30002TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30002TestSuite.cpp new file mode 100644 index 000000000..758b7dcbf --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30002TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30002TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30002TestSuite::starttime; + time_t ActsDeqpgles30002TestSuite::endtime; + FuncRunResult ActsDeqpgles30002TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30002TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30002TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30002TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30002TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30002TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30002TestSuite.h new file mode 100644 index 000000000..925813f1f --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30002TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30002TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30003TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30003TestSuite.cpp new file mode 100644 index 000000000..1369d34e5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30003TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30003TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30003TestSuite::starttime; + time_t ActsDeqpgles30003TestSuite::endtime; + FuncRunResult ActsDeqpgles30003TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30003TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30003TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30003TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30003TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30003TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30003TestSuite.h new file mode 100644 index 000000000..7d4805f0a --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30003TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30003TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30004TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30004TestSuite.cpp new file mode 100644 index 000000000..c20228e9b --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30004TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30004TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30004TestSuite::starttime; + time_t ActsDeqpgles30004TestSuite::endtime; + FuncRunResult ActsDeqpgles30004TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30004TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30004TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30004TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30004TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30004TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30004TestSuite.h new file mode 100644 index 000000000..5f95a9d07 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30004TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30004TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30005TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30005TestSuite.cpp new file mode 100644 index 000000000..e8bd47535 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30005TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30005TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30005TestSuite::starttime; + time_t ActsDeqpgles30005TestSuite::endtime; + FuncRunResult ActsDeqpgles30005TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30005TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30005TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30005TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30005TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30005TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30005TestSuite.h new file mode 100644 index 000000000..472559a84 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30005TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30005TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30006TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30006TestSuite.cpp new file mode 100644 index 000000000..357ecee83 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30006TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30006TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30006TestSuite::starttime; + time_t ActsDeqpgles30006TestSuite::endtime; + FuncRunResult ActsDeqpgles30006TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30006TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30006TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30006TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30006TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30006TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30006TestSuite.h new file mode 100644 index 000000000..23d54e7d1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30006TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30006TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30007TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30007TestSuite.cpp new file mode 100644 index 000000000..33f6915e3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30007TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30007TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30007TestSuite::starttime; + time_t ActsDeqpgles30007TestSuite::endtime; + FuncRunResult ActsDeqpgles30007TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30007TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30007TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30007TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30007TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30007TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30007TestSuite.h new file mode 100644 index 000000000..0b38a2c86 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30007TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30007TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30008TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30008TestSuite.cpp new file mode 100644 index 000000000..7e9123176 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30008TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30008TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30008TestSuite::starttime; + time_t ActsDeqpgles30008TestSuite::endtime; + FuncRunResult ActsDeqpgles30008TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30008TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30008TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30008TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30008TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30008TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30008TestSuite.h new file mode 100644 index 000000000..debe53f58 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30008TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30008TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30009TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30009TestSuite.cpp new file mode 100644 index 000000000..75f32225c --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30009TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30009TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30009TestSuite::starttime; + time_t ActsDeqpgles30009TestSuite::endtime; + FuncRunResult ActsDeqpgles30009TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30009TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30009TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30009TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30009TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30009TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30009TestSuite.h new file mode 100644 index 000000000..fd1df3f20 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30009TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30009TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30010TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30010TestSuite.cpp new file mode 100644 index 000000000..f0ee08545 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30010TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30010TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30010TestSuite::starttime; + time_t ActsDeqpgles30010TestSuite::endtime; + FuncRunResult ActsDeqpgles30010TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30010TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30010TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30010TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30010TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30010TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30010TestSuite.h new file mode 100644 index 000000000..8909bf7c8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30010TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30010TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30011TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30011TestSuite.cpp new file mode 100644 index 000000000..6c22dbc03 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30011TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30011TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30011TestSuite::starttime; + time_t ActsDeqpgles30011TestSuite::endtime; + FuncRunResult ActsDeqpgles30011TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30011TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30011TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30011TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30011TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30011TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30011TestSuite.h new file mode 100644 index 000000000..ae9ff582e --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30011TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30011TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30012TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30012TestSuite.cpp new file mode 100644 index 000000000..53acbca24 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30012TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30012TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30012TestSuite::starttime; + time_t ActsDeqpgles30012TestSuite::endtime; + FuncRunResult ActsDeqpgles30012TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30012TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30012TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30012TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30012TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30012TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30012TestSuite.h new file mode 100644 index 000000000..e07b5b51f --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30012TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30012TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30013TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30013TestSuite.cpp new file mode 100644 index 000000000..32c4f01a9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30013TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30013TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30013TestSuite::starttime; + time_t ActsDeqpgles30013TestSuite::endtime; + FuncRunResult ActsDeqpgles30013TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30013TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30013TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30013TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30013TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30013TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30013TestSuite.h new file mode 100644 index 000000000..398290314 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30013TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30013TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30014TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30014TestSuite.cpp new file mode 100644 index 000000000..0acc80de0 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30014TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30014TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30014TestSuite::starttime; + time_t ActsDeqpgles30014TestSuite::endtime; + FuncRunResult ActsDeqpgles30014TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30014TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30014TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30014TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30014TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30014TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30014TestSuite.h new file mode 100644 index 000000000..59306e203 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30014TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30014TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30015TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30015TestSuite.cpp new file mode 100644 index 000000000..6cf934fce --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30015TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30015TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30015TestSuite::starttime; + time_t ActsDeqpgles30015TestSuite::endtime; + FuncRunResult ActsDeqpgles30015TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30015TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30015TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30015TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30015TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30015TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30015TestSuite.h new file mode 100644 index 000000000..0911498da --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30015TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30015TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30016TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30016TestSuite.cpp new file mode 100644 index 000000000..d74425363 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30016TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30016TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30016TestSuite::starttime; + time_t ActsDeqpgles30016TestSuite::endtime; + FuncRunResult ActsDeqpgles30016TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30016TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30016TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30016TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30016TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30016TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30016TestSuite.h new file mode 100644 index 000000000..8ca83af08 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30016TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30016TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30017TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30017TestSuite.cpp new file mode 100644 index 000000000..9f3e2f3c3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30017TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30017TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30017TestSuite::starttime; + time_t ActsDeqpgles30017TestSuite::endtime; + FuncRunResult ActsDeqpgles30017TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30017TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30017TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30017TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30017TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30017TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30017TestSuite.h new file mode 100644 index 000000000..66a05f0ff --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30017TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30017TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30018TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30018TestSuite.cpp new file mode 100644 index 000000000..2b084242b --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30018TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30018TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30018TestSuite::starttime; + time_t ActsDeqpgles30018TestSuite::endtime; + FuncRunResult ActsDeqpgles30018TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30018TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30018TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30018TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30018TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30018TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30018TestSuite.h new file mode 100644 index 000000000..4e4fbfa25 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30018TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30018TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30019TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30019TestSuite.cpp new file mode 100644 index 000000000..d50387abb --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30019TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30019TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30019TestSuite::starttime; + time_t ActsDeqpgles30019TestSuite::endtime; + FuncRunResult ActsDeqpgles30019TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30019TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30019TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30019TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30019TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30019TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30019TestSuite.h new file mode 100644 index 000000000..b8eccd077 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30019TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30019TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30020TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30020TestSuite.cpp new file mode 100644 index 000000000..ba8ae1a8b --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30020TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30020TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30020TestSuite::starttime; + time_t ActsDeqpgles30020TestSuite::endtime; + FuncRunResult ActsDeqpgles30020TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30020TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30020TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30020TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30020TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30020TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30020TestSuite.h new file mode 100644 index 000000000..281b7f3bb --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30020TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30020TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30021TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30021TestSuite.cpp new file mode 100644 index 000000000..4559ac0d5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30021TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30021TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30021TestSuite::starttime; + time_t ActsDeqpgles30021TestSuite::endtime; + FuncRunResult ActsDeqpgles30021TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30021TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30021TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30021TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30021TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30021TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30021TestSuite.h new file mode 100644 index 000000000..0c8ce3e61 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30021TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30021TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30022TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30022TestSuite.cpp new file mode 100644 index 000000000..8bf48e388 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30022TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30022TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30022TestSuite::starttime; + time_t ActsDeqpgles30022TestSuite::endtime; + FuncRunResult ActsDeqpgles30022TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30022TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30022TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30022TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30022TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30022TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30022TestSuite.h new file mode 100644 index 000000000..19b2dba52 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30022TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30022TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30023TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30023TestSuite.cpp new file mode 100644 index 000000000..490ba4a9c --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30023TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30023TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30023TestSuite::starttime; + time_t ActsDeqpgles30023TestSuite::endtime; + FuncRunResult ActsDeqpgles30023TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30023TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30023TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30023TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30023TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30023TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30023TestSuite.h new file mode 100644 index 000000000..5ea8c4fc4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30023TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30023TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30024TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30024TestSuite.cpp new file mode 100644 index 000000000..8e943cd83 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30024TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30024TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30024TestSuite::starttime; + time_t ActsDeqpgles30024TestSuite::endtime; + FuncRunResult ActsDeqpgles30024TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30024TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30024TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30024TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30024TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30024TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30024TestSuite.h new file mode 100644 index 000000000..906d1d364 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30024TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30024TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30025TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30025TestSuite.cpp new file mode 100644 index 000000000..86c27a881 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30025TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30025TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30025TestSuite::starttime; + time_t ActsDeqpgles30025TestSuite::endtime; + FuncRunResult ActsDeqpgles30025TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30025TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30025TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30025TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30025TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30025TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30025TestSuite.h new file mode 100644 index 000000000..1d4db8338 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30025TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30025TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30026TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30026TestSuite.cpp new file mode 100644 index 000000000..849407192 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30026TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30026TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30026TestSuite::starttime; + time_t ActsDeqpgles30026TestSuite::endtime; + FuncRunResult ActsDeqpgles30026TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30026TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30026TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30026TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30026TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30026TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30026TestSuite.h new file mode 100644 index 000000000..90d2e8dd9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30026TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30026TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30027TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30027TestSuite.cpp new file mode 100644 index 000000000..6dae6de73 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30027TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30027TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30027TestSuite::starttime; + time_t ActsDeqpgles30027TestSuite::endtime; + FuncRunResult ActsDeqpgles30027TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30027TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30027TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30027TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30027TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30027TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30027TestSuite.h new file mode 100644 index 000000000..79c10c7f9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30027TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30027TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30028TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30028TestSuite.cpp new file mode 100644 index 000000000..15d82178e --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30028TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30028TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30028TestSuite::starttime; + time_t ActsDeqpgles30028TestSuite::endtime; + FuncRunResult ActsDeqpgles30028TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30028TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30028TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30028TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30028TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30028TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30028TestSuite.h new file mode 100644 index 000000000..84d72da07 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30028TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30028TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30029TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30029TestSuite.cpp new file mode 100644 index 000000000..84aaa8178 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30029TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30029TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30029TestSuite::starttime; + time_t ActsDeqpgles30029TestSuite::endtime; + FuncRunResult ActsDeqpgles30029TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30029TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30029TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30029TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30029TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30029TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30029TestSuite.h new file mode 100644 index 000000000..ce9a17247 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30029TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30029TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30030TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30030TestSuite.cpp new file mode 100644 index 000000000..b9970c4f4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30030TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30030TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30030TestSuite::starttime; + time_t ActsDeqpgles30030TestSuite::endtime; + FuncRunResult ActsDeqpgles30030TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30030TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30030TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30030TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30030TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30030TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30030TestSuite.h new file mode 100644 index 000000000..608ca11c8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30030TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30030TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30031TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30031TestSuite.cpp new file mode 100644 index 000000000..7fd2d6a85 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30031TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30031TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30031TestSuite::starttime; + time_t ActsDeqpgles30031TestSuite::endtime; + FuncRunResult ActsDeqpgles30031TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30031TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30031TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30031TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30031TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30031TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30031TestSuite.h new file mode 100644 index 000000000..ebf825837 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30031TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30031TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30032TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30032TestSuite.cpp new file mode 100644 index 000000000..178192f9a --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30032TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30032TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30032TestSuite::starttime; + time_t ActsDeqpgles30032TestSuite::endtime; + FuncRunResult ActsDeqpgles30032TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30032TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30032TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30032TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30032TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30032TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30032TestSuite.h new file mode 100644 index 000000000..65ab5b742 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30032TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30032TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30033TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30033TestSuite.cpp new file mode 100644 index 000000000..d8bfa0a5b --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30033TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30033TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30033TestSuite::starttime; + time_t ActsDeqpgles30033TestSuite::endtime; + FuncRunResult ActsDeqpgles30033TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30033TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30033TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30033TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30033TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30033TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30033TestSuite.h new file mode 100644 index 000000000..9f560d67a --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30033TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30033TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30034TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30034TestSuite.cpp new file mode 100644 index 000000000..21acf36cf --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30034TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30034TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30034TestSuite::starttime; + time_t ActsDeqpgles30034TestSuite::endtime; + FuncRunResult ActsDeqpgles30034TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30034TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30034TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30034TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30034TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30034TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30034TestSuite.h new file mode 100644 index 000000000..c076d308a --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30034TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30034TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30035TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30035TestSuite.cpp new file mode 100644 index 000000000..dd28fdb1a --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30035TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30035TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30035TestSuite::starttime; + time_t ActsDeqpgles30035TestSuite::endtime; + FuncRunResult ActsDeqpgles30035TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30035TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30035TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30035TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30035TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30035TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30035TestSuite.h new file mode 100644 index 000000000..d49cc45be --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30035TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30035TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30036TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30036TestSuite.cpp new file mode 100644 index 000000000..a556ce3df --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30036TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30036TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30036TestSuite::starttime; + time_t ActsDeqpgles30036TestSuite::endtime; + FuncRunResult ActsDeqpgles30036TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30036TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30036TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30036TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30036TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30036TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30036TestSuite.h new file mode 100644 index 000000000..f8067ce41 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30036TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30036TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30037TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30037TestSuite.cpp new file mode 100644 index 000000000..1510e9123 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30037TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30037TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30037TestSuite::starttime; + time_t ActsDeqpgles30037TestSuite::endtime; + FuncRunResult ActsDeqpgles30037TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30037TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30037TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30037TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30037TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30037TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30037TestSuite.h new file mode 100644 index 000000000..317464b60 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30037TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30037TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30038TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30038TestSuite.cpp new file mode 100644 index 000000000..1facf5389 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30038TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30038TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30038TestSuite::starttime; + time_t ActsDeqpgles30038TestSuite::endtime; + FuncRunResult ActsDeqpgles30038TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30038TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30038TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30038TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30038TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30038TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30038TestSuite.h new file mode 100644 index 000000000..f0a501942 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30038TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30038TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30039TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30039TestSuite.cpp new file mode 100644 index 000000000..3646211d2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30039TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30039TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30039TestSuite::starttime; + time_t ActsDeqpgles30039TestSuite::endtime; + FuncRunResult ActsDeqpgles30039TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30039TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30039TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30039TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30039TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30039TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30039TestSuite.h new file mode 100644 index 000000000..ac8dea16d --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30039TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30039TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30040TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30040TestSuite.cpp new file mode 100644 index 000000000..f9a20d7de --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30040TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30040TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30040TestSuite::starttime; + time_t ActsDeqpgles30040TestSuite::endtime; + FuncRunResult ActsDeqpgles30040TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30040TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30040TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30040TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30040TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30040TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30040TestSuite.h new file mode 100644 index 000000000..9dc84519f --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30040TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30040TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30041TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30041TestSuite.cpp new file mode 100644 index 000000000..d6f02277c --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30041TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30041TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30041TestSuite::starttime; + time_t ActsDeqpgles30041TestSuite::endtime; + FuncRunResult ActsDeqpgles30041TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30041TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30041TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30041TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30041TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30041TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30041TestSuite.h new file mode 100644 index 000000000..73f48f9d3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30041TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30041TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30042TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30042TestSuite.cpp new file mode 100644 index 000000000..73b60a242 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30042TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30042TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30042TestSuite::starttime; + time_t ActsDeqpgles30042TestSuite::endtime; + FuncRunResult ActsDeqpgles30042TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30042TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30042TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30042TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30042TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30042TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30042TestSuite.h new file mode 100644 index 000000000..8bc0578d4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30042TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30042TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30043TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30043TestSuite.cpp new file mode 100644 index 000000000..266ff8e11 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30043TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30043TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30043TestSuite::starttime; + time_t ActsDeqpgles30043TestSuite::endtime; + FuncRunResult ActsDeqpgles30043TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30043TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30043TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30043TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30043TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30043TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30043TestSuite.h new file mode 100644 index 000000000..187939f99 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30043TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30043TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30044TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30044TestSuite.cpp new file mode 100644 index 000000000..e643f88f1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30044TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30044TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30044TestSuite::starttime; + time_t ActsDeqpgles30044TestSuite::endtime; + FuncRunResult ActsDeqpgles30044TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30044TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30044TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30044TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30044TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30044TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30044TestSuite.h new file mode 100644 index 000000000..596efb0b7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30044TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30044TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30045TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30045TestSuite.cpp new file mode 100644 index 000000000..225a74642 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30045TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles30045TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles30045TestSuite::starttime; + time_t ActsDeqpgles30045TestSuite::endtime; + FuncRunResult ActsDeqpgles30045TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles30045TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles30045TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles30045TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles30045TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles30045TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30045TestSuite.h new file mode 100644 index 000000000..5f07c87a5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles30045TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles30045TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles3TestSuite.cpp b/graphic/vkgl/src/deqpgles3/ActsDeqpgles3TestSuite.cpp new file mode 100644 index 000000000..5e2be28cb --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles3TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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 +#include +#include +#include "Deqpgles3BaseFunc.h" +#include "ActsDeqpgles3TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles3TestSuite::starttime; + time_t ActsDeqpgles3TestSuite::endtime; + FuncRunResult ActsDeqpgles3TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles3TestSuite::SetUpTestCase(void) + { + time(&starttime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles3TestSuite::TearDownTestCase(void) + { + time(&endtime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endtime-starttime)); + } + // Preset action of the test case + void ActsDeqpgles3TestSuite::SetUp() + { + } + // Cleanup action of the test case + void ActsDeqpgles3TestSuite::TearDown() + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/ActsDeqpgles3TestSuite.h b/graphic/vkgl/src/deqpgles3/ActsDeqpgles3TestSuite.h new file mode 100644 index 000000000..bf8d65f88 --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/ActsDeqpgles3TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_TESTCASE_H +#define DEQPGLES3_TESTCASE_H + +#include +#include "Deqpgles3BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles3TestSuite : public testing::Test { + public: + static time_t starttime; + static time_t endtime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(); + // Cleanup action of the test case + virtual void TearDown(); + }; +} // namespace OHOS + +#endif // DEQPGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/Deqpgles3BaseFunc.cpp b/graphic/vkgl/src/deqpgles3/Deqpgles3BaseFunc.cpp new file mode 100644 index 000000000..cd9cdfa2b --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/Deqpgles3BaseFunc.cpp @@ -0,0 +1,81 @@ +/* + * 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 + +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +#include "ActsApp.h" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" +#include "tcuOhosPlatform.hpp" + +#include "external/openglcts/modules/common/glcConfigPackage.hpp" +#include "external/openglcts/modules/common/glcTestPackage.hpp" +#include "external/openglcts/modules/gles2/es2cTestPackage.hpp" +#include "external/openglcts/modules/gles32/es32cTestPackage.hpp" +#include "external/openglcts/modules/gles31/es31cTestPackage.hpp" +#include "external/openglcts/modules/gles3/es3cTestPackage.hpp" +#include "external/openglcts/modules/glesext/esextcTestPackage.hpp" +#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp" + +#include "modules/gles2/tes2TestPackage.hpp" +#include "modules/gles3/tes3TestPackage.hpp" +#include "modules/gles31/tes31TestPackage.hpp" + +#include "ohos_context_i.h" +#include "logdefine.h" +#include "Deqpgles3BaseFunc.h" + +static tcu::TestPackage* createDeqpgles3Package(tcu::TestContext& testCtx) +{ + return new deqp::gles3::TestPackage(testCtx); +} +void RegistPackage(void) +{ + tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); + registry->registerPackage("dEQP-GLES3", createDeqpgles3Package); +} + +// extern tcu::TestLog tcutestlog; +FuncRunResult RunTestKHRGLES(int argc, const char** argv) +{ + FuncRunResult runResult; + try { + tcu::CommandLine cmdLine(argc, argv); + tcu::DirArchive archive(cmdLine.getArchiveDir()); + + de::UniquePtr platform(createOhosPlatform()); + de::UniquePtr app(new tcu::ActsApp(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine)); + for (;;) { + if (!app->iterate()) { + break; + }; + }; + runResult.isComplete = app->getResult().isComplete; + runResult.numPassed = app->getResult().numPassed; + runResult.numExecuted = app->getResult().numExecuted; + runResult.numFailed = app->getResult().numFailed; + runResult.numNotSupported = app->getResult().numNotSupported; + runResult.numWarnings = app->getResult().numWarnings; + runResult.numWaived = app->getResult().numWaived; + } catch (const std::exception &e) { + tcu::die("%s", e.what()); + }; + return runResult; +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles3/Deqpgles3BaseFunc.h b/graphic/vkgl/src/deqpgles3/Deqpgles3BaseFunc.h new file mode 100644 index 000000000..37591b2bc --- /dev/null +++ b/graphic/vkgl/src/deqpgles3/Deqpgles3BaseFunc.h @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#ifndef DEQPGLES3_FUNC_H +#define DEQPGLES3_FUNC_H + +struct FuncRunResult { + int numExecuted; // !< Total number of cases executed. + int numPassed; // !< Number of cases passed. + int numFailed; // !< Number of cases failed. + int numNotSupported; // !< Number of cases not supported. + int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results. + int numWaived; // !< Number of waived tests. + bool isComplete; // !< Is run complete. +}; + +void RegistPackage(void); +FuncRunResult RunTestKHRGLES(int argc, const char** argv); + +#endif // DEQPGLES3_FUNC_H \ No newline at end of file -- GitLab