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/autoloading_fixtures
Xavier Noria ae07806858 fixes circularity check in dependencies
The check for circular loading should depend on a stack of files being
loaded at the moment, rather than the collection of loaded files.

This showed up indirectly in #16468, where a misspelled helper would
incorrectly result in a circularity error message.

References #16468
2014-10-25 14:06:33 +02:00
..
a added some (pointless) test cases to dependency loading, the more the merrier 2006-02-04 21:24:40 +00:00
class_folder Fix ActiveSupport tests that depend on run order 2012-08-23 16:00:58 -05:00
html Ensure all-caps nested consts marked as autoloaded 2013-08-27 08:20:33 +01:00
load_path Fix a bug where requires inside of autoloads were being added to the autoloaded_constants list, causing mayhem. [#5165 state:resolved] 2010-07-26 00:59:54 -07:00
module_folder Dependencies can autoload directories of nested classes. 2006-08-16 09:18:17 +00:00
module_with_custom_const_missing/a Add forgotten files; Fix double loading errors. 2006-08-08 22:08:09 +00:00
application.rb Add forgotten file 2006-09-03 19:39:08 +00:00
circular1.rb detect circular constant autoloading 2012-08-28 20:34:39 +02:00
circular2.rb detect circular constant autoloading 2012-08-28 20:34:39 +02:00
class_folder.rb Test autoloading nested subclass of parent. 2006-11-16 22:50:46 +00:00
conflict.rb New dependencies implementation 2006-08-08 21:21:04 +00:00
counting_loader.rb Add forgotten files; Fix double loading errors. 2006-08-08 22:08:09 +00:00
cross_site_dependency.rb Checkin failing test case related to load once paths 2006-12-24 14:41:29 +00:00
e.rb
loads_constant.rb This is for making sure const_missing is triggered without warnings 2010-07-26 12:51:52 -03:00
multiple_constant_file.rb Update dependencies to allow constants to be defined alongside their siblings. 2006-11-01 23:21:13 +00:00
raises_name_error.rb Failing test for autoloading shadowed exceptions. 2006-11-06 19:23:30 +00:00
raises_no_method_error.rb Fix warning and incorrect test trigger 2006-11-06 23:45:39 +00:00
requires_constant.rb Fix a bug where requires inside of autoloads were being added to the autoloaded_constants list, causing mayhem. [#5165 state:resolved] 2010-07-26 00:59:54 -07:00
should_not_be_required.rb dependencies no longer trigger Kernel#autoload in remove_const [fixes #8213] 2012-11-15 04:36:36 +01:00
typo.rb fixes circularity check in dependencies 2014-10-25 14:06:33 +02:00