Re: [Quickfix-developers] Ruby DataDictionaryTestCase failing...
Brought to you by:
orenmnero
From: <or...@qu...> - 2010-03-11 13:02:24
|
Yeah, I found some other issues with the ruby implementation. I checked in fixes to subversion. All the unit tests pass now. --oren > -------- Original Message -------- > Subject: [Quickfix-developers] Ruby DataDictionaryTestCase failing... > From: Kevin Kim <kyk...@gm...> > Date: Wed, March 10, 2010 5:55 pm > To: qui...@li... > > > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html<hr>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<hr>------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev<hr>_______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |