# # test/unit/bio/io/test_soapwsdl.rb - Unit test for SOAP/WSDL # # Copytight:: Copyright (C) 2005 Mitsuteru Nakao # License:: The Ruby License # # $Id: test_soapwsdl.rb,v 1.3 2007/04/05 23:35:43 trevor Exp $ # 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) end end end