Trunk/test/test_time.rb

[email protected]$G$9!#e(B

e$B!!e(Btest_time.rb
e$B$G0J2<$N$h$&$J%(%i!<$,=P$k$s$G$9$,!"$I$&$7$?$b$s$Ge(B
e$B$7$g$&$+!#e(B

$ make ruby test-all TESTS=’-v test_time’

(snip)

  1. Error:
    test_completion(TimeExtentionTest):
    ArgumentError: argument out of range
    /home/ko1/ruby/trunk/lib/time.rb:184:in local' /home/ko1/ruby/trunk/lib/time.rb:184:inmake_time’
    /home/ko1/ruby/trunk/lib/time.rb:243:in parse' /home/ko1/ruby/trunk/lib/time.rb:648:intest_completion’

  2. Error:
    test_parse_leap_second(TimeExtentionTest):
    ArgumentError: argument out of range
    /home/ko1/ruby/trunk/lib/time.rb:184:in local' /home/ko1/ruby/trunk/lib/time.rb:184:inmake_time’
    /home/ko1/ruby/trunk/lib/time.rb:243:in parse' /home/ko1/ruby/trunk/lib/time.rb:732:intest_parse_leap_second’

  3. Failure:
    test_rfc2616(TimeExtentionTest) [/home/ko1/ruby/trunk/lib/time.rb:530]:
    <1994-11-06 08:49:37 UTC> expected but was
    <2007-08-06 08:49:37 +0900>.

  4. Failure:
    test_zone_0000(TimeExtentionTest)
    [/home/ko1/ruby/trunk/lib/time.rb:718]:
    expected but was
    .

e$B!!4XO"$7$F$+!"e(Brss e$B$G$bF1MM$N%(%i!<$,=P$^$9!#e(B

$ make ruby test-all TESTS=’-v rss’

  1. Failure:
    test_entry(RSS::TestParserAtom)
    [/home/ko1/ruby/trunk/test/rss/test_parser_atom_entry.rb:81]:
    <2003-12-13 18:30:02 +0900> expected but was
    <2003-12-13 18:30:02 UTC>.

  2. Failure:
    test_entry_source(RSS::TestParserAtom)
    [/home/ko1/ruby/trunk/test/rss/rss-assertions.rb:432:in block (2 levels) in assert_atom_date_construct' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:420:ineach’
    /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:420:in block in assert_atom_date_construct' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:391:inassert_atom_date_construct’
    /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:797:in
    assert_atom_source_updated' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:717:inblock
    in assert_atom_source’
    /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:705:in
    assert_atom_source' /home/ko1/ruby/trunk/test/rss/test_parser_atom_entry.rb:140:intest_entry_source’]:
    <2003-12-13 18:30:02 +0900> expected but was
    <2003-12-13 18:30:02 UTC>.

  3. Failure:
    test_entry_updated(RSS::TestParserAtom)
    [/home/ko1/ruby/trunk/test/rss/test_parser_atom_entry.rb:160]:
    <2003-12-13 18:30:02 +0900> expected but was
    <2003-12-13 18:30:02 UTC>.

  4. Failure:
    test_published(RSS::TestParserAtom)
    [/home/ko1/ruby/trunk/test/rss/rss-assertions.rb:432:in block (2 levels) in assert_atom_date_construct' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:420:ineach’
    /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:420:in block in assert_atom_date_construct' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:391:inassert_atom_date_construct’
    /home/ko1/ruby/trunk/test/rss/test_parser_atom_entry.rb:126:in
    `test_published’]:
    <2003-12-13 18:30:02 +0900> expected but was
    <2003-12-13 18:30:02 UTC>.

  5. Failure:
    test_entry_published(RSS::TestParserAtomFeed)
    [/home/ko1/ruby/trunk/test/rss/rss-assertions.rb:432:in block (2 levels) in assert_atom_date_construct' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:420:ineach’
    /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:420:in block in assert_atom_date_construct' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:391:inassert_atom_date_construct’
    /home/ko1/ruby/trunk/test/rss/test_parser_atom_feed.rb:262:in
    `test_entry_published’]:
    <2003-12-13 18:30:02 +0900> expected but was
    <2003-12-13 18:30:02 UTC>.

  6. Failure:
    test_entry_source(RSS::TestParserAtomFeed)
    [/home/ko1/ruby/trunk/test/rss/rss-assertions.rb:432:in block (2 levels) in assert_atom_date_construct' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:420:ineach’
    /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:420:in block in assert_atom_date_construct' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:391:inassert_atom_date_construct’
    /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:797:in
    assert_atom_source_updated' /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:717:inblock
    in assert_atom_source’
    /home/ko1/ruby/trunk/test/rss/rss-assertions.rb:705:in
    assert_atom_source' /home/ko1/ruby/trunk/test/rss/test_parser_atom_feed.rb:227:intest_entry_source’]:
    <2003-12-13 18:30:02 +0900> expected but was
    <2003-12-13 18:30:02 UTC>.

  7. Failure:
    test_entry_updated(RSS::TestParserAtomFeed)
    [/home/ko1/ruby/trunk/test/rss/test_parser_atom_feed.rb:257]:
    <2003-12-13 18:30:02 +0900> expected but was
    <2003-12-13 18:30:02 UTC>.

  8. Failure:
    test_feed_updated(RSS::TestParserAtomFeed)
    [/home/ko1/ruby/trunk/test/rss/test_parser_atom_feed.rb:252]:
    <2003-12-13 18:30:02 +0900> expected but was
    <2003-12-13 18:30:02 UTC>.

266 tests, 4246 assertions, 8 failures, 0 errors

In article [email protected],
SASADA Koichi [email protected] writes:

e$B!!e(Btest_time.rb e$B$G0J2<$N$h$&$J%(%i!<$,=P$k$s$G$9$,!"$I$&$7$?$b$s$Ge(B
e$B$7$g$&$+!#e(B

$ make ruby test-all TESTS=’-v test_time’

e$BA4It$=$&[email protected]$C$?$+$I$&$+$O3P$($F$^$;$s$,!">/$J$/$H$b$R$H$D$OD4e(B
e$B$Y$F!“e(B[ruby-dev:31292] e$B$r=q$$$?5-21$,$”$j$^$9!#e(B

e$B$U$J$P$5$s$ND4::e(B [ruby-dev:31309] [email protected],I=8=%(%s%8%s$NOCe(B
e$B$G$"$k$3$H$,$o$+$j!"$^$D$b$H$5$s$,EXNOCfe(B [ruby-dev:31363] e$B$He(B
e$BG’<1$7$F$$$^$9!#e(B

e$B$=$C$A$,$I$&$K$+$J$C$F$b$&$^$/$$$+$J$+$C$?$i$^$?D4$Y$h$&$H;W$Ce(B
e$B$F$$$^$9!#e(B

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:31483] Re: trunk/test/test_time.rb”
on Sat, 18 Aug 2007 17:03:49 +0900, Tanaka A. [email protected]
writes:

|e$B$U$J$P$5$s$ND4::e(B [ruby-dev:31309] [email protected],I=8=%(%s%8%s$NOCe(B
|e$B$G$"$k$3$H$,$o$+$j!"$^$D$b$H$5$s$,EXNOCfe(B [ruby-dev:31363] e$B$He(B
|e$BG’<1$7$F$$$^$9!#e(B

e$B$"$"!"$^[email protected]>.Gw$5$s$K%a!<%k=q$$$F$J$$!#%G%P%C%,$GDI$$$+$1$?7ke(B
e$B2L!"<+NO$G$O$h$/2r7h$G$-$=$&[email protected]$&$H$3$m$^$G$OJ,$+$j$^e(B
e$B$7$?!#e(B(e$B5ce(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs