rails/activesupport/test
Jonathan Hefner ff38e2effc Add Deprecators#disallowed_warnings=
Although disallowed warnings are likely to be deprecator-specific, it
can be useful to set this value once and have it applied to any
deprecators that are added later.  For example, setting the value in an
initializer via `config.active_support.disallowed_deprecation_warnings`
and applying it to any third-party deprecators that are added later in
the boot process.  Also, when using `:all`, it is more convenient to
write `deprecators.disallowed_warnings = :all` instead of
`deprecators.each { |deprecator| deprecator.disallowed_warnings = :all }`.
2022-11-25 12:30:08 -06:00
..
autoloading_fixtures Delete orphan autoloading fixtures 2021-04-06 20:14:10 +02:00
cache Add ActiveSupport.deprecator 2022-10-25 15:06:39 -05:00
concurrency allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
core_ext Merge pull request #46456 from jonathanhefner/follow-up-46330-and-46337 2022-11-10 16:29:48 -06:00
dependencies Deletes AS::Dependencies::Blamable 2021-03-08 17:10:42 +01:00
deprecation Add Deprecators#disallowed_warnings= 2022-11-25 12:30:08 -06:00
file_fixtures introduce `ActiveSupport::Testing::FileFixtures`. 2015-01-28 12:29:34 +01:00
fixtures Concerns learn to be prepended 2020-02-10 02:23:33 +01:00
json Fix word case. `json` -> `JSON` 2022-09-17 04:11:36 +10:00
messages allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
metadata [Active Support] Add explicit assertions to tests with no assertions 2022-02-15 23:44:25 +00:00
notifications Only wrap subscriber exceptions if there is more than one 2021-11-02 16:47:37 +01:00
testing Remove the multi-call form of assert_called_with 2022-06-16 11:13:57 -04:00
xml_mini Remove leading whitespace from the XML under test 2021-01-05 22:29:25 -05:00
abstract_unit.rb Add ActiveSupport.deprecator 2022-10-25 15:06:39 -05:00
actionable_error_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
array_inquirer_test.rb Enable Lint/DuplicateMethods rubocop rule 2021-11-15 13:51:28 -05:00
autoload_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
benchmarkable_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
broadcast_logger_test.rb Fix test where broadcaster doesn't define #silence 2022-10-23 01:46:40 -04:00
callback_inheritance_test.rb Replace ableist language 2021-10-05 22:27:09 -04:00
callbacks_test.rb Add ability to run only before/around/after callbacks in run_callbacks 2022-09-08 14:41:54 +00:00
clean_backtrace_test.rb chore: fix grammar and spelling 2021-04-12 05:30:44 +10:00
clean_logger_test.rb Fix logger format with Ruby 3.1 2021-12-20 22:36:33 +00:00
concern_test.rb Fix variable not initialized warnings 2020-03-13 00:14:45 +01:00
configurable_test.rb ActiveSupport::Configurable default value option 2021-07-20 10:36:58 -03:00
configuration_file_test.rb Change `yaml` to `YAML` 2022-03-29 15:19:22 +10:00
constantize_test_cases.rb Remove DependenciesTestHelpers 2021-04-03 19:24:12 +02:00
constantize_test_helpers.rb Remove DependenciesTestHelpers 2021-04-03 19:24:12 +02:00
current_attributes_test.rb Support using a method name to define the `ActiveSupport::CurrentAttributes.resets` callback 2022-10-05 11:05:58 -05:00
dependencies_test.rb Delete the classic version of AS::Dependencies.clear 2021-08-23 10:05:08 +02:00
deprecation_test.rb Add deprecator-only overload for assert_deprecated 2022-10-24 16:24:25 -05:00
descendants_tracker_test.rb Filter reloaded classes in Class#subclasses and Class#descendants core exts 2022-09-28 12:08:58 +02:00
digest_test.rb Change the default digest for new apps to SHA256 2021-01-08 12:07:20 +01:00
encrypted_configuration_test.rb Save encrypted config even if YAML is invalid 2022-07-28 16:37:18 -05:00
encrypted_file_test.rb Generate master.key even when require_master_key 2022-07-27 11:22:41 -05:00
error_reporter_test.rb Allow ErrorReporter to handle several error classes 2022-10-21 13:21:36 +02:00
evented_file_update_checker_test.rb Bubble assertion failures back to the main thread 2022-05-11 15:56:27 +09:30
execution_context_test.rb Extract ActiveSupport::ExecutionContext out of ActiveRecord::QueryLogs 2021-11-10 09:36:02 +01:00
executor_test.rb `Rails.error.report` now marks errors as reported to avoid reporting them twice 2022-09-26 17:58:08 +02:00
file_update_checker_shared_tests.rb Avoid double wait in EventedFileUpdateCheckerTest 2021-07-22 12:29:27 -05:00
file_update_checker_test.rb Avoid double wait in EventedFileUpdateCheckerTest 2021-07-22 12:29:27 -05:00
fork_tracker_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
gzip_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
hash_with_indifferent_access_test.rb remove testing HWIA serialization for old psych 2022-03-22 23:31:45 -04:00
i18n_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
inflector_test.rb Support clearing acronyms in ActiveSupport::Inflector::Inflections 2021-06-15 10:22:19 +01:00
inflector_test_cases.rb Fix (Inflector::Methods#underscore): small regression 2021-10-28 00:25:09 +02:00
isolated_execution_state_test.rb Introduce ActiveSupport::IsolatedExecutionState for internal use 2021-11-18 15:55:15 +01:00
key_generator_test.rb ✂️ [ci skip] 2021-03-22 04:46:11 +09:00
lazy_load_hooks_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
log_subscriber_test.rb Add ActiveSupport.deprecator 2022-10-25 15:06:39 -05:00
logger_test.rb LoggerThreadSafeLevel only impact the receiving logger 2022-11-24 12:39:52 +01:00
message_encryptor_test.rb Rename :urlsafe option to :url_safe 2022-07-08 15:36:24 -05:00
message_encryptors_test.rb Fix Active Support isolated build 2022-09-25 22:50:24 -05:00
message_verifier_test.rb Rename :urlsafe option to :url_safe 2022-07-08 15:36:24 -05:00
message_verifiers_test.rb Fix Active Support isolated build 2022-09-25 22:50:24 -05:00
multibyte_chars_test.rb Rename behaviour to behavior in test case names 2022-05-26 17:14:18 -04:00
multibyte_proxy_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
multibyte_test_helpers.rb Remove deprecated methods in ActiveSupport::Multibyte::Unicode 2020-10-30 00:26:02 +00:00
notifications_test.rb Make Notifier::Fanout faster and safer 2022-06-01 18:54:44 -07:00
number_helper_i18n_test.rb Add `:round_mode` parameter support to number helpers 2020-01-05 21:23:02 +00:00
number_helper_test.rb Fix number_to_currency regression in handling "-0.0" 2021-08-25 22:30:12 -04:00
option_merger_test.rb Fix with_options bug when first argument is a Proc 2022-05-28 16:07:34 -04:00
ordered_hash_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
ordered_options_test.rb Removed unwanted requires of and fixed rubocop errors 2022-03-10 01:19:55 +05:30
parameter_filter_test.rb Add AS::ParameterFilter.precompile_filters 2022-11-24 10:26:54 -06:00
per_thread_registry_test.rb Add ActiveSupport.deprecator 2022-10-25 15:06:39 -05:00
reloader_test.rb ActiveSupport::Reloader should not report exception 2022-09-22 17:46:18 +02:00
rescuable_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
rotation_coordinator_tests.rb Add Rails.application.message_verifiers 2022-09-22 16:21:31 -05:00
safe_buffer_test.rb Avoid checking defined?(@html_safe) (#45620) 2022-07-19 15:16:21 -07:00
secure_compare_rotator_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
security_utils_test.rb secure_compare: Check byte size instead of length 2021-04-02 12:45:29 -04:00
share_lock_test.rb ShareLock#exclusive and sharing are both public methods 2020-10-02 15:53:47 +09:00
silence_logger_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
string_inquirer_test.rb Enable Lint/DuplicateMethods rubocop rule 2021-11-15 13:51:28 -05:00
subscriber_test.rb Rename behaviour to behavior in test case names 2022-05-26 17:14:18 -04:00
tagged_logging_test.rb Revert "Merge pull request #44695 from Edouard-chin/ec-tagger-logger-broadcast" 2022-09-08 16:03:26 +00:00
test_case_test.rb fix remaining asserts that should be assert_equal 2022-09-09 19:22:21 -04:00
time_travel_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
time_zone_test.rb Update ActiveSupport time zone tests for UTC-12 (International Date Line West) 2022-04-11 09:35:41 -05:00
time_zone_test_helpers.rb Add ActiveSupport.deprecator 2022-10-25 15:06:39 -05:00
transliterate_test.rb Change all "can not"s to the correct "cannot" 2020-02-04 16:46:55 -05:00
xml_mini_test.rb Allow to opt-in to the new TimeWithZone.name and fix XmlMini serialization 2021-04-12 22:03:31 +02:00