Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1718 files changed
+126739
-18495
No files matched your search
+1
@@ -51,6 +51,7 @@ IF(BUILD_TESTING AND TARGET svcExmClient)
|
||||
ngltools
|
||||
Qt6::Core
|
||||
Qt6::Test
|
||||
$<IF:$<TARGET_EXISTS:Qt6::StateMachine>,Qt6::StateMachine,>
|
||||
svcCoreClient
|
||||
svcExmCommon
|
||||
svcExmServer
|
||||
|
||||
+6
-6
@@ -106,7 +106,7 @@ void StateMachineTest::initTestCase()
|
||||
void StateMachineTest::staticTests()
|
||||
{
|
||||
// newly created, nothing set -> Status should be ExerciseState::Created
|
||||
QCOMPARE(m_exmObject->exerciseState().underlying(), ExerciseState::Created);
|
||||
QCOMPARE(m_exmObject->exerciseState(), ExerciseState::Created);
|
||||
}
|
||||
|
||||
void StateMachineTest::dynamicTests()
|
||||
@@ -116,35 +116,35 @@ void StateMachineTest::dynamicTests()
|
||||
// Switch to STARTED
|
||||
m_exmObject->switchToState(ExerciseState::Started, 0, 0);
|
||||
|
||||
QTRY_COMPARE(m_exmObject->exerciseState().underlying(), ExerciseState::Started);
|
||||
QTRY_COMPARE(m_exmObject->exerciseState(), ExerciseState::Started);
|
||||
QCOMPARE(spy.count(), 1); // Started
|
||||
spy.clear();
|
||||
|
||||
// => PAUSED
|
||||
m_exmObject->switchToState(ExerciseState::Paused, 99, 10);
|
||||
|
||||
QTRY_COMPARE(m_exmObject->exerciseState().underlying(), ExerciseState::Paused);
|
||||
QTRY_COMPARE(m_exmObject->exerciseState(), ExerciseState::Paused);
|
||||
QCOMPARE(spy.count(), 1); // PAUSED
|
||||
spy.clear();
|
||||
|
||||
// Try to (re)start
|
||||
m_exmObject->switchToState(ExerciseState::Started, 99, 10);
|
||||
|
||||
QTRY_COMPARE(m_exmObject->exerciseState().underlying(), ExerciseState::Started);
|
||||
QTRY_COMPARE(m_exmObject->exerciseState(), ExerciseState::Started);
|
||||
QCOMPARE(spy.count(), 1); // Started (Resumed)
|
||||
spy.clear();
|
||||
|
||||
// => Stopped
|
||||
m_exmObject->switchToState(ExerciseState::Stopped, 99, 10);
|
||||
|
||||
QTRY_COMPARE(m_exmObject->exerciseState().underlying(), ExerciseState::Stopped);
|
||||
QTRY_COMPARE(m_exmObject->exerciseState(), ExerciseState::Stopped);
|
||||
QCOMPARE(spy.count(), 1); // Stopped
|
||||
spy.clear();
|
||||
|
||||
// => Terminated
|
||||
m_exmObject->switchToState(ExerciseState::Terminated, 99, 10);
|
||||
|
||||
QTRY_COMPARE(m_exmObject->exerciseState().underlying(), ExerciseState::Terminated);
|
||||
QTRY_COMPARE(m_exmObject->exerciseState(), ExerciseState::Terminated);
|
||||
QCOMPARE(spy.count(), 1); // Terminated
|
||||
spy.clear();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user