提交 2714bc04 编写于 作者: W wangshi

"modifile graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.cpp 优化vkgl测试代码"

Signed-off-by: Nwangshi <wangshi@kaihong.com>
上级 d92f8b1b
......@@ -27,34 +27,4 @@ namespace OHOS {
time_t ActsKhrgles2TestSuite::endTime;
FuncRunResult ActsKhrgles2TestSuite::runResult;
// Preset action of the test suite, which is executed before the first test case
void ActsKhrgles2TestSuite::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 ActsKhrgles2TestSuite::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 ActsKhrgles2TestSuite::SetUp(void)
{
}
// Cleanup action of the test case
void ActsKhrgles2TestSuite::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.
先完成此消息的编辑!
想要评论请 注册