Migrates AreaEffectSimulation to generated rtiddsgen API
Converts accessor calls to plain member access across aes service and plugin.
This commit is contained in:
102 files changed
+3307
-3313
No files matched your search
+11
-11
@@ -22,7 +22,7 @@ TestBase::TestBase(const char *loggerName, QObject *parent)
|
||||
, m_replyError(false)
|
||||
, m_bTestsSuccessful(true)
|
||||
, m_testId(0)
|
||||
, m_aesTypeName(QString::fromLatin1(loggerName).splitRef(QLatin1Char('.')).last().toString())
|
||||
, m_aesTypeName(QString::fromLatin1(loggerName).split(QLatin1Char('.')).last().toString())
|
||||
, m_logger(getLogger(loggerName))
|
||||
{}
|
||||
|
||||
@@ -65,29 +65,29 @@ bool TestBase::waitForData(const std::function<bool()> &func)
|
||||
bool TestBase::checkAesItem(const AreaEffectSimulation::AesItem &a,
|
||||
const AreaEffectSimulation::AesItem &b) const
|
||||
{
|
||||
if (a.name() != b.name())
|
||||
if (a.name != b.name)
|
||||
{
|
||||
WARNING_LOG(m_logger) << "name does not match: " << a.name() << " - " << b.name();
|
||||
WARNING_LOG(m_logger) << "name does not match: " << a.name << " - " << b.name;
|
||||
return false;
|
||||
}
|
||||
if (a.effectStart() != b.effectStart())
|
||||
if (a.effectStart != b.effectStart)
|
||||
{
|
||||
WARNING_LOG(m_logger) << "effectStart does not match: " << a.effectStart() << " - " << b.effectStart();
|
||||
WARNING_LOG(m_logger) << "effectStart does not match: " << a.effectStart << " - " << b.effectStart;
|
||||
return false;
|
||||
}
|
||||
if (a.chargeStruct().chargeTypeId() != b.chargeStruct().chargeTypeId())
|
||||
if (a.chargeStruct.chargeTypeId != b.chargeStruct.chargeTypeId)
|
||||
{
|
||||
WARNING_LOG(m_logger) << "chargeTypeId does not match: " << a.chargeStruct().chargeTypeId() << " - " << b.chargeStruct().chargeTypeId();
|
||||
WARNING_LOG(m_logger) << "chargeTypeId does not match: " << a.chargeStruct.chargeTypeId << " - " << b.chargeStruct.chargeTypeId;
|
||||
return false;
|
||||
}
|
||||
if (a.partyId() != b.partyId())
|
||||
if (a.partyId != b.partyId)
|
||||
{
|
||||
WARNING_LOG(m_logger) << "partyId does not match: " << a.partyId() << " - " << b.partyId();
|
||||
WARNING_LOG(m_logger) << "partyId does not match: " << a.partyId << " - " << b.partyId;
|
||||
return false;
|
||||
}
|
||||
if (a.participantId() != b.participantId())
|
||||
if (a.participantId != b.participantId)
|
||||
{
|
||||
WARNING_LOG(m_logger) << "participantId does not match: " << a.participantId() << " - " << b.participantId();
|
||||
WARNING_LOG(m_logger) << "participantId does not match: " << a.participantId << " - " << b.participantId;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user