[BioRuby-cvs] bioruby/test/unit/bio/appl/blast test_xmlparser.rb, 1.7, 1.8

Naohisa Goto ngoto at dev.open-bio.org
Mon May 12 12:01:22 UTC 2008


Update of /home/repository/bioruby/bioruby/test/unit/bio/appl/blast
In directory dev.open-bio.org:/tmp/cvs-serv4624/test/unit/bio/appl/blast

Modified Files:
	test_xmlparser.rb 
Log Message:
Same changes as 1.7 to 1.7.2.1 in BRANCH-biohackathon2008:
Bug fix: tests in test/unit/bio/appl/blast/test_report.rb was ignored because
of conflicts of test classes' names (TestBlastReport, etc.). The class names
in test/unit/bio/appl/blast/test_xmlparser.rb is changed because it contains
less assertions than that of test_report.rb.


Index: test_xmlparser.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/appl/blast/test_xmlparser.rb,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** test_xmlparser.rb	5 Apr 2007 23:35:43 -0000	1.7
--- test_xmlparser.rb	12 May 2008 12:01:20 -0000	1.8
***************
*** 16,20 ****
  
  
! module Bio
    class TestBlastFormat7XMLParserData
      bioruby_root = Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 5)).cleanpath.to_s
--- 16,20 ----
  
  
! module Bio::TestBlastXMLParser
    class TestBlastFormat7XMLParserData
      bioruby_root = Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 5)).cleanpath.to_s
***************
*** 36,40 ****
  
      def setup
!       @report = Bio::Blast::Report.new(Bio::TestBlastFormat7XMLParserData.output)
      end
      
--- 36,40 ----
  
      def setup
!       @report = Bio::Blast::Report.new(TestBlastFormat7XMLParserData.output)
      end
      
***************
*** 188,192 ****
    class TestBlastReportHit < Test::Unit::TestCase
      def setup
!       data = Bio::TestBlastFormat7XMLParserData.output
        report = Bio::Blast::Report.new(data)
        @hit = report.hits.first
--- 188,192 ----
    class TestBlastReportHit < Test::Unit::TestCase
      def setup
!       data = TestBlastFormat7XMLParserData.output
        report = Bio::Blast::Report.new(data)
        @hit = report.hits.first
***************
*** 293,297 ****
    class TestBlastReportHsp < Test::Unit::TestCase
      def setup
!       data = Bio::TestBlastFormat7XMLParserData.output
        report = Bio::Blast::Report.new(data)
        @hsp = report.hits.first.hsps.first
--- 293,297 ----
    class TestBlastReportHsp < Test::Unit::TestCase
      def setup
!       data = TestBlastFormat7XMLParserData.output
        report = Bio::Blast::Report.new(data)
        @hsp = report.hits.first.hsps.first




More information about the bioruby-cvs mailing list