Skip to content

Instantly share code, notes, and snippets.

Skipping memcached backed store tests. Start memcached and try again.
./test/core_ext/regexp_ext_test.rb:10: warning: Ambiguous first argument; put parentheses or even spaces
Loaded suite c:/github/ironruby/Merlin/External.LCA_RESTRICTED/Languages/Ruby/ruby-1.8.6p287/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader
Started
Finished in 140.2578018 seconds.
1) Failure:
test_atomic_write_preserves_default_file_permissions(AtomicWriteTest)
[./test/core_ext/file_test.rb:54:in `test_atomic_write_preserves_default_file_permissions'
setlocal
cd c:\github\rails\activesupport
REM set RUBY_EXE=%MERLIN_ROOT%\..\External.LCA_RESTRICTED\languages\ruby\ruby-1.8.6p287\bin\ruby.exe
set RUBY_EXE=%MERLIN_ROOT%\bin\Debug\ir.exe
%RUBY_EXE% -I"c:/github/rails/activesupport/lib" -I"c:/github/rails/activesupport/test" "c:/vsl/Merlin/External.LCA_RESTRICTED/languages/ruby/ruby-1.8.6p287/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb" "test/buffered_logger_test.rb" "test/caching_test.rb" "test/callbacks_test.rb" "test/clean_backtrace_test.rb" "test/clean_logger_test.rb" "test/core_ext/array_ext_test.rb" "test/core_ext/base64_ext_test.rb" "test/core_ext/blank_test.rb" "test/core_ext/cgi_ext_test.rb" "test/core_ext/class/attribute_accessor_test.rb" "test/core_ext/class/class_inheritable_attributes_test.rb" "test/core_ext/class/delegating_attributes_test.rb" "test/core_ext/class_test.rb" "test/core_ext/date_ext_test.rb" "test/core_ext/date_time_ext_test.rb" "test/core_ext/duplicable_test.rb" "test/core_ext/duration_test.rb" "test/core_ext
Started
................................F...F..FF..F...................................................FF..FF..FF.F..FF..F..F..FFFF....FFF.F..............FFFFFFFFFFFFF.F......F.....FFF...F...........................................................F......F...........F.......................EEE..FF..FFF..FEFF..FFF.FF....E.................................................E.E.E..............................................................................................E.................................................................................EE........................................................................................................................................................................................................................................................................................E.............................F...F.F..F....................................................E...........E........F..F......F.........FFF..............F...F.F..F...FF...EE.....................
@setlocal
cd c:\rails\actionpack
REM set RUBY_EXE=c:\Ruby\bin\ruby.exe
set RUBY_EXE=c:\ironruby\Merlin\Main\bin\Debug\ir.exe -X:Interpret
%RUBY_EXE% -I"c:/github/rails/actionpack/lib" -I"c:/github/rails/actionpack/test" "c:/vsl/Merlin/External.LCA_RESTRICTED/languages/ruby/ruby-1.8.6p287/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb" "test/controller/action_pack_assertions_test.rb" "test/controller/addresses_render_test.rb" "test/controller/assert_select_test.rb" "test/controller/base_test.rb" "test/controller/benchmark_test.rb" "test/controller/caching_test.rb" "test/controller/capture_test.rb" "test/controller/content_type_test.rb" "test/controller/cookie_test.rb" "test/controller/deprecation/deprecated_base_methods_test.rb" "test/controller/dispatcher_test.rb" "test/controller/filter_params_test.rb" "test/controller/filters_test.rb" "test/controller/flash_test.rb" "test/controller/header_test.rb" "test/controller/helper_test.rb" "test/controller/html-scanner/cdata_node_test.rb" "test/c
require File.dirname(__FILE__) + '/../../spec_helper'
require File.dirname(__FILE__) + '/fixtures/classes.rb'
# TODO - Should be moved to /fixtures/classes.rb. Shown here just for convinience for now
module StringSpecs
def self.split(s, string_pattern, limit = nil)
if limit then
result1 = s.split(string_pattern, limit)
result2 = s.split(eval("/#{string_pattern}/"), limit)
Loaded suite runtests
Started
...................................................F.........................EEEEEEE......................................................................F...........................................................................F.........................................S.....EF................E....F.....S.......................................F.....S..........S................EE................................E............F..EE..........................................................................................................................................................................................................................................................................F.......................................................
Finished in 889.333000 seconds.
1) Failure:
test_self_default_dir(TestGem) [test_gem.rb:151]:
Expected /\/[Rr]uby\/[Gg]ems\/[0-9.]+/ to match "c:/github/ironruby/Merlin/External.LCA_RESTRICTED/Languages/Ruby/redist-libs/ironruby/gems/1
describe "Widget#foo" do
it "does something" do
# This should be the functionality specs specific to the semantics of the method
Widget.new.foo.should == "do something"
end
end
# This captures the "type signature" of the method. Here are recipes for corner cases that you might forget.
# Note that the examples are not self-consistent by design. Only some of them might apply to any given method.
# However, the goal below is to include the union of all possible examples so that you can cut and paste
def location e
#
# shri - Add this line since backtrace is sometimes nil (bug)
#
if not e.backtrace then return "" end
last_before_assertion = ""
e.backtrace.reverse_each do |s|
break if s =~ /in .(assert|refute|flunk|pass|fail|raise)/
$LOAD_PATH << "c:/ruby/lib/ruby/gems/1.8/gems/minitest-1.3.1/lib/minitest"
require "unit"
$LOAD_PATH << File.dirname(__FILE__)
$LOAD_PATH << File.dirname(__FILE__) + "/test"
all_test_files = Dir.glob("test/test_*.rb")
all_test_files.each { |f| require f }
require "yaml"
class A
def initialize
@b = B.new
end
end
class B
def to_yaml emitter