# Trunk/test/test\_time.rb

**URL:** <https://www.ruby-forum.com/t/trunk-test-test-time-rb/112394>\
**Category:** Development\
**Created:** [August 18, 2007, 9:56am UTC](https://www.ruby-forum.com/t/trunk-test-test-time-rb/112394 "2007-08-18T09:56:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SASADA\_Koichi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f1d935/32.png) [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Post date:** [August 18, 2007, 9:56am UTC](https://www.ruby-forum.com/t/trunk-test-test-time-rb/112394/1 "2007-08-18T09:56:29Z")

</div>

e$B!!$5$5$@$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:in`make\_time’  
/home/ko1/ruby/trunk/lib/time.rb:243:in `parse' /home/ko1/ruby/trunk/lib/time.rb:648:in`test\_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:in`make\_time’  
/home/ko1/ruby/trunk/lib/time.rb:243:in `parse' /home/ko1/ruby/trunk/lib/time.rb:732:in`test\_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:in`each’  
/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:in`assert\_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:in`block  
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:in`test\_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:in`each’  
/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:in`assert\_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:in`each’  
/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:in`assert\_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:in`each’  
/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:in`assert\_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:in`block  
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:in`test\_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

---

<div class="post-metadata">

**Author:** ![SASADA\_Koichi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f1d935/32.png) [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Post date:** [August 18, 2007, 10:04am UTC](https://www.ruby-forum.com/t/trunk-test-test-time-rb/112394/2 "2007-08-18T10:04:30Z")

</div>

In article [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid),  
SASADA Koichi [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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$=$&$@$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] e$B$K$h$j@55,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

---

<div class="post-metadata">

**Author:** ![SASADA\_Koichi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f1d935/32.png) [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Post date:** [August 18, 2007, 11:40am UTC](https://www.ruby-forum.com/t/trunk-test-test-time-rb/112394/3 "2007-08-18T11:40:36Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
writes:

|e$B$U$J$P$5$s$ND4::e(B [ruby-dev:31309] e$B$K$h$j@55,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$“$”!“$^$@\>.Gw$5$s$K%a!\<%k=q$$$F$J$$!#%G%P%C%,$GDI$$$+$1$?7ke(B  
e$B2L!”\<+NO$G$O$h$/2r7h$G$-$=$&$K$J$$$H8@$&$H$3$m$^$G$OJ,$+$j$^e(B  
e$B$7$?!#e(B(e$B5ce(B
