Searched refs:withPeriodInDays (Results 1 – 9 of 9) sorted by relevance
73 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(0)); in schedulePeriodicExportJob_withPeriodZero_doesNotScheduleExportJob()82 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in schedulePeriodicExportJob_withPeriodGreaterThanZero_schedulesExportJob()94 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(0)); in executePeriodicExportJob_withPeriodZero_doesNotRunExport()104 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(0)); in executePeriodicExportJob_withPeriodZero_returnsTrue()114 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in executePeriodicExportJob_withPeriodGreaterThanZero_runsExport()124 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in executePeriodicExportJob_successfulExport_returnsTrue()135 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in executePeriodicExportJob_failedExport_returnsFalse()
51 ScheduledExportSettings settings = ScheduledExportSettings.withPeriodInDays(7); in testWithPeriodInDays()78 ScheduledExportSettings settingsA = ScheduledExportSettings.withPeriodInDays(7); in testEquals_andHashCode_withPeriodInDays()79 ScheduledExportSettings settingsB = ScheduledExportSettings.withPeriodInDays(7); in testEquals_andHashCode_withPeriodInDays()87 ScheduledExportSettings settingsA = ScheduledExportSettings.withPeriodInDays(7); in testEquals_andHashCode_withDifferentPeriodInDays()88 ScheduledExportSettings settingsB = ScheduledExportSettings.withPeriodInDays(8); in testEquals_andHashCode_withDifferentPeriodInDays()
69 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(7)); in testConfigure_uri_keepsOtherSettings()79 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(7)); in testConfigure_periodInDays()89 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(7)); in testConfigure_periodInDays_keepsOtherSettings()98 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(7)); in testConfigure_clear()108 ExportImportSettingsStorage.configure(ScheduledExportSettings.withPeriodInDays(1)); in testGetScheduledExportPeriodInDays()
159 ScheduledExportSettings.withPeriodInDays( in <lambda>()184 ScheduledExportSettings.withPeriodInDays( in <lambda>()191 ScheduledExportSettings.withPeriodInDays( in <lambda>()207 ScheduledExportSettings.withPeriodInDays( in <lambda>()
57 ScheduledExportSettings.withPeriodInDays( in <lambda>()74 ScheduledExportSettings.withPeriodInDays( in <lambda>()
56 ScheduledExportSettings.withPeriodInDays( in <lambda>()
78 public static ScheduledExportSettings withPeriodInDays( in withPeriodInDays() method in ScheduledExportSettings
124 val settings = ScheduledExportSettings.withPeriodInDays(frequency.periodInDays) in updateExportFrequency()
462 ScheduledExportSettings.withPeriodInDays(EXPORT_FREQUENCY_NEVER.periodInDays)473 ScheduledExportSettings.withPeriodInDays(EXPORT_FREQUENCY_NEVER.periodInDays) in reset()