Change-Id: I58b5097d6968b441d6669db2e0c1babc5470979a
etTCBase::etTCBase()
{
+ std::string testCaseName = ::testing::UnitTest::GetInstance()->current_test_info()->test_case_name();
+ std::string testName = ::testing::UnitTest::GetInstance()->current_test_info()->name();
etRunner::get().flushEventQueue();
- etRunner::get().setTCStart();
+ etRunner::get().setTCStart(testCaseName + "." + testName);
}
etTCBase::~etTCBase()
}
Eina_Bool
-etRunner::setTCStart()
+etRunner::setTCStart(std::string tc_name)
{
Eldbus_Pending *p = NULL;
Eina_Bool res = EINA_FALSE;
_cb_method_set_tc_start_end,
&res,
-1,
- "");
+ "s",
+ tc_name.c_str());
EINA_SAFETY_ON_NULL_GOTO(p, err);
work();
int generateAuxHint(etWin *tw, const char *hint_key, const char *hint_val);
int getAuxHintID(etWin *tw, const char *hint_key);
std::string getAuxHintValue(etWin *tw, int hint_id);
- Eina_Bool setTCStart();
+ Eina_Bool setTCStart(std::string tc_name);
Eina_Bool setTCEnd();
Eina_Bool setTCTimeout(Eina_Bool set, int timeout);
Eina_Bool getWinInfo(etWin *tw);