示例#1
0
ClientSrvTestBase::ClientSrvTestBase( Domain::DomainClass& domain, const GeneralSettings& prof )
    : iCore::MsgObject(domain.getMsgThread()),
      m_dummy(prof.IsValid()),
      m_domain(domain),
      m_prof(prof),
      m_log(getLogCreator().CreateLogSesion("ClientSrvTestBase", prof.TraceTest, prof.EmulName.toStdString())),// todo resolve test name
      m_tagTaskEvent(m_log->RegisterRecordKind(L"TaskEvent"))
{
    *m_log << "ClientSrvTestBase created." << EndRecord;
    PutMsg(this, &ClientSrvTestBase::OnRun);
}