Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Output junit format test report | Fumiaki MATSUSHIMA | 2019-04-04 | 1 | -0/+2 |
| | |||||
* | No need to handle if FrozenError is available | Yasuo Honda | 2018-12-23 | 1 | -4/+0 |
| | | | | | | | Rails 6 requires Ruby 2.5, which introduces `FrozenError` https://docs.ruby-lang.org/en/2.5.0/NEWS.html Related to #31520 | ||||
* | Remove private def | Sakshi Jain | 2018-09-23 | 1 | -13/+14 |
| | |||||
* | Handle `FrozenError` if it is available | Yasuo Honda | 2017-12-20 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | This pull request handles `FrozenError` introduced by Ruby 2.5. Refer https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/61131 Since `FrozenError` is a subclass of `RuntimeError` minitest used by master branch can handle it, though it would be better to handle `FrozenError` explicitly if possible. `FrozenError` does not exist in Ruby 2.4 or lower, `frozen_error_class` handles which exception is expected to be raised. This pull request is intended to be merged to master, then backported to `5-1-stable` to address #31508 | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Don't pollute Object with rubinius_skip and jruby_skip | Akira Matsuda | 2017-01-17 | 1 | -10/+10 |
| | | | | we call them only in the tests | ||||
* | Use Encoding::UTF_8 constant for default_{internal,external} in the tests | Akira Matsuda | 2017-01-11 | 1 | -2/+2 |
| | |||||
* | applies new string literal convention in activesupport/test | Xavier Noria | 2016-08-06 | 1 | -9/+9 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Run Active Support tests when preserving timezones | Andrew White | 2016-05-05 | 1 | -0/+3 |
| | | | | | Add to the matrix of Travis tests an entry that runs the Active Support tests when `ActiveSupport.to_time_preserves_timezone = true`. | ||||
* | Remove load_paths file | Arthur Neves | 2016-02-27 | 1 | -7/+0 |
| | |||||
* | Removed duplicate requiring minitest/mock as it is already required in ↵ | Ronak Jangir | 2015-08-26 | 1 | -2/+0 |
| | | | | method_call_assertions | ||||
* | Removed use of mocha in active_support | Ronak Jangir | 2015-07-10 | 1 | -1/+5 |
| | |||||
* | Removed mocha stubbing in active_support | Ronak Jangir | 2015-06-07 | 1 | -0/+1 |
| | |||||
* | Revert "Leave all our tests as order_dependent! for now" | Matthew Draper | 2015-03-06 | 1 | -5/+0 |
| | | | | | | | | | | | | This reverts commit 2f52f969885b2834198de0045748436a4651a94e. Conflicts: actionmailer/test/abstract_unit.rb actionview/test/abstract_unit.rb activemodel/test/cases/helper.rb activerecord/test/cases/helper.rb activesupport/test/abstract_unit.rb railties/test/abstract_unit.rb | ||||
* | Default to sorting user's test cases for now | Godfrey Chan | 2014-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | Goals: 1. Default to :random for newly generated applications 2. Default to :sorted for existing applications with a warning 3. Only show the warning once 4. Only show the warning if the app actually uses AS::TestCase Fixes #16769 | ||||
* | Leave all our tests as order_dependent! for now | Matthew Draper | 2014-09-02 | 1 | -0/+5 |
| | | | | | | | | | We're seeing too many failures to believe otherwise. This reverts commits bc116a55ca3dd9f63a1f1ca7ade3623885adcc57, cbde413df3839e06dd14e3c220e9800af91e83ab, bf0a67931dd8e58f6f878b9510ae818ae1f29a3a, and 2440933fe2c27b27bcafcd9019717800db2641aa. | ||||
* | AS tests are now order_independent! | Akira Matsuda | 2014-08-13 | 1 | -5/+0 |
| | |||||
* | Nobody sucks so nobody should call this awful method name | Rafael Mendonça França | 2014-08-12 | 1 | -1/+1 |
| | |||||
* | users_dont_suck_but_only_we_suck_and_only_our_tests_are_order_dependent! | Akira Matsuda | 2014-08-12 | 1 | -0/+5 |
| | | | | | Calling ActiveSupport::TestCase.i_suck_and_my_tests_are_order_dependent! in AS::TestCase makes everyone's tests order dependent, which should never be done by the framework. | ||||
* | Stop requiring mocha automatically | Rafael Mendonça França | 2014-07-19 | 1 | -0/+2 |
| | | | | | | | | | | | We are planning to remove mocha from our test suite because of performance problems. To make this possible we should stop require mocha on ActionSupport::TestCase. This should not affect applications since users still need to add mocha to Gemfile and this already load mocha. Added FIXME notes to place that still need mocha removal | ||||
* | standardize on jruby_skip & rbx_skip | Gaurish Sharma | 2014-01-13 | 1 | -1/+1 |
| | | | | | | This Adds helpers(jruby_skip & rbx_skip). In Future, Plan is to use these helpers instead of calls directly to RUBY_ENGINE/RbConfig/JRUBY_VERSION | ||||
* | Disable available locales checks to avoid warnings running the tests | Carlos Antonio da Silva | 2013-12-17 | 1 | -0/+3 |
| | |||||
* | Remove not necessary file, move constants to the file they are used | Carlos Antonio da Silva | 2013-12-11 | 1 | -1/+0 |
| | | | | | | | | File 'empty_bool.rb' was introduced around 4 years ago in c10958fbddb22052e7cbe5fe6b825cda3cb26e48 to remove method redefined warning in AS test suite, however we do not have such need for reuse anymore, so we can safely move the constants back to the file where they are currently used and get rid of the extra file/require. | ||||
* | Merge pull request #11932 from gaurish/skip-encoding-convertor | Rafael Mendonça França | 2013-08-21 | 1 | -0/+6 |
|\ | | | | | | | | | | | | | [JRuby] Skip few of the ActiveSupport's inflector test cases Conflicts: activesupport/test/abstract_unit.rb | ||||
| * | Define jruby_skip to skip test on JRuby | Gaurish Sharma | 2013-08-21 | 1 | -0/+5 |
| | | |||||
* | | Added method to skip tests on Rubinius to AS/abstract_unit. | Federico Ravasio | 2013-08-21 | 1 | -0/+4 |
|/ | |||||
* | Remove deprecated `String#encoding_aware?` | Arun Agrawal | 2013-07-03 | 1 | -1/+0 |
| | | | core extensions (`core_ext/string/encoding`). | ||||
* | Set Thread.abort_on_exception for the whole AS, AP, and AR tests | Akira Matsuda + Koichi Sasada | 2013-01-24 | 1 | -0/+2 |
| | | | | this would give us some more clues in case a test silently dies inside Thread | ||||
* | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 |
| | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | ||||
* | skip the memcache tests if the memcache server is not up | Aaron Patterson | 2012-08-22 | 1 | -10/+0 |
| | |||||
* | Replace deprecated `memcache-client` gem with `dalli` in ↵ | Guillermo Iguaran | 2012-08-17 | 1 | -3/+3 |
| | | | | | | ActiveSupport::Cache::MemCacheStore memcache-client was deprecated in favour of dalli in 2010. | ||||
* | remove duplicate requires of mocha. | Aaron Patterson | 2012-07-03 | 1 | -2/+0 |
| | | | | | Mocha is already required by AS::TestCase, so remove the duplicate requires. | ||||
* | Remove useless load path modifications | Santiago Pastorino | 2012-05-11 | 1 | -3/+0 |
| | |||||
* | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -2/+2 |
| | |||||
* | Initial pass at removing dead 1.8.x code from Active Support. | José Valim | 2011-12-20 | 1 | -29/+5 |
| | | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome. | ||||
* | Silence warnings for Encoding.default_external= and Encoding.default_internal= | Santiago Pastorino | 2010-08-22 | 1 | -3/+6 |
| | |||||
* | Set default_internal and default_external on AS for testing purposes | Santiago Pastorino | 2010-08-22 | 1 | -0/+8 |
| | |||||
* | preventing memcached initialization errors with default servers list [#4921 ↵ | David Calavera | 2010-06-22 | 1 | -1/+1 |
| | | | | | | | | state:resolved] As of this writing the JRuby client does not support a default port. Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | defines ORIG_ARGV in Active Support's abstract_unit.rb (used in ↵ | David Calavera | 2010-06-22 | 1 | -0/+2 |
| | | | | | | isolation.rb) [#4922 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | fix conditions when DateTime#to_date and DateTime#xmlschema methods are defined | Raimonds Simanovskis | 2010-06-04 | 1 | -1/+1 |
| | |||||
* | avoid method redefined; discarding old empty? warning [#4302 state:committed] | Santiago Pastorino | 2010-03-30 | 1 | -0/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix some more warnings on 1.9 | wycats | 2010-03-17 | 1 | -2/+9 |
| | |||||
* | fix up activesupport test load paths | Joshua Peek | 2010-02-28 | 1 | -0/+3 |
| | |||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 1 | -4/+1 |
| | | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path. | ||||
* | Fix test load paths for those not using bundler | Joshua Peek | 2010-02-15 | 1 | -1/+4 |
| | |||||
* | Get rails tests running on bundler 0.9 | Carl Lerche | 2010-01-31 | 1 | -9/+1 |
| | |||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| |