Sha256: 45a8b2eaca73d770705659ac267ebb5e0a9b8053091b127c4104f45f1bf4e5ae
Contents?: true
Size: 685 Bytes
Versions: 14
Compression:
Stored size: 685 Bytes
Contents
# # test/unit/bio/io/test_soapwsdl.rb - Unit test for SOAP/WSDL # # Copytight:: Copyright (C) 2005 Mitsuteru Nakao <n@bioruby.org> # License:: The Ruby License # # $Id:$ # require 'pathname' libpath = Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 4, 'lib')).cleanpath.to_s $:.unshift(libpath) unless $:.include?(libpath) require 'test/unit' require 'bio/io/soapwsdl' module Bio class TestSOAPWSDL < Test::Unit::TestCase def setup @obj = Bio::SOAPWSDL end def test_methods methods = ['list_methods','wsdl', 'wsdl=', 'log', 'log='] assert_equal(methods.sort, (@obj.instance_methods - Object.methods).sort.collect { |x| x.to_s }) end end end
Version data entries
14 entries across 14 versions & 4 rubygems