[Quickfix-developers] Ruby DataDictionaryTestCase failing...
Brought to you by:
orenmnero
From: Kevin K. <kyk...@gm...> - 2010-03-10 23:55:27
|
I haven't dug too deep, but I believe the SWIG mappings are incorrect in QuickfixRuby.cpp It appears the quickfix_ruby.rb wraps the C++ code (based on different number of arguments). I'm going to look at it later, but thought I'd post, in case someone has already seen/fixed this. Thanks, -kevin (results of test case below) Started E.E.....E..E. Finished in 0.016633 seconds. 1) Error: test_addFieldName(DataDictionaryTestCase): NoMethodError: undefined method `_getFieldName' for #<Quickfix::DataDictionary:0x19da868> ../../lib/ruby/quickfix_ruby.rb:13:in `getFieldName' ./test/DataDictionaryTestCase.rb:118:in `test_addFieldName' 2) Error: test_addGroup(DataDictionaryTestCase): NoMethodError: undefined method `_getGroup' for #<Quickfix::DataDictionary:0x19d721c> ../../lib/ruby/quickfix_ruby.rb:37:in `getGroup' ./test/DataDictionaryTestCase.rb:98:in `test_addGroup' 3) Error: test_addValueName(DataDictionaryTestCase): NoMethodError: undefined method `_getValueName' for #<Quickfix::DataDictionary:0x19cfa08> ../../lib/ruby/quickfix_ruby.rb:22:in `getValueName' ./test/DataDictionaryTestCase.rb:133:in `test_addValueName' 4) Error: test_checkIsInMessage(DataDictionaryTestCase): NoMethodError: undefined method `field' for Quickfix::Symbol:Class ./test/DataDictionaryTestCase.rb:200:in `test_checkIsInMessage' 13 tests, 43 assertions, 0 failures, 4 errors |