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

Naohisa Goto ngoto at dev.open-bio.org
Fri May 9 02:32:47 UTC 2008


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

Modified Files:
      Tag: BRANCH-biohackathon2008
	test_xmlparser.rb 
Log Message:
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.7.2.1
diff -C2 -d -r1.7 -r1.7.2.1
*** test_xmlparser.rb	5 Apr 2007 23:35:43 -0000	1.7
--- test_xmlparser.rb	9 May 2008 02:32:44 -0000	1.7.2.1
***************
*** 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