@@ -148,8 +148,6 @@ class Test_HourglassOrchestration : public SilKitHourglassTests::MockCapiTest
148148 .WillByDefault (DoAll (SetArgPointee<0 >(mockLifecycleService), Return (SilKit_ReturnCode_SUCCESS)));
149149 ON_CALL (capi, SilKit_TimeSyncService_Create (_, _))
150150 .WillByDefault (DoAll (SetArgPointee<0 >(mockTimeSyncService), Return (SilKit_ReturnCode_SUCCESS)));
151- ON_CALL (capi, SilKit_TimeSyncService_Create_With_TimeAdvanceMode (_, _, _))
152- .WillByDefault (DoAll (SetArgPointee<0 >(mockTimeSyncService), Return (SilKit_ReturnCode_SUCCESS)));
153151 ON_CALL (capi, SilKit_SystemMonitor_Create (_, _))
154152 .WillByDefault (DoAll (SetArgPointee<0 >(mockSystemMonitor), Return (SilKit_ReturnCode_SUCCESS)));
155153 ON_CALL (capi, SilKit_Experimental_SystemController_Create (_, _))
@@ -364,23 +362,6 @@ TEST_F(Test_HourglassOrchestration, SilKit_TimeSyncService_Create)
364362 mockLifecycleService};
365363}
366364
367- TEST_F (Test_HourglassOrchestration, SilKit_TimeSyncService_Create_With_TimeAdvanceMode)
368- {
369- EXPECT_CALL (capi, SilKit_TimeSyncService_Create_With_TimeAdvanceMode (testing::_, mockLifecycleService,
370- SilKit_TimeAdvanceMode_ByMinimalDuration));
371-
372- SilKit::DETAIL_SILKIT_DETAIL_NAMESPACE_NAME ::Impl::Services::Orchestration::TimeSyncService
373- timeSyncService_ByMinimalDuration{
374- mockLifecycleService, SilKit::Services::Orchestration::TimeAdvanceMode::ByMinimalDuration};
375-
376- EXPECT_CALL (capi, SilKit_TimeSyncService_Create_With_TimeAdvanceMode (testing::_, mockLifecycleService,
377- SilKit_TimeAdvanceMode_ByOwnDuration));
378-
379- SilKit::DETAIL_SILKIT_DETAIL_NAMESPACE_NAME ::Impl::Services::Orchestration::TimeSyncService
380- timeSyncService_ByOwnDuration{
381- mockLifecycleService, SilKit::Services::Orchestration::TimeAdvanceMode::ByOwnDuration};
382- }
383-
384365TEST_F (Test_HourglassOrchestration, SilKit_TimeSyncService_SetSimulationStepHandler)
385366{
386367 const std::chrono::nanoseconds initialStepSize{0x123456 };
@@ -434,19 +415,6 @@ TEST_F(Test_HourglassOrchestration, SilKit_TimeSyncService_Now)
434415 EXPECT_EQ (timeSyncService.Now (), nanoseconds);
435416}
436417
437- TEST_F (Test_HourglassOrchestration, SilKit_TimeSyncService_SetStepDuration)
438- {
439- const std::chrono::nanoseconds stepDuration{0x123456 };
440-
441- SilKit::DETAIL_SILKIT_DETAIL_NAMESPACE_NAME ::Impl::Services::Orchestration::TimeSyncService timeSyncService{
442- mockLifecycleService};
443-
444- EXPECT_CALL (capi, SilKit_TimeSyncService_SetStepDuration (mockTimeSyncService, testing::_))
445- .WillOnce (Return (SilKit_ReturnCode_SUCCESS));
446-
447- timeSyncService.SetStepDuration (stepDuration);
448- }
449-
450418TEST_F (Test_HourglassOrchestration, SilKit_Experimental_TimeSyncService_AddOtherSimulationStepsCompletedHandler)
451419{
452420 using testing::_;
0 commit comments