Migrates residual Lts sources to generated rtiddsgen API
Adds NmeaManagement tests, fixes codegen includes and Qt6 SerialPort CMake target.
This commit is contained in:
1 parent
5485a90385
commit
881d44f4dd
512 files changed
+6887
-6426
No files matched your search
+4
-4
@@ -130,7 +130,7 @@ void EemTests::startTest()
|
||||
tryCreateDynamicParticipantData(2, ProjectDataManagement::VulnerabilityState::VulnerabilityState_LightDamage, time - 5000 * 30, 0, ProjectDataManagement::StateChangeOriginator::StateChangeOriginator_Sanitation);
|
||||
QTest::qWait(500);
|
||||
|
||||
checkEvents(ProjectDataManagement::PdmEventType::Sanitation, 3);
|
||||
checkEvents(ProjectDataManagement::PdmEventType::EventType_Sanitation, 3);
|
||||
}
|
||||
|
||||
if (m_testId <= 0 || m_testId > 6)
|
||||
@@ -264,8 +264,8 @@ void EemTests::trySendFireEvent()
|
||||
for(const ExerciseEventManagement::Event &e : events)
|
||||
{
|
||||
INFO_LOG(m_logger) << "eventId: " << e.id << ", eventType: " << e.eventTypeId;
|
||||
if (e.eventTypeId == ProjectDataManagement::PdmEventType::WeaponAssignment ||
|
||||
e.eventTypeId == ProjectDataManagement::PdmEventType::FireEvent)
|
||||
if (e.eventTypeId == ProjectDataManagement::PdmEventType::EventType_WeaponAssignment ||
|
||||
e.eventTypeId == ProjectDataManagement::PdmEventType::EventType_FireEvent)
|
||||
noEvents ++;
|
||||
}
|
||||
|
||||
@@ -385,7 +385,7 @@ void EemTests::checkEvents(const ProjectDataManagement::PdmEventType &et, int ex
|
||||
int ot = prop[QStringLiteral("OriginatorType")].toInt();
|
||||
if (et == ProjectDataManagement::PdmEventType::EventType_HitEffectSimulation && ot == 20) //ImprovisedExplosiveDevice
|
||||
noEvents ++;
|
||||
if (et == ProjectDataManagement::PdmEventType::Sanitation && ot == 10) // Sanitation
|
||||
if (et == ProjectDataManagement::PdmEventType::EventType_Sanitation && ot == 10) // Sanitation
|
||||
noEvents ++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user