| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb,
mkconfig.rb, sample/test.rb, template/vm.inc.tmpl,
test/ruby/test_stringchar.rb: fixes arround String#gsub.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
throw won't raise NameError nor ThreadError but ArgumentError on 1.9.
(Test::Unit::Assertions#assert_not_throws): ditto.
* test/testunit/test_assertions.rb: add assertions for throwing some
objects other than Symbol.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize):
initialize @workdir to stop warning.
* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block):
replace funcall by send!. other files in the distribution as well.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
calculation.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
directory but not prepend.
* lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): do not
join with dot. fixed: [ruby-core:09179]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
base directory to load path.
* lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): should
use the given File-like interface, but not File directly.
* test/testunit/collector/test_dir.rb (TestDir::FileSystem): implement
File-like methods correctly.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
load expanded path. fixed: [ruby-dev:29621]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
base directory should be lower precedence. fixed: [ruby-dev:29622]
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from source tree.
* lib/test/unit/autorunner.rb (options): added --basedir, --workdir
and --load-path options.
* lib/test/unit/collector/dir.rb (recursive_collect, collect_file):
base directory support.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
Includes patches by Hugh Sasse:
* ping.rb
* weakref.rb
* mailread.rb
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
invoke_functional_method corresponding send and funcall
respectively. [ruby-talk:197512]
* parse.y (parser_yylex): returns the most typical keyword token
on EXPR_FNAME. [ruby-core:7995]
* ext/socket/socket.c: protoize.
* parse.y (then): remove ':' from 'then' and 'do' rules.
* hash.c (env_aset): raise TypeError on nil with more descriptive
message. [ruby-core:07990]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* eval.c (ev_const_defined): adopt to ev_const_get() using
rb_const_defined_fallback().
* variable.c (rb_const_get_fallback): new function to implement
constant search.
* variable.c (rb_const_defined_fallback): new function to
implement constant definition check.
* variable.c (rb_const_get_0): adopt to new behavior. constants
are looked up in the order of: current class, super classes (but
Object), lexically external classes/modules, and Object.
* variable.c (rb_const_defined_0): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
'--' so that test scripts can handle them. fixed: [ruby-dev:28258]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to $LOAD_PATH instead of restoring it verbatim.
* lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that
'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace
collector again. Also tried to simplify the calling convention.
* test/runner.rb: adjusted for new AutoRunner semantics.
* lib/test/unit.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): accept
multiple -p and -x options.
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#recursive_collect):
ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
with -p/-x options.
* test/testunit/collector/test_dir.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
new option --exclude (-x) to skip some tests.
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir.exclude):
ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
Regexp conversion.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
after changing process title. [ruby-talk:97426]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
lib/test/unit/testsuite.rb: typo fix.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/mkmf.rb (create_makefile): emit no rules for static library if
$static is nil, e.g., outside of ext/.
* lib/test/unit/ui/console/testrunner.rb (test_started): show test
name via $0.
* runruby.rb: set environments to use the compiled binary.
* test/runner.rb: do nothing while cross-compiling.
* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
know ruby binary.
* test/ruby/envutil.rb: give priority to RUBY environment variable to
use just compiled binary and libraries.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
* lib/test/unit.rb: rearranged documentation for RDoc's sake.
* lib/matrix.rb: improved documentation.
* lib/net/http.rb: slight documentation formatting improvement.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
moved run method which allows output level. [ruby-dev:22554]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and SystemExitError) while loading a testcase. smell of bug.
* test/testunit/collector/test_dir.rb: add new test of the LoadError.
* test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if
openssl is not installed.
* test/testunit/collector/test_dir.rb: assert_raises -> assert_raise.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
and made the former call the latter. [ruby-core:01890]
* test/testunit/test_assertions.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
runner. [ruby-core:01901], [ruby-list:38869]
* lib/test/unit/ui/testrunnerutilities.rb: moved output level
constants from Console.
* lib/test/unit/ui/console/testrunner.rb: ditto.
* lib/test/unit/ui/{fox,gtk,gtk2,tk}/testrunner.rb (initialize):
accept output_level.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
allow multiple exception list. [ruby-core:01884]
* lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
check whether arguments are subclass of Exception.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner.run,
Test::Unit::AutoRunner#initialize): take test list to run.
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::RUNNERS,
Test::Unit::AutoRunner#run): should not exit inside a library, just
return the result instead.
* lib/test/unit.rb: ditto.
* test/runner.rb: exit with the test result.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
* test/testunit/test_assertions.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
success, false as failure. [ruby-dev:22067]
* eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use
ANSI macro instead of hard coded value.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
when an exception had no backtrace.
* test/testunit/util/test_backtracefilter.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
* lib/test/unit/testcase.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
* lib/test/unit/assertionfailederror.rb: extend StandardError instead
Exception (irb catches the former but not the latter).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
lib/test/unit/ui/gtk/testrunner.rb:
run GUI main loop in sub thread.
* lib/test/unit/ui/gtk2/testrunner.rb: imported from rough.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
uncaught throw in sub thread raises ThreadError.
* lib/test/unit/ui/tk/testrunner.rb (setup_ui): "expand" is not
necessary.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
the case when the requested font is not available.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|