rails/activejob/test/cases
Jonathan Hefner 77db302aa0 Add ActiveJob.deprecator
This commit adds `ActiveJob.deprecator` and replaces all usages of
`ActiveSupport::Deprecation.warn` in `activejob/lib` with
`ActiveJob.deprecator`.

Additionally, this commit adds `ActiveJob.deprecator` to
`Rails.application.deprecators` so that it can be configured via
settings such as `config.active_support.report_deprecations`.

This commit also removes a defunct `ActiveSupport::Deprecation.silence`
call that was added in 9eb4b4ed01 but not
removed when the deprecation was completed in
10bd5e59c3.
2022-10-31 17:04:26 -05:00
..
adapter_test.rb [Active Job] `rubocop -a --only Layout/EmptyLineAfterMagicComment` 2017-07-11 13:12:32 +09:00
argument_serialization_test.rb Add ActiveJob.deprecator 2022-10-31 17:04:26 -05:00
callbacks_test.rb Add ActiveJob.deprecator 2022-10-31 17:04:26 -05:00
delayed_job_adapter_test.rb Avoid logging delayed job arguments if log_arguments set to false 2021-08-01 21:46:44 +01:00
exceptions_test.rb Tweak unreachable assertion tests in the block of `assert_raises` 2021-08-17 20:33:08 +09:00
job_serialization_test.rb Preserve `job.enqueued_at` timestamp precision 2022-07-12 18:13:16 -07:00
logging_test.rb Add job_id and exception message to ActiveJob retry/discard logging 2022-02-08 10:06:21 -05:00
queue_adapter_test.rb Fix queue adapter class delegation to point to `self.class` 2019-09-23 21:59:59 -03:00
queue_naming_test.rb Allow `ActiveJob::Base.set` to configure job when using `.perform_now` 2021-10-12 13:53:38 -07:00
queue_priority_test.rb Allow `ActiveJob::Base.set` to configure job when using `.perform_now` 2021-10-12 13:53:38 -07:00
queuing_test.rb Communicate enqueue failures to callers of perform_later 2021-02-05 16:32:43 -05:00
rescue_test.rb Allow jobs to rescue all exceptions 2021-01-23 08:35:51 -05:00
serializers_test.rb Enable `Layout/EmptyLinesAroundAccessModifier` cop 2019-06-13 12:00:45 +09:00
test_case_test.rb [Active Job] `rubocop -a --only Layout/EmptyLineAfterMagicComment` 2017-07-11 13:12:32 +09:00
test_helper_test.rb fix: Ensure `ActiveJob::TestHelper` sets `scheduled_at` to a `Float` 2022-10-17 19:22:24 +00:00
timezones_test.rb Reset Time.zone to avoid leaking into other tests 2020-11-15 01:02:22 +00:00
translation_test.rb [Active Job] `rubocop -a --only Layout/EmptyLineAfterMagicComment` 2017-07-11 13:12:32 +09:00