Searched refs:addStateChangedListener (Results 1 – 6 of 6) sorted by relevance
91 verify(mMigrationStateManager).addStateChangedListener(any()); in testUiManagerInitialisation_addsListenerToMigrationStateManager()101 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_idle_noNotificationSent()114 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_appUpdateNeeded_noMigrationUiAppUpdateNeededNotificationSent()130 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_moduleUpdateNeeded_migrationUiModuleUpdateNeededNotificationSent()150 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_allowedPaused_noMigrationUiPausedNotificationSent()168 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_allowedError_noMigrationUiCancelledNotificationSent()187 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_inProgressPaused_migrationUiPausedNotificationSent()203 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_inProgress_noMigrationUiInProgressNotificationSent()219 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_completeFromIdle_noNotificationSent()233 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_complete_noMigrationUiCompleteNotificationSent()[all …]
57 verify(mMigrationStateManager).addStateChangedListener(any()); in testAttachTo_addsListenerToMigrationStateManager()65 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_complete_tablesCleared()77 verify(mMigrationStateManager).addStateChangedListener(captor.capture()); in testStateChanged_notComplete_noTablesCleared()
152 mMigrationStateManager.addStateChangedListener(mMockListener::onMigrationStateChanged); in setUp()
49 migrationStateManager.addStateChangedListener(this::onMigrationStateChanged); in attachTo()
70 migrationStateManager.addStateChangedListener(this::onMigrationStateChanged); in attachTo()
148 public void addStateChangedListener(@NonNull StateChangedListener listener) { in addStateChangedListener() method in MigrationStateManager