test/unit/bio/appl/blast/test_xmlparser.rb in bio-0.7.1 vs test/unit/bio/appl/blast/test_xmlparser.rb in bio-1.0.0
- old
+ new
@@ -15,11 +15,11 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# $Id: test_xmlparser.rb,v 1.3 2005/12/18 17:06:56 nakao Exp $
+# $Id: test_xmlparser.rb,v 1.4 2006/02/03 17:21:51 nakao Exp $
#
require 'pathname'
libpath = Pathname.new(File.join(File.join(File.dirname(__FILE__), ['..'] * 5, 'lib'))).cleanpath.to_s
$:.unshift(libpath) unless $:.include?(libpath)
@@ -32,15 +32,15 @@
class TestBlastFormat7XMLParserData
bioruby_root = Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 5)).cleanpath.to_s
TestDataBlast = Pathname.new(File.join(bioruby_root, 'test', 'data', 'blast')).cleanpath.to_s
def self.input
- File.open(File.join(TestDataBlast, 'eco:b0002.faa')).read
+ File.open(File.join(TestDataBlast, 'b0002.faa')).read
end
def self.output
- File.open(File.join(TestDataBlast, 'eco:b0002.faa.m7')).read
+ File.open(File.join(TestDataBlast, 'b0002.faa.m7')).read
end
end
class TestBlastReport < Test::Unit::TestCase
@@ -69,10 +69,10 @@
def test_reference
@report.reference
end
def test_db
- assert_equal("eco:b0002.faa", @report.db)
+ assert_equal("b0002.faa", @report.db)
end
def test_query_id
@report.query_id
end