[BioRuby-cvs] bioruby/test/unit/bio/db test_gff.rb,1.2,1.3

Katayama Toshiaki k at pub.open-bio.org
Sun Dec 18 13:04:33 EST 2005


Update of /home/repository/bioruby/bioruby/test/unit/bio/db
In directory pub.open-bio.org:/tmp/cvs-serv30193/test/unit/bio/db

Modified Files:
	test_gff.rb 
Log Message:
* fixed Errors and Failures


Index: test_gff.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/db/test_gff.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_gff.rb	23 Nov 2005 11:29:16 -0000	1.2
--- test_gff.rb	18 Dec 2005 18:04:31 -0000	1.3
***************
*** 55,59 ****
    class TestGFF2 < Test::Unit::TestCase
      def test_version
!       assert_equal(2, Bio::GFF2::VERSION)
      end
    end
--- 55,59 ----
    class TestGFF2 < Test::Unit::TestCase
      def test_version
!       assert_equal(2, Bio::GFF::GFF2::VERSION)
      end
    end
***************
*** 62,66 ****
    class TestGFF3 < Test::Unit::TestCase
      def test_version
!       assert_equal(3, Bio::GFF3::VERSION)
      end
    end
--- 62,66 ----
    class TestGFF3 < Test::Unit::TestCase
      def test_version
!       assert_equal(3, Bio::GFF::GFF3::VERSION)
      end
    end
***************
*** 109,118 ****
  
      def test_attributes
!       at = {"Note"=>"Chromosome I Centromere", "Gene"=>"CEN1"}
        assert_equal(at, @obj.attributes)
      end
  
      def test_comments
!       assert_equal('', @obj.comments)
      end
  
--- 109,118 ----
  
      def test_attributes
!       at = {"Note"=>'"Chromosome I Centromere"', "Gene"=>'"CEN1"'}
        assert_equal(at, @obj.attributes)
      end
  
      def test_comments
!       assert_equal(nil, @obj.comments)
      end
  
***************
*** 128,132 ****
      def test_add_seqname
        name = "test"
!       record = Bio::GFF::Record.new
        record.seqname = name
        @obj.records << record
--- 128,132 ----
      def test_add_seqname
        name = "test"
!       record = Bio::GFF::Record.new("")
        record.seqname = name
        @obj.records << record



More information about the bioruby-cvs mailing list