Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core_assertions.rb: Support old rubies | Nobuyoshi Nakada | 2023-04-29 | 1 | -2/+1 |
| | | | | Some symbol argument might not be accepted by Process.clock_gettime. | ||||
* | core_assertions.rb: Prefer CPU time clocks | Nobuyoshi Nakada | 2023-04-06 | 1 | -2/+20 |
| | | | | To prevent influence from other processes. | ||||
* | core_assertions.rb: Extract common code block | Nobuyoshi Nakada | 2023-04-06 | 1 | -8/+9 |
| | |||||
* | core_assertions.rb: Tweak timeout limit | Nobuyoshi Nakada | 2023-04-06 | 1 | -4/+4 |
| | | | | Increase the timeout limit when variance at rehearsal is small. | ||||
* | Skip assert_linear_performance for RJIT | Takashi Kokubun | 2023-04-02 | 1 | -2/+5 |
| | |||||
* | core_assertions.rb: Raise `Timeout::Error` explicitly | Nobuyoshi Nakada | 2023-03-23 | 1 | -1/+1 |
| | | | | So that `assert_raise` inside the block works. | ||||
* | core_assertions.rb: Fix backward compatibility with pre 2.7 | Nobuyoshi Nakada | 2023-03-22 | 1 | -1/+1 |
| | |||||
* | [DOC] Update comment of assert_pattern_list | Nobuyoshi Nakada | 2023-03-22 | 1 | -2/+2 |
| | | | | `pattern_list` may contain string since d903e7672637. | ||||
* | core_assertions.rb: Refine `assert_linear_performance` | Nobuyoshi Nakada | 2023-03-22 | 1 | -1/+1 |
| | | | | | * Calculate each timeout from the ratio of each factor to the first factor. | ||||
* | core_assertions.rb: Relax `assert_linear_performance` | Nobuyoshi Nakada | 2023-03-18 | 1 | -14/+25 |
| | | | | | | | | * Use an `Enumerable` as factors, instead of three arguments. * Include `assert_operator` time in rehearsal time. * Round up max expected time. | ||||
* | Revert "core_assertions.rb: Refine `assert_linear_performance`" | Takashi Kokubun | 2023-03-16 | 1 | -16/+11 |
| | | | | | | | This reverts commit cae4342dd559e34c1ce6219593f77f0ad80286da. This is failing a lot of CIs and nobody is actively looking into fixing it. Let me revert this until we have a solution to it. | ||||
* | core_assertions.rb: Refine `assert_linear_performance` | Nobuyoshi Nakada | 2023-03-16 | 1 | -11/+16 |
| | | | | * Use an `Enumerable` as factors, instead of three arguments. | ||||
* | core_assertions.rb: Refine `assert_linear_performance` | Nobuyoshi Nakada | 2023-03-15 | 1 | -4/+3 |
| | | | | | * Add `rehearsal` keyword argument * Stop repeating with the same factor | ||||
* | Add test for linear performance | Nobuyoshi Nakada | 2023-03-12 | 1 | -0/+23 |
| | |||||
* | core_assertions.rb: Consider backward compatibilities | Nobuyoshi Nakada | 2023-03-12 | 1 | -1/+3 |
| | | | | | This file is copied to default gems, which might support older versions. | ||||
* | s/MJIT/RJIT/ | Takashi Kokubun | 2023-03-06 | 1 | -2/+2 |
| | |||||
* | Skip Test::Unit::AutoRunner logic in ruby/ruby repository | Hiroshi SHIBATA | 2023-01-05 | 1 | -2/+5 |
| | |||||
* | [ruby/openssl] Stop AutoRunner with test-unit | Hiroshi SHIBATA | 2023-01-05 | 1 | -0/+1 |
| | | | | https://github.com/ruby/openssl/commit/0d4cd8b9ca | ||||
* | Fix test fail with assert_ractor outside of ruby/ruby repo | Hiroshi SHIBATA | 2022-09-01 | 1 | -1/+1 |
| | | | | Revert 806583c093ecc2d67830f0a8f0d94decf0ed71e5 | ||||
* | Allow strings in assert_pattern_list | Nobuyoshi Nakada | 2022-08-19 | 1 | -4/+6 |
| | |||||
* | Prevent accidental use of assert_raises | Nobuyoshi Nakada | 2022-06-25 | 1 | -0/+4 |
| | |||||
* | [ruby/date] Use `assert_deprecated_warn` | Nobuyoshi Nakada | 2022-02-25 | 1 | -2/+2 |
| | | | | https://github.com/ruby/date/commit/c55004715a | ||||
* | [ruby/logger] Fix log rotation inter-process lock failed. | Jesse Chavez | 2022-01-27 | 1 | -1/+1 |
| | | | | | | | | | | | | Issue only occurs in JRuby 9.3.0.0 and Windows and the full console output is: log rotation inter-process lock failed. D:\log.txt -> D:\log.txt.0: The process cannot access the file because it is being used by another process. log writing failed. closed stream log writing failed. closed stream ... https://github.com/ruby/logger/commit/19fc734638 | ||||
* | [ruby/pathname] Officially drop support for ruby 2.6 or older | David Rodríguez | 2022-01-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | The gem doesn't even install on old rubies, but since the gemspec claims it's supported, `gem install pathname` will try to install it and print an error. This commit doesn't fix the above issue. The only way to fix it would be to restore support and release a new version that actually supports old rubies. However, such a change has been proposed and ignored for a long time. So this issue proposes to leave that broken but at least bring the gemspec manifest and the CI matrix in sync to hopefully avoid this issue from happening again in the future. https://github.com/ruby/pathname/commit/3ee010b538 | ||||
* | Prepare for removing RubyVM::JIT (#5262) | Takashi Kokubun | 2021-12-13 | 1 | -1/+1 |
| | |||||
* | Let pretty_inspect work once at first | Nobuyoshi Nakada | 2021-11-30 | 1 | -1/+1 |
| | | | | | For older pp.rb which did not need io/console, and dealing with `LoadError`. | ||||
* | Load io/console earlier | Nobuyoshi Nakada | 2021-11-30 | 1 | -0/+1 |
| | | | | | Something goes wrong at loading libraries inside `mu_pp` in the test overriding `Class.inherited`. | ||||
* | [ruby/digest] jruby support | Pavel Rosický | 2021-10-12 | 1 | -0/+1 |
| | | | | https://github.com/ruby/digest/commit/2e9dc14693 | ||||
* | Refactor `Test::Unit::CoreAssertions#assert_nothing_raised` | Nobuyoshi Nakada | 2021-10-09 | 1 | -20/+8 |
| | | | | | | * Separate exception classes to be rescued or reraised * Use the filtered backtrace in the failure message * Raise a new `AssertionFailedError` with the original backtrace | ||||
* | Unify `Test::Unit::Assertions#message` | Nobuyoshi Nakada | 2021-10-09 | 1 | -21/+10 |
| | | | | Merge `Test::Unit::CoreAssertions#message`. | ||||
* | Let `Test::Unit::CoreAssertions::AllFailures#for` yield the key | Nobuyoshi Nakada | 2021-10-09 | 1 | -1/+1 |
| | | | | Similar to `Test::Unit::CoreAssertions::AllFailures#foreach`. | ||||
* | Add unique token to separated runner | Nobuyoshi Nakada | 2021-09-13 | 1 | -8/+12 |
| | | | | Same as Test::Unit::CoreAssertions#assert_no_memory_leak. | ||||
* | Update the test tool path | Nobuyoshi Nakada | 2021-09-11 | 1 | -4/+4 |
| | |||||
* | Change include order for test assertions | Hiroshi SHIBATA | 2021-09-11 | 1 | -1/+1 |
| | |||||
* | Added missing Assertions for assert_file_predicate | Hiroshi SHIBATA | 2021-09-11 | 1 | -0/+1 |
| | |||||
* | Replace Test::Assertion and Test::Skip to Test::Unit::AssertionFailedError ↵ | Hiroshi SHIBATA | 2021-09-11 | 1 | -7/+7 |
| | | | | and Test::Unit::PendedError | ||||
* | Fixed inconsistent require order for assertions and core_assertions | Hiroshi SHIBATA | 2021-09-11 | 1 | -2/+0 |
| | |||||
* | Removed MiniTest hack for the default gems repo | Hiroshi SHIBATA | 2021-09-11 | 1 | -7/+0 |
| | |||||
* | Integrate Minitest to Test | Hiroshi SHIBATA | 2021-09-11 | 1 | -7/+7 |
| | |||||
* | Replace MiniTest::Unit to Test::Unit::Runner | Hiroshi SHIBATA | 2021-09-11 | 1 | -1/+1 |
| | |||||
* | Move MiniTest::Assertions to Test::Unit::Assertions | Hiroshi SHIBATA | 2021-09-11 | 1 | -7/+12 |
| | |||||
* | Simplify conditions for CoreAssertion initialization | Hiroshi SHIBATA | 2021-09-06 | 1 | -5/+2 |
| | |||||
* | Use equivalent `__FILE__` | Nobuyoshi Nakada | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | Fix relative paths from core_assertions.rb | Nobuyoshi Nakada | 2021-08-04 | 1 | -3/+3 |
| | |||||
* | Remove an extraneous escape | Nobuyoshi Nakada | 2021-08-04 | 1 | -1/+1 |
| | | | | Since a3fb97465df3, this string is not inside the here-document. | ||||
* | Move core_assertions.rb from test/unit | Nobuyoshi Nakada | 2021-07-11 | 1 | -0/+774 |
This file contains extended assertions for ruby core which do not belong to test/unit. |