提交 d09c0873 编写于 作者: W wangshi

"modifile graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.cpp 优化vkgl测试代码"

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