1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test
Jean Boussier acd462fc23 Only wrap subscriber exceptions if there is more than one
Ref: https://github.com/rails/rails/pull/43282
Ref: https://github.com/rails/rails/pull/43561

It can be legitimate for subscriber to want to bubble up some exception
to the caller, so wrapping it change the exception class which might break
the calling code expecting a specific error.

We can minimize this by only using InstrumentationSubscriberError
when more than one subscriber raised.
2021-11-02 16:47:37 +01:00
..
autoloading_fixtures Delete orphan autoloading fixtures 2021-04-06 20:14:10 +02:00
cache Skip RedisCacheStore test if no Redis server is running 2021-10-27 10:10:30 +02:00
concurrency allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
core_ext Avoid adding new method to ActiveSupport. 2021-11-02 01:12:32 +00:00
d20210822-165787-1622pnb Remove autoloading logic from AS::DescendantsTracker 2021-08-23 00:24:26 +02:00
dependencies Deletes AS::Dependencies::Blamable 2021-03-08 17:10:42 +01:00
deprecation allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
file_fixtures
fixtures Concerns learn to be prepended 2020-02-10 02:23:33 +01:00
json Allow any module or class to be converted to JSON in a simple way 2021-06-18 14:06:50 +09:00
messages allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
metadata Remove redundant travel_back 2018-08-31 16:19:58 +09:00
notifications Only wrap subscriber exceptions if there is more than one 2021-11-02 16:47:37 +01:00
testing assert_changes works on including Assertions class 2021-07-25 14:27:18 -04:00
xml_mini Remove leading whitespace from the XML under test 2021-01-05 22:29:25 -05:00
abstract_unit.rb Update test helper to call parallelize according to fork support 2021-01-25 13:50:41 -06: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 allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06: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 Remove deprecated LoggerSilence constant 2020-10-30 00:25:50 +00:00
callback_inheritance_test.rb Replace ableist language 2021-10-05 22:27:09 -04:00
callbacks_test.rb Remove special case filtering for Procs. 2021-03-02 17:20:35 -08:00
clean_backtrace_test.rb chore: fix grammar and spelling 2021-04-12 05:30:44 +10:00
clean_logger_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06: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 Cast ConfigurationFile#content_path to a string: 2020-02-10 19:12:33 -04: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 Call Executor#wrap around each test 2021-10-28 15:18:29 +02:00
dependencies_test.rb Delete the classic version of AS::Dependencies.clear 2021-08-23 10:05:08 +02:00
deprecation_test.rb Allow entirely opting out of deprecation warnings 2021-07-29 16:00:02 -05:00
descendants_tracker_test.rb Refactor DescendantsTracker to leverage native Class#descendants on Ruby 3.1 2021-10-28 10:46:42 +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 Credentials: support hash style access in more cases 2021-06-02 10:34:22 -05:00
encrypted_file_test.rb Raise missing key error when master key env var is blank 2021-06-03 16:21:53 +02:00
evented_file_update_checker_test.rb Avoid double wait in EventedFileUpdateCheckerTest 2021-07-22 12:29:27 -05:00
executor_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06: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 to_yaml requires require "yaml" 2021-03-23 08:51:39 +09: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
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 Report async queries lock wait duration 2021-06-25 13:59:47 +02:00
logger_test.rb Logger#info, debug, etc. are public methods 2020-10-02 15:52:09 +09:00
message_encryptor_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
message_verifier_test.rb Fix parsing of jsonified expiry date when on AS::Message::Metadata, when ActiveSupport.use_standard_json_time_format = false 2020-06-06 02:12:19 +05:30
multibyte_chars_test.rb Remove deprecated methods in ActiveSupport::Multibyte::Unicode 2020-10-30 00:26:02 +00: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 Use Process.clock_gettime unit argument to save some floating point multiplications 2021-10-21 10:05:32 +02: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 Copy options before delegating in with_options 2020-05-23 22:47:48 +01: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 Implement #inspect for ActiveSupport::OrderedOptions 2020-08-26 21:50:09 +05:30
parameter_filter_test.rb Fixes TypeError raised for parameter filter if the json data has key as integer 2020-02-28 17:27:58 +09:00
per_thread_registry_test.rb Fix kwargs delegation in PerThreadRegistry#method_missing 2021-08-06 18:24:02 +09:00
reloader_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
rescuable_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
safe_buffer_test.rb Mark scrub as an unsafe method on SafeBuffer 2020-12-01 17:40:17 +09: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 allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
subscriber_test.rb Forward sql.active_record notifications back into the calling thread 2021-03-03 10:33:37 +01:00
tagged_logging_test.rb Clone to keep extended Logger methods for tagged logger 2020-12-07 14:43:37 +01:00
test_case_test.rb chore: Use e.g. which is the more used spelling 2021-07-21 09:17:54 +09:00
time_travel_test.rb Travel back after block 2021-06-08 16:54:42 +02:00
time_zone_test.rb Add support for ordinal date values in AS::TimeZone.iso8601 2021-06-28 18:00:51 +01:00
time_zone_test_helpers.rb Update to TZInfo v2.0.0 2020-03-28 20:42:43 +01: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