1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
naruse 979ec8df5d * lib/benchmark.rb: fix benchmarck to work with current ruby.
patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143]
  merged from https://github.com/eregon/ruby/commits/benchmark

*  lib/benchmark (Report#width): update documentation
*  lib/benchmark: document the return value of #benchmark and the
   :list attribute in Report
*  lib/benchmark (Tms#format): rename variables, use String#%
   instead of Kernel.format
*  lib/benchmark: remove undocumented Benchmark::times (an alias
   of Process::times used twice)
*  lib/benchmark (#benchmark): use label_width for the caption
*  lib/benchmark (Tms#initialize): rename variables
*  lib/benchmark: allow title to not be a String and call #to_s
*  lib/benchmark (Benchmark#bm): return an Array of the times with
   the labels
*  lib/benchmark: correct output for Benchmark#bmbm
   (remove the extra space)
*  lib/benchmark: add a few tests for Benchmark::Tms output
*  lib/benchmark: improve style (enumerators, ljust, unused vars)
*  lib/benchmark: add spec about output and return value
*  lib/benchmark: improve basic style and consistency
   no parenthesis for print and use interpolation instead of printf
*  lib/benchmark: remove unnecessary conversions and variables
*  lib/benchmark: correct indentation
*  lib/benchmark: rename the FMTSTR constant and variable to FORMAT
*  lib/benchmark: remove useless exception

*  test/benchmark: remove unused variable warnings

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-31 16:11:06 +00:00
..
-ext- * string.c (rb_str_ellipsize): new function to ellipsize a string. 2011-01-30 04:01:58 +00:00
base64
benchmark * lib/benchmark.rb: fix benchmarck to work with current ruby. 2011-01-31 16:11:06 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.c (BigDecimal_save_limit): 2010-09-29 08:55:11 +00:00
cgi Prevent timing failure. 2010-11-15 02:37:19 +00:00
coverage * test/coverage/test_coverage.rb: added. 2010-08-14 11:59:35 +00:00
csv * test/with_different_ofs.rb (DifferentOFS): should not affect 2010-12-26 02:15:55 +00:00
date added some tests. 2010-11-22 22:28:53 +00:00
dbm
digest * test/with_different_ofs.rb (DifferentOFS): should not affect 2010-12-26 02:15:55 +00:00
dl * test/dl/test_dl2.rb (TestDL#test_sin): math functions do not 2011-01-30 07:15:23 +00:00
drb raise DRbConnError instead of ArgumentError if too many arguments. 2010-06-14 08:52:30 +00:00
erb
etc
fiddle * test/fiddle/test_fiddle.rb: Don't run test if the system don't support 2011-01-23 13:20:58 +00:00
fileutils * lib/fileutils.rb (FileUtils::Entry_#copy): check file name 2010-07-20 03:27:59 +00:00
gdbm * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create, 2011-01-28 14:23:04 +00:00
iconv * test/iconv/utils.rb: suppress warning message. 2010-11-28 13:25:58 +00:00
io * test/io/console/test_io_console.rb: Don't run test if the system 2011-01-23 14:03:24 +00:00
irb * test/irb/test_option.rb (test_end_of_option): don't read .irbrc. Bug#4138 2010-12-08 22:00:59 +00:00
json * ext/json/lib/json/add/rails.rb: removed. 2010-12-02 12:28:45 +00:00
logger
matrix
minitest Imported minitest 2.0.0 r5952. Fixed test/unit.rb to work with changes 2010-12-01 05:33:32 +00:00
mkmf * configure.in (warnflags): add -Werror=implicit-function-declaration 2011-01-15 02:57:36 +00:00
monitor
net * test/net/smtp/test_ssl_socket.rb: fix dependency. 2011-01-15 03:01:19 +00:00
nkf * ext/nkf/lib/kconv.rb (String#kconv): fix typo and update rdoc. 2010-12-07 11:47:39 +00:00
objspace * ext/objspace/objspace.c (ObjectSpace.memsize_of_all): rename 2010-10-28 20:23:21 +00:00
open-uri * test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked): 2010-06-11 21:47:41 +00:00
openssl * ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case. 2011-01-29 18:48:24 +00:00
optparse * lib/optparse.rb: shell completion support for zsh. based on 2010-11-19 12:07:09 +00:00
ostruct * lib/ostruct.rb (OpenStruct#delete_field): also undefine 2010-11-03 05:17:25 +00:00
pathname * test/pathname/test_pathname.rb (TestPathname#test_grpowned?): the 2010-10-29 21:40:09 +00:00
psych reverting r30628 since this seems like a bug in libyaml 2011-01-22 22:43:41 +00:00
rake Deprecate Rake::RDocTask in favor of RDoc::Task 2010-12-28 22:22:58 +00:00
rdoc * test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files): 2011-01-05 05:06:44 +00:00
readline * ext/readline/readline.c (readline_s_get_line_buffer): 2010-09-06 01:38:51 +00:00
resolv
rexml * test/rexml/test_contrib.rb (ContribTester#test_pos): should not 2010-12-20 21:25:49 +00:00
rinda
ripper * parse.y (stmt): missing ripper rule. i.e., `a::B ||= c 1'. 2010-12-26 02:39:14 +00:00
rss * lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464] 2010-10-30 12:10:56 +00:00
ruby Add ML Reference and a test for r30736 [ruby-core:34997] 2011-01-30 21:00:04 +00:00
rubygems * test/rubygems/test_gem_security.rb (TestGemSecurity): valid only 2011-01-30 07:40:31 +00:00
scanf
sdbm
socket * test/socket/test_addrinfo.rb: extract Errno::EADDRINUSE as a method. 2010-12-01 12:42:50 +00:00
stringio * ext/stringio/stringio.c (get_strio, strio_set_string) 2011-01-05 20:14:43 +00:00
strscan
syck
testunit
thread
uri * test/uri/test_common.rb (TestCommon#test_encode_www_form): add 2010-12-06 10:01:42 +00:00
webrick * test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need 2011-01-20 02:41:09 +00:00
win32ole * test/win32ole/test_err_in_callback.rb (teardown): remove tmp file 2010-11-25 01:03:52 +00:00
xmlrpc
zlib * ext/zlib/zlib.c (gzreader_gets): support optional length 2010-12-25 02:02:55 +00:00
inlinetest.rb
profile_test_all.rb property. 2010-10-29 23:50:57 +00:00
runner.rb * common.mk (test-build): test for build process. 2010-12-06 13:55:15 +00:00
test_cmath.rb * lib/cmath.rb (CMath.sqrt): use floating-point value. [ruby-core:31672] [Bug #3678] 2010-08-11 14:30:47 +00:00
test_delegate.rb
test_find.rb
test_ipaddr.rb
test_mathn.rb Clean warnings: unused variables. 2010-06-23 05:32:46 +00:00
test_mutex_m.rb * lib/optparse.rb: suppress a warning. 2010-08-10 12:02:52 +00:00
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb * test/test_prime.rb (TestPrime#test_new): the warning expected have 2010-09-22 08:03:55 +00:00
test_pstore.rb
test_pty.rb * test/test_pty.rb (TestPTY::test_getpty_nonexistent): ditto. 2010-09-24 07:37:26 +00:00
test_set.rb
test_shellwords.rb
test_singleton.rb
test_syslog.rb * test/test_syslog.rb: Fix to make a lot of test failure if 2011-01-22 15:46:11 +00:00
test_tempfile.rb * ext/etc/etc.c (etc_systmpdir): assume system default tmpdir 2010-09-09 22:29:16 +00:00
test_time.rb add an assertion. 2010-06-24 13:37:58 +00:00
test_timeout.rb
test_tracer.rb Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenix 2011-01-14 02:02:12 +00:00
test_tsort.rb
with_different_ofs.rb * test/with_different_ofs.rb (DifferentOFS): should not affect 2010-12-26 02:15:55 +00:00