Sha256: 639c4e9c1b295ff140b817a40eca991fc5c8c8ac7fd263c127606c714365f966
Contents?: true
Size: 756 Bytes
Versions: 5
Compression:
Stored size: 756 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:$ # # loading helper routine for testing bioruby require 'pathname' load Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 3, 'bioruby_test_helper.rb')).cleanpath.to_s # libraries needed for the tests 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
5 entries across 5 versions & 1 rubygems