1.8.7 RSS test failure


#1

e$BKNIt$G$9!#$A$g$C$H$4AjCL!#e(B

1.8.7e$B$r%j%j!<%9$G$-$F$J$$M}M3$N0l$D$Ke(BRSSe$B$N%F%9%H$,DL$i$J$$$+$i$H$$$&$N$,$"$j$^$9e(B(e$B2<5-e(B)e$B!#e(B
e$B$3$l$Oe(B1.8.8deve$B$+$i%F%9%H$@$1;}$C$F$-$?$+$i$J$N$G!"$J$s$i$+BP1~$7$J$$$H$$$1$J$$$N$G$9$,!“e(B
(1)
e$B$3$N%F%9%H$,@5$7$/$Fe(B1.8.7e$B$N5sF0$O8m$j$J$N$G$7$g$&$+!”$=$l$H$be(B
(2)
1.8.7e$B$O8m$j$H$O8@$($:!"%F%9%H$re(Breverte$B$9$Y$-$J$N$G$7$g$&$+!#e(B

e$BH=CG$D$$$F$J$$$N$G$CN7C$r$<Z$j$7$?$/!#$h$m$7$/$*4j$$$7$^$9!#e(B

zsh % make test-all TESTS=rss
./miniruby -I/home/shyouhei/ruby/branches/ruby_1_8_7/lib -I.ext/common
-I./- -r/home/shyouhei/ruby/branches/ruby_1_8_7/ext/purelib.rb
/home/shyouhei/ruby/branches/ruby_1_8_7/runruby.rb --extout=.ext –
“/home/shyouhei/ruby/branches/ruby_1_8_7/test/runner.rb”
–basedir="/home/shyouhei/ruby/branches/ruby_1_8_7/test"
–runner=console rss
Loaded suite rss
Started
…F…F…F…
Finished in 28.22949 seconds.

  1. Failure:
    test_atom_content(RSS::TestAtomCore)
    [/home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:910:in
    assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:895:inassert_rexml_element’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:652:in
    assert_atom_content_inline_other_base64_to_s' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:643:inassert_atom_content_inline_other_base64_to_s’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:604:in
    assert_atom_content_to_s' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:600:inassert_atom_content_to_s’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_atom.rb:205:in
    `test_atom_content’]:
    <“iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/AAX+Av7czFnnAAAAAElFTkSuQmCC”>
    expected but was
    <“iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABI\nAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/\nAAX+Av7czFnnAAAAAElFTkSuQmCC\n”>.

  2. Failure:
    test_entry_content_text(RSS::TestParserAtom)
    [/home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:910:in
    assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:895:inassert_rexml_element’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:591:in
    assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:569:ineach’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:569:in
    assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:559:inassert_atom_content_inline_other_text’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:553:in
    assert_atom_content_inline_other' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:552:inassert_atom_content_inline_other’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:459:in
    assert_atom_content' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:456:inassert_atom_content’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_parser_atom_entry.rb:100:in
    `test_entry_content_text’]:
    <“iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/AAX+Av7czFnnAAAAAElFTkSuQmCC”>
    expected but was
    <“iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABI\nAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/\nAAX+Av7czFnnAAAAAElFTkSuQmCC\n”>.

  3. Failure:
    test_entry_content(RSS::TestParserAtomFeed)
    [/home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:910:in
    assert_rexml_element' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:895:inassert_rexml_element’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:591:in
    assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:569:ineach’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:569:in
    assert_atom_content_inline_other_text' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:559:inassert_atom_content_inline_other_text’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:553:in
    assert_atom_content_inline_other' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:552:inassert_atom_content_inline_other’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:459:in
    assert_atom_content' /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/rss-assertions.rb:456:inassert_atom_content’
    /home/shyouhei/ruby/branches/ruby_1_8_7/test/rss/test_parser_atom_feed.rb:147:in
    `test_entry_content’]:
    <“iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/AAX+Av7czFnnAAAAAElFTkSuQmCC”>
    expected but was
    <“iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAABI\nAAAASABGyWs+AAAACXZwQWcAAAABAAAAAQDHlV/tAAAADElEQVQI12P4//8/\nAAX+Av7czFnnAAAAAElFTkSuQmCC\n”>.

285 tests, 4764 assertions, 3 failures, 0 errors
make: *** [test-all] Error 1
zsh: exit 2 make test-all TESTS=rss


#2

e$B?\F#$G$9!#e(B

2009/04/02 11:40 Urabe S. removed_email_address@domain.invalid:

1.8.7e$B$r%j%j!<%9$G$-$F$J$$M}M3$N0l$D$Ke(BRSSe$B$N%F%9%H$,DL$i$J$$$+$i$H$$$&$N$,$"$j$^$9e(B(e$B2<5-e(B)e$B!#e(B
e$B$3$l$Oe(B1.8.8deve$B$+$i%F%9%H$@$1;}$C$F$-$?$+$i$J$N$G!"$J$s$i$+BP1~$7$J$$$H$$$1$J$$$N$G$9$,!“e(B
(1) e$B$3$N%F%9%H$,@5$7$/$Fe(B1.8.7e$B$N5sF0$O8m$j$J$N$G$7$g$&$+!”$=$l$H$be(B
(2) 1.8.7e$B$O8m$j$H$O8@$($:!"%F%9%H$re(Breverte$B$9$Y$-$J$N$G$7$g$&$+!#e(B

Atome$B$G$Oe(BBase64e$B$N%G!<%?Fb$K2~9T$,F~$C$F$be(BOKe$B$J$N$G!"<BAu$b%F%9%H$b$I$A$i$be(BAtome$BE*$K$O@5e(B
e$B$7$$CM$G$9!#$J$N$G!"e(BAtome$BE*$K$O%F%9%H$,2~9T$rL5;k$9$k$h$&$K$b$&>/$742MF$K$J$k$N$,$h$$$He(B
e$B;W$$$^$9!#$?$@!"e(BRSS
Parsere$B$N%F%9%H$H$7$F$O!"8=:_$N$h$&$K$I$A$i$+0lJ}$r7h$aBG$A$G$h$$$H;We(B
e$B$$$^$9!#e(B

e$B$H$$$&$3$H$G!“e(B
(3)
r14303e$B$Ne(Blib/rss/e$B0J2<$NItJ,$rE,MQ$7!”%F%9%H$,4|BT$7$F$$$k$h$&$K2~9T$N$J$$e(BBase64e$B$N%G!<%?$re(B
e$BJV$9$h$&$K$9$k!J<BAu$N5sF0$rJQ$($ke(B:
e$B2~9TL5$7e(BBase64e$B!Ke(B
(4) e$B%F%9%H$G2~9T$r:o=|$7$J$$$h$&$K$9$k!J<BAu$N5sF0$OJQ$($J$$e(B:
e$B2~9TIU$-e(BBase64e$B!Ke(B
e$B$N$I$A$i$+$,$h$$$H;W$$$^$9!#e(B

Index: test/rss/rss-assertions.rb

— test/rss/rss-assertions.rb (revision 23116)
+++ test/rss/rss-assertions.rb (working copy)
@@ -564,7 +564,7 @@

     png_file = File.join(File.dirname(__FILE__), "dot.png")
     png = File.open(png_file, "rb") {|file| file.read}
  •    base64_content = [png].pack("m").delete("\n")
    
  •    base64_content = [png].pack("m")
    
       [false, true].each do |with_space|
         xml_content = base64_content
    

e$B8D?ME*$K$Oe(B(4)e$B$,$h$$$H;W$$$^$9!#e(B


#3

e$BKNIt$G$9!#e(B

Kouhei S. e$B$5$s$O=q$-$^$7$?e(B:

Atome$B$G$Oe(BBase64e$B$N%G!<%?Fb$K2~9T$,F~$C$F$be(BOKe$B$J$N$G!"<BAu$b%F%9%H$b$I$A$i$be(BAtome$BE*$K$O@5e(B
e$B$7$$CM$G$9!#$J$N$G!"e(BAtome$BE*$K$O%F%9%H$,2~9T$rL5;k$9$k$h$&$K$b$&>/$742MF$K$J$k$N$,$h$$$He(B
e$B;W$$$^$9!#$?$@!"e(BRSS Parsere$B$N%F%9%H$H$7$F$O!"8=:_$N$h$&$K$I$A$i$+0lJ}$r7h$aBG$A$G$h$$$H;We(B
e$B$$$^$9!#e(B

e$B$H$$$&$3$H$G!“e(B
(3) r14303e$B$Ne(Blib/rss/e$B0J2<$NItJ,$rE,MQ$7!”%F%9%H$,4|BT$7$F$$$k$h$&$K2~9T$N$J$$e(BBase64e$B$N%G!<%?$re(B
e$BJV$9$h$&$K$9$k!J<BAu$N5sF0$rJQ$($ke(B: e$B2~9TL5$7e(BBase64e$B!Ke(B
(4) e$B%F%9%H$G2~9T$r:o=|$7$J$$$h$&$K$9$k!J<BAu$N5sF0$OJQ$($J$$e(B: e$B2~9TIU$-e(BBase64e$B!Ke(B
e$B$N$I$A$i$+$,$h$$$H;W$$$^$9!#e(B

e$B$"$j$,$H$&$4$6$$$^$9!#$G$O!"$$$?$@$$$?%Q%C%A$r:NMQ$9$k$3$H$K$7$^$9!#e(B