[root]/test/testunit
collector
(2 files, 509 lines)
runit
(4 files, 686 lines)
util
(3 files, 179 lines)
* test/testunit/test_testcase.rb: catch up with current instance
variable spec.
1 lines of code changed in:
* object.c (rb_obj_ivar_set/get/defined): fix to check :@_v/C id.
* test/testunit/test_testcase.rb: fix to use instance_variable_get()
to access @_result.
1 lines of code changed in:
set svn:eol-style
0 lines of code changed in:
* test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers):
use standard assert_raise.
* test/testunit/test_assertions.rb (test_assert_send): send no longer
calls private methods.
* test/uri/test_generic.rb (test_parse): corrected path in FTP URI.
0 lines of code changed in:
* test/testunit/test_assertions.rb: revert unintentional commit.
1 lines of code changed in:
* eval.c (proc_save_safe_level): no need to restrict safe level
memoize in $SAFE>=3. [ruby-dev:27050]
0 lines of code changed in:
* lib/test/unit/assertions.rb: Modules are allowed to rescue.
* lib/test/unit/autorunner.rb: show output_level in order.
* lib/test/unit/collector/dir.rb: get rid of successive same
directories in load path.
* test/testunit/test_assertions.rb (test_assert_nothing_raised,
test_assert_raise): test for modules.
15 lines of code changed in:
* lib/test/unit/assertions.rb: renamed #assert_raises to #assert_raise
and made the former call the latter. [ruby-core:01890]
* test/testunit/test_assertions.rb: ditto.
15 lines of code changed in:
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_raises,
Test::Unit::Assertions::assert_nothing_raised): use the last
argument as message unless non-class object.
* test/testunit/test_assertions.rb (test_assert_raises): test for
multiple exception list. [ruby-core:01891]
* test/testunit/test_assertions.rb (test_assert_nothing_raised): test
for non-exception classes.
37 lines of code changed in:
* lib/test/unit/assertions.rb: fixed #assert_no_match message.
* test/testunit/test_assertions.rb: ditto.
9 lines of code changed in:
* lib/test/unit/assertions.rb: un-deprecated #assert_not_nil to
maintain symmetry with #assert_nil. Also added better output for
#assert_kind_of.
* test/testunit/tc_assertions.rb: ditto.
9 lines of code changed in:
* lib/test/unit/assertions.rb: will use pp for output if available.
Can be disabled by setting Assertions.use_pp = false.
* test/testunit/test_assertions.rb: made a small change to exception
formatting.
4 lines of code changed in:
* lib/test/unit/assertions.rb: made small improvements to assertion
messages. Deprecated Assertions#assert_not_nil; use #assert instead.
* test/testunit/test_assertions.rb: ditto.
* test/testunit/util/test_procwrapper.rb: use #assert instead of
#assert_not_nil.
44 lines of code changed in:
* lib/test/unit/assertions.rb: changed assertion messages to rely more
heavily on #inspect. Added backtrace filtering for exceptions in
assertion messages.
* test/testunit/test_assertions.rb: ditto.
31 lines of code changed in:
* lib/test/unit/testsuite.rb: changed #<< to return self, and added
#delete.
* test/testunit/test_testsuite.rb: ditto. Also slightly refactored
#test_size.
* lib/test/unit/collector/objectspace.rb: collector now preserves the
hierarchy of suites.
* test/testunit/collector/test_objectspace.rb: ditto.
23 lines of code changed in:
* lib/test/unit/assertions.rb: added a default message for #assert,
#assert_block, and #flunk.
* test/testunit/test_assertions.rb: ditto.
* lib/test/unit/failure.rb: failures now show a better trace of where
they occurred.
* test/testunit/test_failure.rb: ditto (added).
* lib/test/unit/testcase.rb: ditto.
* test/testunit/test_testcase.rb: ditto.
* lib/test/unit/util/backtracefilter.rb: added.
* test/testunit/util/test_backtracefilter.rb: added.
* lib/test/unit/error.rb: changed to use BacktraceFilter and improved
output.
* test/testunit/test_error.rb: ditto.
90 lines of code changed in:
* lib/test/unit/assertions.rb: should not capture an
AssertionFailedError unless explicitly requested.
* test/testunit/test_assertions.rb: ditto.
* test/testunit/collector/test_objectspace.rb: fixed a test failure
caused by methods being returned in different orders on different
platforms by moving test sorting from TestSuite into the locations
where suites are constructed. [ruby-talk:83156]
* lib/test/unit/testcase.rb: ditto.
* lib/test/unit/testsuite.rb: ditto.
* lib/test/unit/collector/objectspace.rb: ditto.
5 lines of code changed in:
* test/testunit/*: Added.
* lib/test/unit.rb: Documentation update.
* lib/test/unit/ui/console/testrunner.rb (TestRunner#initialize):
Ditto.
* lib/test/unit.rb: Factored out an ObjectSpace collector.
* lib/test/unit/collector/objectspace.rb: Ditto.
* sample/testunit/*: Added.
973 lines of code changed in: