提交 44af56aa 编写于 作者: W wangshi

"modifile graphic/vkgl/src/deqpgles31/ActsDeqpgles310021TestSuite.cpp 优化vkgl测试代码"

Signed-off-by: Nwangshi <wangshi@kaihong.com>
上级 dbaaf661
...@@ -27,34 +27,4 @@ namespace OHOS { ...@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsDeqpgles310021TestSuite::endTime; time_t ActsDeqpgles310021TestSuite::endTime;
FuncRunResult ActsDeqpgles310021TestSuite::runResult; FuncRunResult ActsDeqpgles310021TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsDeqpgles310021TestSuite::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 ActsDeqpgles310021TestSuite::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 ActsDeqpgles310021TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsDeqpgles310021TestSuite::TearDown(void)
{
}
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册