未验证 提交 94dc1120 编写于 作者: O openharmony_ci 提交者: Gitee

!9145 vkgl测试代码优化

Merge pull request !9145 from wshikh/master
...@@ -22,39 +22,7 @@ ...@@ -22,39 +22,7 @@
namespace OHOS { namespace OHOS {
using namespace std; using namespace std;
using namespace testing::ext; using namespace testing::ext;
time_t ActsDeqpgles20001TestSuite::startTime; time_t ActsDeqpgles20001TestSuite::startTime;
time_t ActsDeqpgles20001TestSuite::endTime; time_t ActsDeqpgles20001TestSuite::endTime;
FuncRunResult ActsDeqpgles20001TestSuite::runResult; FuncRunResult ActsDeqpgles20001TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20001TestSuite::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 ActsDeqpgles20001TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20001TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20001TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20001TestSuite)
class ActsDeqpgles20001TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20002TestSuite::startTime; time_t ActsDeqpgles20002TestSuite::startTime;
time_t ActsDeqpgles20002TestSuite::endTime; time_t ActsDeqpgles20002TestSuite::endTime;
FuncRunResult ActsDeqpgles20002TestSuite::runResult; FuncRunResult ActsDeqpgles20002TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20002TestSuite::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 ActsDeqpgles20002TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20002TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20002TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20002TestSuite)
class ActsDeqpgles20002TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20003TestSuite::startTime; time_t ActsDeqpgles20003TestSuite::startTime;
time_t ActsDeqpgles20003TestSuite::endTime; time_t ActsDeqpgles20003TestSuite::endTime;
FuncRunResult ActsDeqpgles20003TestSuite::runResult; FuncRunResult ActsDeqpgles20003TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20003TestSuite::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 ActsDeqpgles20003TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20003TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20003TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20003TestSuite)
class ActsDeqpgles20003TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20004TestSuite::startTime; time_t ActsDeqpgles20004TestSuite::startTime;
time_t ActsDeqpgles20004TestSuite::endTime; time_t ActsDeqpgles20004TestSuite::endTime;
FuncRunResult ActsDeqpgles20004TestSuite::runResult; FuncRunResult ActsDeqpgles20004TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20004TestSuite::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 ActsDeqpgles20004TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20004TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20004TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20004TestSuite)
class ActsDeqpgles20004TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20005TestSuite::startTime; time_t ActsDeqpgles20005TestSuite::startTime;
time_t ActsDeqpgles20005TestSuite::endTime; time_t ActsDeqpgles20005TestSuite::endTime;
FuncRunResult ActsDeqpgles20005TestSuite::runResult; FuncRunResult ActsDeqpgles20005TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20005TestSuite::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 ActsDeqpgles20005TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20005TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20005TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20005TestSuite)
class ActsDeqpgles20005TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20006TestSuite::startTime; time_t ActsDeqpgles20006TestSuite::startTime;
time_t ActsDeqpgles20006TestSuite::endTime; time_t ActsDeqpgles20006TestSuite::endTime;
FuncRunResult ActsDeqpgles20006TestSuite::runResult; FuncRunResult ActsDeqpgles20006TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20006TestSuite::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 ActsDeqpgles20006TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20006TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20006TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20006TestSuite)
class ActsDeqpgles20006TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20007TestSuite::startTime; time_t ActsDeqpgles20007TestSuite::startTime;
time_t ActsDeqpgles20007TestSuite::endTime; time_t ActsDeqpgles20007TestSuite::endTime;
FuncRunResult ActsDeqpgles20007TestSuite::runResult; FuncRunResult ActsDeqpgles20007TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20007TestSuite::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 ActsDeqpgles20007TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20007TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20007TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20007TestSuite)
class ActsDeqpgles20007TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20008TestSuite::startTime; time_t ActsDeqpgles20008TestSuite::startTime;
time_t ActsDeqpgles20008TestSuite::endTime; time_t ActsDeqpgles20008TestSuite::endTime;
FuncRunResult ActsDeqpgles20008TestSuite::runResult; FuncRunResult ActsDeqpgles20008TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20008TestSuite::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 ActsDeqpgles20008TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20008TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20008TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20008TestSuite)
class ActsDeqpgles20008TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20009TestSuite::startTime; time_t ActsDeqpgles20009TestSuite::startTime;
time_t ActsDeqpgles20009TestSuite::endTime; time_t ActsDeqpgles20009TestSuite::endTime;
FuncRunResult ActsDeqpgles20009TestSuite::runResult; FuncRunResult ActsDeqpgles20009TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20009TestSuite::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 ActsDeqpgles20009TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20009TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20009TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20009TestSuite)
class ActsDeqpgles20009TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20010TestSuite::startTime; time_t ActsDeqpgles20010TestSuite::startTime;
time_t ActsDeqpgles20010TestSuite::endTime; time_t ActsDeqpgles20010TestSuite::endTime;
FuncRunResult ActsDeqpgles20010TestSuite::runResult; FuncRunResult ActsDeqpgles20010TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20010TestSuite::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 ActsDeqpgles20010TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20010TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20010TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20010TestSuite)
class ActsDeqpgles20010TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20011TestSuite::startTime; time_t ActsDeqpgles20011TestSuite::startTime;
time_t ActsDeqpgles20011TestSuite::endTime; time_t ActsDeqpgles20011TestSuite::endTime;
FuncRunResult ActsDeqpgles20011TestSuite::runResult; FuncRunResult ActsDeqpgles20011TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20011TestSuite::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 ActsDeqpgles20011TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20011TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20011TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20011TestSuite)
class ActsDeqpgles20011TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20012TestSuite::startTime; time_t ActsDeqpgles20012TestSuite::startTime;
time_t ActsDeqpgles20012TestSuite::endTime; time_t ActsDeqpgles20012TestSuite::endTime;
FuncRunResult ActsDeqpgles20012TestSuite::runResult; FuncRunResult ActsDeqpgles20012TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20012TestSuite::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 ActsDeqpgles20012TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20012TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20012TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20012TestSuite)
class ActsDeqpgles20012TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20013TestSuite::startTime; time_t ActsDeqpgles20013TestSuite::startTime;
time_t ActsDeqpgles20013TestSuite::endTime; time_t ActsDeqpgles20013TestSuite::endTime;
FuncRunResult ActsDeqpgles20013TestSuite::runResult; FuncRunResult ActsDeqpgles20013TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20013TestSuite::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 ActsDeqpgles20013TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20013TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20013TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20013TestSuite)
class ActsDeqpgles20013TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20014TestSuite::startTime; time_t ActsDeqpgles20014TestSuite::startTime;
time_t ActsDeqpgles20014TestSuite::endTime; time_t ActsDeqpgles20014TestSuite::endTime;
FuncRunResult ActsDeqpgles20014TestSuite::runResult; FuncRunResult ActsDeqpgles20014TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20014TestSuite::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 ActsDeqpgles20014TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20014TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20014TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20014TestSuite)
class ActsDeqpgles20014TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20015TestSuite::startTime; time_t ActsDeqpgles20015TestSuite::startTime;
time_t ActsDeqpgles20015TestSuite::endTime; time_t ActsDeqpgles20015TestSuite::endTime;
FuncRunResult ActsDeqpgles20015TestSuite::runResult; FuncRunResult ActsDeqpgles20015TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20015TestSuite::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 ActsDeqpgles20015TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20015TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20015TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20015TestSuite)
class ActsDeqpgles20015TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20016TestSuite::startTime; time_t ActsDeqpgles20016TestSuite::startTime;
time_t ActsDeqpgles20016TestSuite::endTime; time_t ActsDeqpgles20016TestSuite::endTime;
FuncRunResult ActsDeqpgles20016TestSuite::runResult; FuncRunResult ActsDeqpgles20016TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20016TestSuite::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 ActsDeqpgles20016TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20016TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20016TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20016TestSuite)
class ActsDeqpgles20016TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles20017TestSuite::startTime; time_t ActsDeqpgles20017TestSuite::startTime;
time_t ActsDeqpgles20017TestSuite::endTime; time_t ActsDeqpgles20017TestSuite::endTime;
FuncRunResult ActsDeqpgles20017TestSuite::runResult; FuncRunResult ActsDeqpgles20017TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles20017TestSuite::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 ActsDeqpgles20017TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles20017TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles20017TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,7 @@ ...@@ -18,23 +18,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20017TestSuite)
class ActsDeqpgles20017TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles2TestSuite::startTime; time_t ActsDeqpgles2TestSuite::startTime;
time_t ActsDeqpgles2TestSuite::endTime; time_t ActsDeqpgles2TestSuite::endTime;
FuncRunResult ActsDeqpgles2TestSuite::runResult; FuncRunResult ActsDeqpgles2TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles2TestSuite::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 ActsDeqpgles2TestSuite::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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles2TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles2TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles2BaseFunc.h" #include "Deqpgles2BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles20001TestSuite)
class ActsDeqpgles2TestSuite : 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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES2_TESTCASE_H #endif // DEQPGLES2_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30001TestSuite::endTime; time_t ActsDeqpgles30001TestSuite::endTime;
FuncRunResult ActsDeqpgles30001TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30001TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30001TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30001TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30002TestSuite::endTime; time_t ActsDeqpgles30002TestSuite::endTime;
FuncRunResult ActsDeqpgles30002TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30002TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30002TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30002TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30003TestSuite::endTime; time_t ActsDeqpgles30003TestSuite::endTime;
FuncRunResult ActsDeqpgles30003TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30003TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30003TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30003TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30004TestSuite::endTime; time_t ActsDeqpgles30004TestSuite::endTime;
FuncRunResult ActsDeqpgles30004TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30004TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30004TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30004TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30005TestSuite::endTime; time_t ActsDeqpgles30005TestSuite::endTime;
FuncRunResult ActsDeqpgles30005TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30005TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30005TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30005TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30006TestSuite::endTime; time_t ActsDeqpgles30006TestSuite::endTime;
FuncRunResult ActsDeqpgles30006TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30006TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30006TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30006TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30007TestSuite::endTime; time_t ActsDeqpgles30007TestSuite::endTime;
FuncRunResult ActsDeqpgles30007TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30007TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30007TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30007TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30008TestSuite::endTime; time_t ActsDeqpgles30008TestSuite::endTime;
FuncRunResult ActsDeqpgles30008TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30008TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30008TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30008TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30009TestSuite::endTime; time_t ActsDeqpgles30009TestSuite::endTime;
FuncRunResult ActsDeqpgles30009TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30009TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30009TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30009TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30010TestSuite::endTime; time_t ActsDeqpgles30010TestSuite::endTime;
FuncRunResult ActsDeqpgles30010TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30010TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30010TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30010TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30011TestSuite::endTime; time_t ActsDeqpgles30011TestSuite::endTime;
FuncRunResult ActsDeqpgles30011TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30011TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30011TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30011TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30012TestSuite::endTime; time_t ActsDeqpgles30012TestSuite::endTime;
FuncRunResult ActsDeqpgles30012TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30012TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30012TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30012TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30013TestSuite::endTime; time_t ActsDeqpgles30013TestSuite::endTime;
FuncRunResult ActsDeqpgles30013TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30013TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30013TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30013TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30014TestSuite::endTime; time_t ActsDeqpgles30014TestSuite::endTime;
FuncRunResult ActsDeqpgles30014TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30014TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30014TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30014TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30015TestSuite::endTime; time_t ActsDeqpgles30015TestSuite::endTime;
FuncRunResult ActsDeqpgles30015TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30015TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30015TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30015TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30016TestSuite::endTime; time_t ActsDeqpgles30016TestSuite::endTime;
FuncRunResult ActsDeqpgles30016TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30016TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30016TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30016TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30017TestSuite::endTime; time_t ActsDeqpgles30017TestSuite::endTime;
FuncRunResult ActsDeqpgles30017TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30017TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30017TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30017TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30018TestSuite::endTime; time_t ActsDeqpgles30018TestSuite::endTime;
FuncRunResult ActsDeqpgles30018TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30018TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30018TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30018TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30019TestSuite::endTime; time_t ActsDeqpgles30019TestSuite::endTime;
FuncRunResult ActsDeqpgles30019TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30019TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30019TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30019TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30020TestSuite::endTime; time_t ActsDeqpgles30020TestSuite::endTime;
FuncRunResult ActsDeqpgles30020TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30020TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30020TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30020TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30021TestSuite::endTime; time_t ActsDeqpgles30021TestSuite::endTime;
FuncRunResult ActsDeqpgles30021TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30021TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30021TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30021TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30022TestSuite::endTime; time_t ActsDeqpgles30022TestSuite::endTime;
FuncRunResult ActsDeqpgles30022TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30022TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30022TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30022TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30023TestSuite::endTime; time_t ActsDeqpgles30023TestSuite::endTime;
FuncRunResult ActsDeqpgles30023TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30023TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30023TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30023TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30024TestSuite::endTime; time_t ActsDeqpgles30024TestSuite::endTime;
FuncRunResult ActsDeqpgles30024TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30024TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30024TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30024TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30025TestSuite::endTime; time_t ActsDeqpgles30025TestSuite::endTime;
FuncRunResult ActsDeqpgles30025TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30025TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30025TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30025TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30026TestSuite::endTime; time_t ActsDeqpgles30026TestSuite::endTime;
FuncRunResult ActsDeqpgles30026TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30026TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30026TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30026TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles30027TestSuite::endTime; time_t ActsDeqpgles30027TestSuite::endTime;
FuncRunResult ActsDeqpgles30027TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30027TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30027TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30027TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles30028TestSuite::startTime; time_t ActsDeqpgles30028TestSuite::startTime;
time_t ActsDeqpgles30028TestSuite::endTime; time_t ActsDeqpgles30028TestSuite::endTime;
FuncRunResult ActsDeqpgles30028TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30028TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30028TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30028TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles30029TestSuite::startTime; time_t ActsDeqpgles30029TestSuite::startTime;
time_t ActsDeqpgles30029TestSuite::endTime; time_t ActsDeqpgles30029TestSuite::endTime;
FuncRunResult ActsDeqpgles30029TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30029TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30029TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30029TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles30030TestSuite::startTime; time_t ActsDeqpgles30030TestSuite::startTime;
time_t ActsDeqpgles30030TestSuite::endTime; time_t ActsDeqpgles30030TestSuite::endTime;
FuncRunResult ActsDeqpgles30030TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30030TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30030TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30030TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles30031TestSuite::startTime; time_t ActsDeqpgles30031TestSuite::startTime;
time_t ActsDeqpgles30031TestSuite::endTime; time_t ActsDeqpgles30031TestSuite::endTime;
FuncRunResult ActsDeqpgles30031TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30031TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30031TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30031TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
...@@ -26,35 +26,4 @@ namespace OHOS { ...@@ -26,35 +26,4 @@ namespace OHOS {
time_t ActsDeqpgles30032TestSuite::startTime; time_t ActsDeqpgles30032TestSuite::startTime;
time_t ActsDeqpgles30032TestSuite::endTime; time_t ActsDeqpgles30032TestSuite::endTime;
FuncRunResult ActsDeqpgles30032TestSuite::runResult; 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);
cout << "testmain end --- COST TIME ["<< (endTime-startTime) << "]" << std::endl;;
}
// Preset action of the test case
void ActsDeqpgles30032TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles30032TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
...@@ -18,23 +18,8 @@ ...@@ -18,23 +18,8 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "Deqpgles3BaseFunc.h" #include "Deqpgles3BaseFunc.h"
#include "testsuitehead.h"
namespace OHOS { SHRINK_SUITETEST_HEAD(ActsDeqpgles30032TestSuite)
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(void);
// Cleanup action of the test case
virtual void TearDown(void);
};
} // namespace OHOS
#endif // DEQPGLES3_TESTCASE_H #endif // DEQPGLES3_TESTCASE_H
\ No newline at end of file
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册