edit: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/ironruby-tags/core/exception/no_method_error_tags.txt;C966724 File: no_method_error_tags.txt =================================================================== --- $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/ironruby-tags/core/exception/no_method_error_tags.txt;C966724 (server) 2/10/2010 12:46 PM +++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/ironruby-tags/core/exception/no_method_error_tags.txt;rails @@ -1,3 +1,3 @@ -fails:NoMethodError.new allows passing method args fails:NoMethodError#args returns an empty array if the caller method had no arguments fails:NoMethodError#args returns an array with the same elements as passed to the method +fails:NoMethodError.new allows passing nil \ No newline at end of file =================================================================== delete: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/ironruby-tags/library/zlib/crc32_tags.txt;C807294 File: crc32_tags.txt =================================================================== --- $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/ironruby-tags/library/zlib/crc32_tags.txt;C807294 (server) 2/11/2010 12:47 AM +++ [no target file] @@ -1,5 +1,0 @@ -fails:Zlib.crc32 calculates CRC checksum for string -fails:Zlib.crc32 calculates CRC checksum for string and initial CRC value -fails:Zlib.crc32 calculates the CRC checksum for string and initial CRC value for Bignums -fails:Zlib.crc32 assumes that the initial value is given to crc, if crc is omitted -fails:Zlib.crc32 it returns the CRC initial value, if string is omitted =================================================================== edit: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/rubyspec/core/exception/no_method_error_spec.rb;C807294 File: no_method_error_spec.rb =================================================================== --- $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/rubyspec/core/exception/no_method_error_spec.rb;C807294 (server) 2/10/2010 12:31 PM +++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/rubyspec/core/exception/no_method_error_spec.rb;rails @@ -2,9 +2,22 @@ require File.dirname(__FILE__) + '/fixtures/common' describe "NoMethodError.new" do - it "allows passing method args" do - NoMethodError.new("msg","name","args").args.should == "args" + it "can be called with no arguments" do + NoMethodError.new().should_not be_nil end + + it "can be called with upto 3 arguments" do + NoMethodError.new("msg", "name", ["arg1", "arg2"]).should_not be_nil + end + + it "allows passing nil" do + NoMethodError.new(nil, nil, nil).should_not be_nil + end + + it "can be called with arbitrary objects" do + m = mock("some object") + NoMethodError.new(m, m, m).should_not be_nil + end end describe "NoMethodError#args" do @@ -22,7 +35,7 @@ NoMethodErrorSpecs::NoMethodErrorB.new.foo(1,a) rescue Exception => e e.args.should == [1,a] - e.args[1].object_id.should == a.object_id + e.args[1].should equal(a) end end end =================================================================== add: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/rubyspec/library/openssl/ssl/sslerror_spec.rb File: sslerror_spec.rb =================================================================== --- [no source file] +++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/mspec/rubyspec/library/openssl/ssl/sslerror_spec.rb;rails @@ -1,0 +1,19 @@ +require File.dirname(__FILE__) + '/../../../spec_helper' +require 'openssl' + +describe "OpenSSL::SSL::SSLError" do + + it "inherits from OpenSSL::OpenSSLError" do + OpenSSL::SSL::SSLError.superclass.should == OpenSSL::OpenSSLError + end +end + +describe "OpenSSL::SSL::SSLError.new" do + it "can be called with no arguments" do + OpenSSL::SSL::SSLError.new.should_not be_nil + end + + it "can be called with one arguments" do + OpenSSL::SSL::SSLError.new("hello").should_not be_nil + end +end \ No newline at end of file =================================================================== edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Initializers.Generated.cs;C1569144 File: Initializers.Generated.cs =================================================================== --- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Initializers.Generated.cs;C1569144 (server) 2/10/2010 12:43 PM +++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Initializers.Generated.cs;rails @@ -317,7 +317,8 @@ DefineGlobalClass("FloatDomainError", typeof(IronRuby.Builtins.FloatDomainError), 0x0000000F, def44, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray, new Func(BuiltinsLibraryInitializer.ExceptionFactory__FloatDomainError)); DefineGlobalClass("NoMethodError", typeof(System.MissingMethodException), 0x00000007, def53, LoadNoMethodError_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray, - new Func(BuiltinsLibraryInitializer.ExceptionFactory__NoMethodError)); + new Func(IronRuby.Builtins.NoMethodErrorOps.Factory) + ); SetBuiltinConstant(def30, "Constants", def31); SetBuiltinConstant(def27, "Clr", def4); SetBuiltinConstant(def4, "BigInteger", def5); @@ -5136,6 +5137,11 @@ private static void LoadNoMethodError_Instance(IronRuby.Builtins.RubyModule/*!*/ module) { module.HideMethod("message"); + DefineLibraryMethod(module, "args", 0x51, + 0x00000000U, + new Func(IronRuby.Builtins.NoMethodErrorOps.GetArguments) + ); + } private static void LoadNumeric_Instance(IronRuby.Builtins.RubyModule/*!*/ module) { @@ -8823,7 +8829,8 @@ public sealed class OpenSslLibraryInitializer : IronRuby.Builtins.LibraryInitializer { protected override void LoadModules() { IronRuby.Builtins.RubyClass classRef0 = GetClass(typeof(System.Object)); - IronRuby.Builtins.RubyClass classRef1 = GetClass(typeof(System.Runtime.InteropServices.ExternalException)); + IronRuby.Builtins.RubyClass classRef1 = GetClass(typeof(System.SystemException)); + IronRuby.Builtins.RubyClass classRef2 = GetClass(typeof(System.Runtime.InteropServices.ExternalException)); IronRuby.Builtins.RubyModule def1 = DefineGlobalModule("OpenSSL", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl), 0x00000008, null, null, LoadOpenSSL_Constants, IronRuby.Builtins.RubyModule.EmptyArray); @@ -8833,29 +8840,35 @@ new Func(IronRuby.StandardLibrary.OpenSsl.OpenSsl.DigestFactory.Digest.CreateDigest) ); IronRuby.Builtins.RubyClass def5 = DefineClass("OpenSSL::HMAC", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.HMAC), 0x00000008, classRef0, null, LoadOpenSSL__HMAC_Class, null, IronRuby.Builtins.RubyModule.EmptyArray); - IronRuby.Builtins.RubyModule def6 = DefineModule("OpenSSL::PKey", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.PKey), 0x00000008, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); - IronRuby.Builtins.RubyClass def7 = DefineClass("OpenSSL::PKey::RSA", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.PKey.RSA), 0x00000008, classRef0, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); - IronRuby.Builtins.RubyModule def8 = DefineModule("OpenSSL::Random", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.RandomModule), 0x00000008, null, LoadOpenSSL__Random_Class, null, IronRuby.Builtins.RubyModule.EmptyArray); - IronRuby.Builtins.RubyModule def9 = DefineModule("OpenSSL::X509", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509), 0x00000008, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); - IronRuby.Builtins.RubyClass def10 = DefineClass("OpenSSL::X509::Certificate", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509.Certificate), 0x00000008, classRef0, LoadOpenSSL__X509__Certificate_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray, + IronRuby.Builtins.RubyClass def6 = DefineClass("OpenSSL::OpenSSLError", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.OpenSSLError), 0x00000008, classRef1, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyModule def7 = DefineModule("OpenSSL::PKey", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.PKey), 0x00000008, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyClass def8 = DefineClass("OpenSSL::PKey::RSA", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.PKey.RSA), 0x00000008, classRef0, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyModule def9 = DefineModule("OpenSSL::Random", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.RandomModule), 0x00000008, null, LoadOpenSSL__Random_Class, null, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyModule def10 = DefineModule("OpenSSL::SSL", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.SSL), 0x00000008, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyModule def12 = DefineModule("OpenSSL::X509", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509), 0x00000008, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyClass def13 = DefineClass("OpenSSL::X509::Certificate", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509.Certificate), 0x00000008, classRef0, LoadOpenSSL__X509__Certificate_Instance, null, null, IronRuby.Builtins.RubyModule.EmptyArray, new Func(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509.Certificate.CreateCertificate), new Func(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509.Certificate.CreateCertificate) ); - IronRuby.Builtins.RubyClass def12 = DefineClass("OpenSSL::X509::CertificateError", typeof(System.Security.Cryptography.CryptographicException), 0x00000000, classRef1, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray, + IronRuby.Builtins.RubyClass def15 = DefineClass("OpenSSL::X509::CertificateError", typeof(System.Security.Cryptography.CryptographicException), 0x00000000, classRef2, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray, new Func(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509.CryptographicExceptionOps.Create) ); - IronRuby.Builtins.RubyClass def11 = DefineClass("OpenSSL::X509::Name", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509.Name), 0x00000008, classRef0, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyClass def14 = DefineClass("OpenSSL::X509::Name", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.X509.Name), 0x00000008, classRef0, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyClass def11 = DefineClass("OpenSSL::SSL::SSLError", typeof(IronRuby.StandardLibrary.OpenSsl.OpenSsl.SSL.SSLError), 0x00000008, def6, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray); SetConstant(def1, "BN", def2); SetConstant(def1, "Digest", def3); SetConstant(def3, "Digest", def4); SetConstant(def1, "HMAC", def5); - SetConstant(def1, "PKey", def6); - SetConstant(def6, "RSA", def7); - SetConstant(def1, "Random", def8); - SetConstant(def1, "X509", def9); - SetConstant(def9, "Certificate", def10); - SetConstant(def9, "CertificateError", def12); - SetConstant(def9, "Name", def11); + SetConstant(def1, "OpenSSLError", def6); + SetConstant(def1, "PKey", def7); + SetConstant(def7, "RSA", def8); + SetConstant(def1, "Random", def9); + SetConstant(def1, "SSL", def10); + SetConstant(def1, "X509", def12); + SetConstant(def12, "Certificate", def13); + SetConstant(def12, "CertificateError", def15); + SetConstant(def12, "Name", def14); + SetConstant(def10, "SSLError", def11); } private static void LoadOpenSSL_Constants(IronRuby.Builtins.RubyModule/*!*/ module) { @@ -9121,7 +9134,7 @@ IronRuby.Builtins.RubyClass classRef2 = GetClass(typeof(IronRuby.Builtins.RuntimeError)); - IronRuby.Builtins.RubyModule def1 = DefineGlobalModule("Zlib", typeof(IronRuby.StandardLibrary.Zlib.Zlib), 0x00000008, null, null, LoadZlib_Constants, IronRuby.Builtins.RubyModule.EmptyArray); + IronRuby.Builtins.RubyModule def1 = DefineGlobalModule("Zlib", typeof(IronRuby.StandardLibrary.Zlib.Zlib), 0x00000008, null, LoadZlib_Class, LoadZlib_Constants, IronRuby.Builtins.RubyModule.EmptyArray); IronRuby.Builtins.RubyClass def5 = DefineClass("Zlib::Error", typeof(IronRuby.StandardLibrary.Zlib.Zlib.Error), 0x00000008, classRef0, null, null, null, IronRuby.Builtins.RubyModule.EmptyArray, new Func(ZlibLibraryInitializer.ExceptionFactory__Zlib__Error)); IronRuby.Builtins.RubyClass def6 = DefineClass("Zlib::GzipFile", typeof(IronRuby.StandardLibrary.Zlib.Zlib.GZipFile), 0x00000008, classRef1, LoadZlib__GzipFile_Instance, LoadZlib__GzipFile_Class, null, IronRuby.Builtins.RubyModule.EmptyArray); @@ -9189,6 +9202,17 @@ } + private static void LoadZlib_Class(IronRuby.Builtins.RubyModule/*!*/ module) { + #if !SILVERLIGHT + DefineLibraryMethod(module, "crc32", 0x21, + 0x00000000U, 0x00010000U, + new Func(IronRuby.StandardLibrary.Zlib.Zlib.GetCrc), + new Func(IronRuby.StandardLibrary.Zlib.Zlib.GetCrc) + ); + + #endif + } + #if !SILVERLIGHT private static void LoadZlib__Deflate_Instance(IronRuby.Builtins.RubyModule/*!*/ module) { DefineLibraryMethod(module, "deflate", 0x11, =================================================================== edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/Exceptions.cs;C1479709 File: Exceptions.cs =================================================================== --- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/Exceptions.cs;C1479709 (server) 2/9/2010 4:44 PM +++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/Exceptions.cs;rails @@ -18,6 +18,7 @@ using System.Runtime.InteropServices; using System.Security; using Microsoft.Scripting.Runtime; +using Microsoft.Scripting.Utils; using IronRuby.Runtime; namespace IronRuby.Builtins { @@ -176,6 +177,27 @@ [RubyException("NoMethodError", Extends = typeof(MissingMethodException), Inherits = typeof(MemberAccessException))] [HideMethod("message")] public static class NoMethodErrorOps { + // Note that we cannot use Exception.Data to store the arguments as Exception.Data requires + // that the data can be serializable + private static WeakDictionary Arguments = new WeakDictionary(); + + [RubyConstructor] + public static MissingMethodException/*!*/ Factory( + RubyClass/*!*/ self, + [Optional]object message, + [Optional]object name, + [Optional]object args) { + MutableString msg = KernelOps.ToS(message); + MissingMethodException result = new MissingMethodException(RubyExceptions.MakeMessage(ref msg, "")); + RubyExceptionData.InitializeException(result, message); + NoMethodErrorOps.Arguments[result] = args; + return result; + } + + [RubyMethod("args")] + public static object GetArguments(MissingMethodException/*!*/ self) { + return NoMethodErrorOps.Arguments[self]; + } } [RubyException("SecurityError", Extends = typeof(SecurityException), Inherits = typeof(SystemException))] =================================================================== edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/OpenSSL/OpenSSL.cs;C1309049 File: OpenSSL.cs =================================================================== --- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/OpenSSL/OpenSSL.cs;C1309049 (server) 2/11/2010 12:02 AM +++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/OpenSSL/OpenSSL.cs;rails @@ -429,5 +429,38 @@ // to_s } } + + [RubyClass("OpenSSLError"), Serializable] + public class OpenSSLError : SystemException { + private const string/*!*/ M = "OpenSSL error"; + + public OpenSSLError() : this(null, null) { } + public OpenSSLError(string message) : this(message, null) { } + public OpenSSLError(string message, Exception inner) : base(RubyExceptions.MakeMessage(message, M), inner) { } + public OpenSSLError(MutableString message) : base(RubyExceptions.MakeMessage(ref message, M)) { RubyExceptionData.InitializeException(this, message); } + +#if !SILVERLIGHT + protected OpenSSLError(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) { } +#endif + } + + [RubyModule("SSL")] + public static class SSL { + [RubyClass("SSLError"), Serializable] + public class SSLError : OpenSSLError { + private const string/*!*/ M = "SSL error"; + + public SSLError() : this(null, null) { } + public SSLError(string message) : this(message, null) { } + public SSLError(string message, Exception inner) : base(RubyExceptions.MakeMessage(message, M), inner) { } + public SSLError(MutableString message) : base(RubyExceptions.MakeMessage(ref message, M)) { RubyExceptionData.InitializeException(this, message); } + +#if !SILVERLIGHT + protected SSLError(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) { } +#endif + } + } } } =================================================================== edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Zlib/zlib.cs;C1546541 File: zlib.cs =================================================================== --- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Zlib/zlib.cs;C1546541 (server) 2/11/2010 12:23 AM +++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Zlib/zlib.cs;rails @@ -107,6 +107,29 @@ #endregion +#if !SILVERLIGHT + [RubyMethod("crc32", RubyMethodAttributes.PublicSingleton, BuildConfig = "!SILVERLIGHT")] + public static int GetCrc(RubyModule/*!*/ self) { + return 0; + } + + [RubyMethod("crc32", RubyMethodAttributes.PublicSingleton, BuildConfig = "!SILVERLIGHT")] + public static object GetCrc(RubyModule/*!*/ self, [Optional, DefaultProtocol]MutableString str, [Optional]int initialCrc) { + byte[] bytes; + if (str == null) { + bytes = new byte[0]; + } else { + bytes = str.ToByteArray(); + } + uint result = Deflate.ZDeflateStream.UpdateCrc(unchecked((uint)initialCrc), bytes, 0, bytes.Length); + if (result > Int32.MaxValue) { + return Microsoft.Scripting.Math.BigInteger.Create(result); + } else { + return (int)result; + } + } +#endif + #region ZStream class [RubyClass("ZStream")] @@ -933,7 +956,7 @@ /// /// Adds a 2 byte header, and a 4 byte adler checksum footer. /// - class ZDeflateStream : DeflateStream { + internal class ZDeflateStream : DeflateStream { private long _size; private uint _crc; private bool _leaveOpen; @@ -975,7 +998,7 @@ } // See RFC1950 for details. http://www.faqs.org/rfcs/rfc1950.html - private static uint UpdateCrc(uint crc, byte[] buffer, int offset, int length) { + internal static uint UpdateCrc(uint crc, byte[] buffer, int offset, int length) { crc ^= 0xffffffffU; while (--length >= 0) { crc = crcTable[(crc ^ buffer[offset++]) & 0xFF] ^ (crc >> 8); =================================================================== edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Tests/Scripts/utr/active_record_tests.rb;C1570153 File: active_record_tests.rb =================================================================== --- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Tests/Scripts/utr/active_record_tests.rb;C1570153 (server) 2/9/2010 4:08 PM +++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Tests/Scripts/utr/active_record_tests.rb;rails @@ -49,7 +49,7 @@ ensure_database_exists "activerecord_unittest" ensure_database_exists "activerecord_unittest2" - + # Load helper files require "#{sqlserver_adapter_root_dir}/test/cases/aaaa_create_tables_test_sqlserver" # Overwrite ACTIVERECORD_TEST_ROOT since aaaa_create_tables_test_sqlserver assumes a specific folder layout @@ -78,9 +78,13 @@ sanity_size(85) end - # Provide dummy implementation for the missing Zlib.crc32 for now - require "zlib" - Zlib.class_eval { def self.crc32(o) h = o.to_str.hash; h < 0 ? -h : h end } + # Work-around for http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3913 + String.class_eval do + alias :old_tr :tr + def tr(*args) + old_tr(*args).dup # Create a new string which will have the correct hashcode + end + end def disable_critical_failures # If this test executes, all subsequent tests start failing during setup with an exception @@ -138,32 +142,6 @@ # d:/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/Ruby/ruby-1.8.6p368/lib/ruby/gems/1.8/gems/test-unit-2.0.5/lib/test/unit/testsuite.rb:37:in `run' :test_storing_in_pstore - disable AttributeMethodsTest, - # exception expected but was - # Class: - # Message: <"wrong number of arguments (3 for 1)"> - # ---Backtrace--- - # attribute_methods.rb:232:in `method_missing' - # d:/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/tests/RailsTests-2.3.5/activerecord/test/cases/attribute_methods_test.rb:268:in `test_question_attributes_respect_access_control' - # assertions.rb:49:in `assert_b - :test_question_attributes_respect_access_control, - # exception expected but was - # Class: - # Message: <"wrong number of arguments (3 for 1)"> - # ---Backtrace--- - # attribute_methods.rb:232:in `method_missing' - # d:/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/tests/RailsTests-2.3.5/activerecord/test/cases/attribute_methods_test.rb:248:in `test_read_attributes_respect_access_control' - # assertions.rb:49:in `assert_block - :test_read_attributes_respect_access_control, - # exception expected but was - # Class: - # Message: <"wrong number of arguments (3 for 1)"> - # ---Backtrace--- - # attribute_methods.rb:232:in `method_missing' - # d:/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/tests/RailsTests-2.3.5/activerecord/test/cases/attribute_methods_test.rb:258:in `test_write_attributes_respect_access_control' - # assertions.rb:49:in `assert_bloc - :test_write_attributes_respect_access_control - disable BasicsTest, # is not true. :test_array_to_xml_including_belongs_to_association, @@ -186,15 +164,6 @@ # <"2004-04-15 00:00:00">. :test_to_xml - disable BelongsToAssociationsTest, - # exception expected but was - # Class: - # Message: <"wrong number of arguments (3 for 1)"> - # ---Backtrace--- - # attribute_methods.rb:232:in `method_missing' - # d:/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/IronRuby/tests/RailsTests-2.3.5/activerecord/test/cases/associations/belongs_to_associations_test.rb:401:in `test_belongs_to_proxy_should_not_respond_to_private_methods - :test_belongs_to_proxy_should_not_respond_to_private_methods - disable BinaryTest, # Reloaded data differs from original. # <"\377\330\377\340\000\020JFIF\000\001\001\001\000H\000H\000\000\377\333\000C\000\r\t\t\n\n\n\016\v\v\016\024\r\v\r\024\027\021\016\016\021\027\e\025\025\025\025\025\e\e\025\027\027\027\027\025\e\032\036 ! \036\032''**''555556666666666\377\333\000C\001\016\r\r\021\021\021\027\021\021\027\027\023\024\023\027\035\031\032\032\031\035&\035\035\036\035\035&,$ $,(+ @@ -286,23 +255,6 @@ # ? ++++ + ^^ ^ :test_partial_update - disable EagerAssociationTest, - # NoMethodError: undefined method `[]' for nil:NilClass - # fixtures.rb:882:in `setup_fixture_accessors' - # D:\vs_langs01_s\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:83:in `b__3' - # D:\vs_langs01_s\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Extensions\IListOps.cs:834:in `each' - :test_eager_load_belongs_to_quotes_table_and_column_names, - # NoMethodError: undefined method `[]' for nil:NilClass - # fixtures.rb:882:in `setup_fixture_accessors' - # D:\vs_langs01_s\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:83:in `b__3' - # D:\vs_langs01_s\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Extensions\IListOps.cs:834:in `each' - :test_eager_load_has_many_quotes_table_and_column_names, - # NoMethodError: undefined method `[]' for nil:NilClass - # fixtures.rb:882:in `setup_fixture_accessors' - # D:\vs_langs01_s\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\Enumerable.cs:83:in `b__3' - # D:\vs_langs01_s\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Extensions\IListOps.cs:834:in `each' - :test_eager_load_has_one_quotes_table_and_column_names - disable FinderTest, # expected to be kind_of? #