See http://river.suse.de/job/yast-ruby-bindings-master/50/changes
Changes:
[Josef Reidinger] improve usability of terms in new code
[Josef Reidinger] changes
[Josef Reidinger] improve documentation of delegated methods
------------------------------------------
[...truncated 1246 lines...]
[ 110s] 8: tests is shortcut
[ 110s] 8: Ops.get
[ 110s] 8: when the container is a map
[ 110s] 8: returns value if key exists
[ 110s] 8: supports nested access with list of keys
[ 110s] 8: returns default if any key is not available
[ 110s] 8: support blocks for default where it return result of block
[ 110s] 8: when the container is a list
[ 110s] 8: returns value if key exists
[ 110s] 8: supports nested access with list of keys
[ 110s] 8: returns default value when indexing with a non-integer
[ 110s] 8: returns default value for too many indices
[ 110s] 8: when the container is a term
[ 110s] 8: returns value if key exists
[ 110s] 8: returns default if FIXME
[ 110s] 8: when the container is heterogeneous
[ 110s] 8: supports nested access with list of keys
[ 110s] 8: returns default if any key is not available
[ 110s] 8: Ops.get_foo shortcuts
[ 110s] 8: returns .get result for a matching type
[ 110s] 8: returns nil for a mismatching type
[ 110s] 8: warns when the container is nil
[ 110s] 8: reports the right location when warning
[ 110s] 8:
[ 110s] 8: Finished in 0.02511 seconds
[ 110s] 8: 45 examples, 0 failures
[ 110s] 8/13 Test #8: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/ops_spec.rb ............... Passed 0.38 sec
[ 110s] test 9
[ 110s] Start 9: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/i18n_spec.rb
[ 110s]
[ 110s] 9: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/i18n_spec.rb"
[ 110s] 9: Test timeout computed to be: 9.99988e+06
[ 110s] 9:
[ 110s] 9: Yast::I18n
[ 110s] 9: .N_
[ 110s] 9: returns the original parameter
[ 110s] 9: .Nn_
[ 110s] 9: returns the original parameters
[ 110s] 9:
[ 110s] 9: Finished in 0.0038 seconds
[ 110s] 9: 2 examples, 0 failures
[ 110s] 9/13 Test #9: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/i18n_spec.rb .............. Passed 0.36 sec
[ 110s] test 10
[ 110s] Start 10: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/term_spec.rb
[ 110s]
[ 110s] 10: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/term_spec.rb"
[ 110s] 10: Test timeout computed to be: 9.99988e+06
[ 110s] 10:
[ 110s] 10: Yast::Term
[ 110s] 10: .new
[ 110s] 10: with single parameter
[ 110s] 10: sets value to parameter
[ 110s] 10: have empty params
[ 110s] 10: with more parameters
[ 110s] 10: set all parameters except first one to params array
[ 110s] 10: #[]=
[ 110s] 10: updates inplace parameters
[ 110s] 10: #[]
[ 110s] 10: returns elements from params on given index
[ 110s] 10: #<<
[ 110s] 10: appends parameter to params
[ 110s] 10: comparison
[ 110s] 10: if value and params are equal, then it is equal terms
[ 110s] 10: if value are different then terms are not equal
[ 110s] 10: if params are different then terms are not equal
[ 110s] 10: if value are different then it compare value for comparison
[ 110s] 10: if value is equal, then use params to comparison
[ 110s] 10: #size
[ 110s] 10: returns size of params
[ 110s] 10: #empty?
[ 110s] 10: returns if params are empty
[ 110s] 10: Enumerable
[ 110s] 10: includes enumerable module that iterate over params
[ 110s] 10: #nested_find
[ 110s] 10: returns object passing block even if it is deep in nested terms
[ 110s] 10: returns nil if it doesn't find any matching object
[ 110s] 10:
[ 110s] 10: Finished in 0.01361 seconds
[ 110s] 10: 16 examples, 0 failures
[ 110s] 10/13 Test #10: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/term_spec.rb .............. Passed 0.36 sec
[ 110s] test 11
[ 110s] Start 11: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/path_spec.rb
[ 110s]
[ 110s] 11: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/path_spec.rb"
[ 110s] 11: Test timeout computed to be: 9.99988e+06
[ 111s] 11:
[ 111s] 11: PathTest
[ 111s] 11: tests initialize
[ 111s] 11: tests load from string
[ 111s] 11: tests add
[ 111s] 11: tests equals
[ 111s] 11: tests comparison
[ 111s] 11: tests clone
[ 111s] 11:
[ 111s] 11: Finished in 0.0068 seconds
[ 111s] 11: 6 examples, 0 failures
[ 111s] 11/13 Test #11: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/path_spec.rb .............. Passed 0.29 sec
[ 111s] test 12
[ 111s] Start 12: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/builtins_spec.rb
[ 111s]
[ 111s] 12: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/builtins_spec.rb"
[ 111s] 12: Test timeout computed to be: 9.99988e+06
[ 111s] 12:
[ 111s] 12: BuiltinsTest
[ 111s] 12: tests add
[ 111s] 12: tests add deep copy
[ 111s] 12: tests substring
[ 111s] 12: tests issubstring
[ 111s] 12: tests splitstring
[ 111s] 12: tests mergestring
[ 111s] 12: tests regexpmatch
[ 111s] 12: tests regexppos
[ 111s] 12: tests regexpsub
[ 111s] 12: tests regexptokenize
[ 111s] 12: tests tohexstring
[ 111s] 12: tests timestring
[ 111s] 12: tests tolower
[ 111s] 12: tests toupper
[ 111s] 12: tests toascii
[ 111s] 12: tests size
[ 111s] 12: tests time
[ 111s] 12: tests find string
[ 111s] 12: tests find list
[ 111s] 12: tests contains
[ 111s] 12: tests merge
[ 111s] 12: tests sort
[ 111s] 12: tests toset
[ 111s] 12: tests tostring
[ 111s] 12: tests tostring with precision
[ 111s] 12: tests change
[ 111s] 12: tests isempty
[ 111s] 12: tests srandom
[ 111s] 12: tests tointeger()
[ 111s] 12: tests search
[ 111s] 12: tests haskey
[ 111s] 12: tests lookup
[ 111s] 12: tests filter list
[ 111s] 12: tests filter map
[ 111s] 12: tests each list
[ 111s] 12: tests each map
[ 111s] 12: tests maplist list
[ 111s] 12: tests remove list
[ 111s] 12: tests remove map
[ 111s] 12: tests remove term
[ 111s] 12: tests select
[ 111s] 12: tests union list
[ 111s] 12: tests float abs
[ 111s] 12: tests float ceil
[ 111s] 12: tests float floor
[ 111s] 12: tests float pow
[ 111s] 12: tests float trunc
[ 111s] 12: tests tofloat
[ 111s] 12: tests flatten
[ 111s] 12: tests list reduce 1param
[ 111s] 12: tests list reduce 2params
[ 111s] 12: tests list swap
[ 111s] 12: tests listmap
[ 111s] 12: tests prepend
[ 111s] 12: tests sublist with len
[ 111s] 12: tests sublist without len
[ 111s] 12: tests mapmap
[ 111s] 12: tests random
[ 111s] 12: tests topath
[ 111s] 12: tests sformat
[ 111s] 12: tests findfirstof
[ 111s] 12: tests findfirstnotof
[ 111s] 12: tests findlastof
[ 111s] 12: tests findlastnotof
[ 111s] 12: tests float tolstring
[ 111s] 12: tests crypt
[ 111s] 12: tests lsort
[ 111s] 12: tests eval
[ 111s] 12: tests deletechars
[ 111s] 12: tests filterchars
[ 111s] 12: tests toterm (FAILED - 1)
[ 111s] 12: tests multiset union
[ 111s] 12: tests multiset includes
[ 111s] 12: tests multiset difference
[ 111s] 12: tests multiset symmetric difference
[ 111s] 12: tests multiset intersection
[ 111s] 12: tests multiset union
[ 111s] 12: tests multiset merge
[ 111s] 12: tests deep copy
[ 111s] 12:
[ 111s] 12: Failures:
[ 111s] 12:
[ 111s] 12: 1) BuiltinsTest tests toterm
[ 111s] 12: Failure/Error: expect(Yast::Builtins.toterm(*input)).to eq(res)
[ 111s] 12: ArgumentError:
[ 111s] 12: wrong number of arguments (0 for 1..2)
[ 111s] 12: # /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/src/ruby/yast/builtins.rb:1014:in `toterm'
[ 111s] 12: # /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-3.1.27/tests/ruby/builtins_spec.rb:906:in `block (3 levels) in