summaryrefslogtreecommitdiffstats
path: root/lib/test/unit/ui
Commit message (Collapse)AuthorAgeFilesLines
* Documentation cleanup.drbrain2006-08-047-7/+7
| | | | | | | | | | 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
* * lib/test/unit/ui/console/testrunner.rb (test_started): restore $0nobu2004-04-211-1/+2
| | | | | | | after changing process title. [ruby-talk:97426] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): skip uncompiled extensions.nobu2004-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | * 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
* * lib/test/unit/ui/testrunnerutilities.rb (TestRunnerUtilities):nobu2004-01-136-24/+5
| | | | | | | 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
* * lib/test/unit/autorunner.rb: remove dependency to a particularnobu2003-12-086-9/+9
| | | | | | | | | | | | | | | 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
* * lib/test/unit/ui/gtk2 (Test::Unit::UI::GTK2#start_ui): remove debug statement.nobu2003-12-021-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/testrb: new test runner. [ruby-core:01845]nobu2003-12-024-4/+14
| | | | | | | | | | | | | | | | * 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
* * eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true asnobu2003-11-273-3/+3
| | | | | | | | | | 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
* * lib/test/unit/ui/tk/testrunner.rb,nobu2003-11-173-35/+534
| | | | | | | | | | 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
* * lib/test/unit/ui/tk/testrunner.rb: use grid and panedwindow (if available)nagai2003-11-131-12/+46
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_throws, assert_nothing_thrown):nobu2003-11-121-1/+1
| | | | | | | | | | 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
* * lib/test/unit/ui/testrunnermediator.rb: should require 'test/unit'.ntalbott2003-11-111-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handlentalbott2003-11-111-1/+3
| | | | | | | 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
* * eval.c (rb_load): allow interrupt during loaded programmatz2003-11-061-0/+225
| | | | | | | | | | | | | | evaluation. [ruby-dev:21834] * hash.c (rb_hash_fetch): always warn if default argument and a block are supplied at the same time. [ruby-dev:21842] * hash.c (env_fetch): ditto. * array.c (rb_ary_fetch): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/ui/gtk/testrunner.rb: typo.nobu2003-11-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: removed installation instructions.ntalbott2003-10-081-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/test/unit/ui/testrunnermediator.rb: moved the run flag to a more central location. * lib/test/unit.rb: ditto. * lib/test/unit.rb: extracted the running code in to AutoRunner. * lib/test/unit/autorunner.rb: added. * lib/test/unit/collector/objectspace.rb: extracted common test collection functionality in to a module. * lib/test/unit/collector.rb: ditto; added. * test/testunit/collector/test_objectspace.rb: ditto. * lib/test/unit/collector/dir.rb: added. Supports collecting tests out of a directory structure. * test/testunit/collector/test_dir.rb: added. * test/runner.rb: simplified to use the new capabilities. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/*: Added.ntalbott2003-09-191-2/+2
| | | | | | | | | | | | | | | | * 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/ui/console/testrunner.rb: Flushed io in thematz2003-08-041-0/+2
| | | | | | | Console::TestRunner so that it will output immediately. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionntalbott2003-02-125-0/+905
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e