ktats****@users*****
ktats****@users*****
2013年 11月 12日 (火) 01:53:03 JST
Index: docs/modules/Test-Simple-0.99/lib/Test/More.pod diff -u docs/modules/Test-Simple-0.99/lib/Test/More.pod:1.2 docs/modules/Test-Simple-0.99/lib/Test/More.pod:1.3 --- docs/modules/Test-Simple-0.99/lib/Test/More.pod:1.2 Tue Nov 12 01:30:01 2013 +++ docs/modules/Test-Simple-0.99/lib/Test/More.pod Tue Nov 12 01:53:03 2013 @@ -40,7 +40,7 @@ =end original - # STDERR ã«åºåããããã "# here's what went wrong\n" + # print STDERR "# here's what went wrong\n" ã¨ããããã diag("here's what went wrong"); like ($got, qr/expected/, $test_name); @@ -165,7 +165,7 @@ ããã¤ã®ãã¹ããå®è¡ããããæ¬å½ã«åãããªãæããè¨ç®ããã®ã大å¤ãªæ㫠使ãã¾ãã -ãã®ãããªã±ã¼ã¹ã§ã¯ã$number_of_tests_run ãçããã¨ãã§ãã¾ãã +ãã®ãããªã±ã¼ã¹ã§ã¯ã$number_of_tests_run ãçããã¨ãã§ãã¾ãã =begin original @@ -328,7 +328,7 @@ =end original å ¨ã¦ã®ãã¹ãã®é¢æ°ã¯ãååãå¼æ°ã«ã¨ãã¾ãã -ååã®å¼æ°ã¯ããªãã·ã§ãã«ã§ã¯ããã¾ããã使ããã¨ãå¼·ãæ¨å¥¨ããã¦ãã¾ãã +ååã®å¼æ°ã¯ããªãã·ã§ã³ã§ã¯ããã¾ããã使ããã¨ãå¼·ãæ¨å¥¨ããã¦ãã¾ãã =head2 I'm ok, you're not ok. @@ -935,7 +935,7 @@ =end original -subtest() &code ãããèªèº«ã®è¨ç»ã¨çµæããã¤ããèªèº«å°ããªãã¹ãã¨ãã¦ã +subtest() 㯠&code ãããèªèº«ã®è¨ç»ã¨çµæããã¤ããèªèº«å°ããªãã¹ãã¨ãã¦ã å®è¡ãã¾ãã ã¡ã¤ã³ã®ãã¹ãã¯ä¸ã¤ã®ãã¹ãã¨ãã¦ã«ã¦ã³ããã¾ãã ãµããã¹ãå ¨ä½ã®çµæã使ã£ã¦ãok ã not ok ã決å®ãã¾ãã @@ -1180,8 +1180,8 @@ =end original BEGIN ãããã¯å ã§ãuse_ok() ãèµ°ããããã¨ãæ¨å¥¨ãã¾ãã -ããã«ããããã®é¢æ°ã¯ãã³ã³ãã¤ã«æã« export ããã -ãããã¿ã¤ããé©åã«åãåãã¾ãã +ããã«ããããã®é¢æ°ã¯ãã³ã³ãã¤ã«æã« export ããããããã¿ã¤ããé©åã« +åãåãã¾ãã =begin original @@ -1240,14 +1240,14 @@ BEGIN { use_ok('Some::Module') } BEGIN { ...some code that depends on the use... } -=cut +=begin original If you want the equivalent of C<use Foo ()>, use a module but not import anything, use C<require_ok>. =end original -C<use Foo ()> ã¨åçã®ãã®ãã»ãããã°ã,ã¢ã¸ã¥ã¼ã«ã使ãããã©ã +C<use Foo ()> ã¨åçã®ãã®ãã»ãããã°ãã¢ã¸ã¥ã¼ã«ã使ãããã©ã ä½ãã¤ã³ãã¼ãããªããC<require_ok> ã使ã£ã¦ãã ããã BEGIN { require_ok "Foo" } @@ -1427,7 +1427,6 @@ =end original B<注æ> 診æã®åºåã®ããã®ãã©ã¼ãããã¯ãã¾ã ã¾ã æµåçã§ãã -changing, but it is guaranteed that whatever you throw at it won't ããããããã«ä½ã渡ãã¦ããã¹ãã«å¹²æ¸ããªããã¨ã¯ä¿è¨¼ããã¦ãã¾ãã =item B<note> @@ -1819,8 +1818,12 @@ ãã¹ã㯠255 ã§çµäºãã¾ãã +=begin original + For even better control look at L<Test::Most>. +=end original + L<Test::Most> ã«ãããããå¶å¾¡ãããã¾ãã @@ -1887,8 +1890,7 @@ =end original 2ã¤ã®é åãã¤ã³ã¼ã«ãã©ããããã§ãã¯ãã¾ãã -ããã¯ãæ·±ããã§ãã¯ã§ããã -ãã«ãã¬ãã«ã®æ§é ãæ£ç¢ºã«æ±ããã¾ãã +ããã¯ãæ·±ããã§ãã¯ã§ããããã«ãã¬ãã«ã®æ§é ãæ£ç¢ºã«æ±ããã¾ãã =item B<eq_hash> @@ -2070,7 +2072,8 @@ =end original -B<注æ>ããã®æ¯ãèãã¯ãå°æ¥ã®ãã¼ã¸ã§ã³ã§ãªããªãããããã¾ããã +B<注æ> +ãã®æ¯ãèãã¯ãå°æ¥ã®ãã¼ã¸ã§ã³ã§ãªããªãããããã¾ããã =head1 CAVEATS and NOTES @@ -2267,8 +2270,8 @@ =end original ã§ãããis_deeply() ã®ãããªé¢æ°ãããªãã¸ã§ã¯ãããªã¼ãã¼ãã¼ããããæååã® -å é¨ã®ãã¹ãã«ä½¿ããã¨ãåºæ¥ãªãã¨ããããã§ã¯ããã¾ããããã®ã±ã¼ã¹ã§ã¯ã -L<Test::Deep> ãææ¡ãã¾ãã +å é¨ã®ãã¹ãã«ä½¿ããã¨ãåºæ¥ãªãã¨ããããã§ã¯ããã¾ããã +ãã®ã±ã¼ã¹ã§ã¯ãL<Test::Deep> ãææ¡ãã¾ãã è¤éãªãã¼ã¿æ§é ã®ããã«ãããæè»ãªãã¹ãé¢æ°ãããã¾ãã Index: docs/modules/Test-Simple-0.99/lib/Test/Simple.pod diff -u docs/modules/Test-Simple-0.99/lib/Test/Simple.pod:1.2 docs/modules/Test-Simple-0.99/lib/Test/Simple.pod:1.3 --- docs/modules/Test-Simple-0.99/lib/Test/Simple.pod:1.2 Tue Nov 12 01:30:01 2013 +++ docs/modules/Test-Simple-0.99/lib/Test/Simple.pod Tue Nov 12 01:53:03 2013 @@ -123,7 +123,7 @@ =end original ããã$nameãå¼æ°ã«ä¸ãããªãã$nameã¯ããok/not okãã¨ä¸ç·ã«åºåããã -ãã¹ãã失æããå ´åã«ããã¹ããè¦ã¤ããã®ãç°¡åã«ãªãã¾ã(ã ãååã ã㧠+ãã¹ãã失æããå ´åã«ããã¹ããè¦ã¤ããã®ãç°¡åã«ãªãã¾ã(ãã ååã ã㧠æ¢ãã¾ã)ã ã¾ãããããã¦ããã°ãä»ã®äººããããªãã®ãã¹ããä½ã®ããã«ããã®ãã ç解ããã®ãç°¡åã«ãªãã¾ãã @@ -185,7 +185,7 @@ ããããã¹ããå®è¡ãããªããã°ãTest::Simpleã¯ãè¦åãæãã¦ã 255 ã§çµãã¾ãã å ¨ã¦ã®ãã¹ããã¡ããã¨å®å ¨ã«ãããå¾ã§ãããã¹ããæ»ãã°ã -ããããã¾ã 失æã§ããã¨èãããã255ã§çµãã¾ãã +ããããã¾ã 失æã§ããã¨èãããã255 ã§çµãã¾ãã =begin original @@ -298,7 +298,7 @@ ãã®ãã¨ãåé¡ã«ãªãã®ãªãããããããè«å¤§ãªãã¹ãã¹ã¯ãªãããªã®ã§ãããã ãã®ãã¹ãã¹ã¯ãªãããè¤æ°ã®ãã¡ã¤ã«ã«åå²ãã¦ä¸ããã (ãããã¯ãçµäºç¶æ ã¨ãã¦ã符å·ãªãã®çãæ´æ°ã使ã UNIX ã®äººã ã -éé£ãã¦ä¸ãã) +éé£ãã¦ä¸ãã)ã =begin original @@ -374,8 +374,8 @@ 人ã ããã¹ããæ¸ãã®ãå«ã£ã¦ããäºã«ã¤ããã¨è¦ã¦ãã¾ããã å¿ è¦ã¨ããã¦ããã®ã¯ããã¹ããããå ¨ã¦ã®ãã¤ãä»äºãåãåºãããå®ã«ã æ¬å½ã«ãå¦ã³ããããå ¨ãç°¡åãªã¢ã¸ã¥ã¼ã«ã§ããã -Paul Johnsonã¯ãåæã«ãã®ã¢ã¤ãã£ã¢ãæã£ã¦ãã¾ãã(ããä¸å¹¸ãªãã¨ã«ã -å½¼ã¯ãTonyã®ãããã³ã«ããªãã£ã)ã +Paul Johnson ã¯ãåæã«ãã®ã¢ã¤ãã£ã¢ãæã£ã¦ãã¾ãã(ããä¸å¹¸ãªãã¨ã«ã +å½¼ã¯ãTony ã®ãããã³ã«ããªãã£ã)ã ãããããããã®ã¾ã£ããç°¡åãªãã¹ãã®ã¢ã¸ã¥ã¼ã«ã§ãã =head1 SEE ALSO @@ -395,8 +395,8 @@ ãã¹ãã®æ©è½ãããå¤ãï¼Test::Simple ãåæ¥ããããTest::More ãè¦ã¦ãã ããã Test::Simple ã¯ãTest::More ã¨ã100%åæ¹äºææ§ãããã¾ãã -(ãã¨ãã°ãããã°ã©ã ã§ãTest::Simpleã®ä»£ããã«ãTest::Moreã -使ããã¨ãåºæ¥ã¾ãããããã¯ãã®ã¾ã¾åãã¾ãã) +(ãã¨ãã°ãããã°ã©ã ã§ãTest::Simple ã®ä»£ããã«ãTest::More ã +使ããã¨ãåºæ¥ã¾ãããããã¯ãã®ã¾ã¾åãã¾ã)ã =item L<Test> Index: docs/modules/Test-Simple-0.99/lib/Test/Tutorial.pod diff -u docs/modules/Test-Simple-0.99/lib/Test/Tutorial.pod:1.2 docs/modules/Test-Simple-0.99/lib/Test/Tutorial.pod:1.3 --- docs/modules/Test-Simple-0.99/lib/Test/Tutorial.pod:1.2 Tue Nov 12 01:30:01 2013 +++ docs/modules/Test-Simple-0.99/lib/Test/Tutorial.pod Tue Nov 12 01:53:03 2013 @@ -21,7 +21,7 @@ =end original I<ãã¼ã¼ã¼ã¼ã¼!!!! -ãã¹ãã¯å«! +ãã¹ãã¯å«! ä½ãããã¦ããã¹ãã¯å«! ã¶ã£ã¦ãããã¡æã£ã¦ãããããã¤ãã«éã£ã¦ããããã©ããã¹ããæ¸ãããªãã§!> @@ -79,7 +79,7 @@ ããã§ãããã å ¨ã¦ã¯è¡ã£ã¦ãã¾ãã¾ããã -ããªãã®ããã«ãé»éè¡ããã¹ã¦è¡ãã¾ãã +ããªãã®ããã«ãé»éè¡ããã¹ã¦è¡ãã¾ããã ããã«ãã®ä»æããããã¾ã⦠=head2 Nuts and bolts of testing. @@ -125,7 +125,7 @@ ãæåã®ãã¹ãã¯ãã¹ãã¾ãããã ããã¦ããããããã¹ãã®éæ³ã®ã»ã¨ãã©å ¨é¨ã§ãã åºæ¬çãªã¦ãããã®ãã¹ã㯠I<ok> ã§ãã -L<Test::Harness>ã¯ããã¹ãã®çµæã解éããæåããã失æããããå¤æãã¾ã +L<Test::Harness> ã¯ããã¹ãã®çµæã解éããæåããã失æããããå¤æãã¾ã (å¾ã§ã¯ããã£ã¨å¤æãã¾ã)ã =begin original @@ -155,7 +155,7 @@ =end original ããã¯åã®ã³ã¼ãã¨åããã¨ããã¾ãã -C<ok()> ã¯ãPerlã®ãã¹ãã®ä¸å¿ã§ãã +C<ok()> ã¯ãPerl ã®ãã¹ãã®ä¸å¿ã§ãã ããããã¯ãèªåã§æ¸ã代ããã«ãC<ok()> ã使ãã¾ãã C<ok()> ãçãè¿ãã°ããã¹ãã¯åæ ¼ã§ãã å½ã§ããã°ã失æã§ã. @@ -324,7 +324,7 @@ ãã£ã¨ãç°¡åã«ãã¡ãã¨ãããã¹ããä½ãæ¹æ³ã¯ããã ããã¥ã¢ã«ã« æ¸ããã¦ãããã¨ããã¹ããã¾ã[3]ã -L<Date::ICal/SYNOPSIS>ããä½ããå¼ãã¦ãã¦ããããå ¨ã¦ãã¹ããã¾ãããã +L<Date::ICal/SYNOPSIS> ããä½ããå¼ãã¦ãã¦ããããå ¨ã¦ãã¹ããã¾ãããã ã¡ãã£ã¨ãããã¨ã§ãã #!/usr/bin/perl -w @@ -378,7 +378,7 @@ ãã¼ã£ã¨ã失æ![4] C<Test::Simple> ã¯ãå½¹ã«ç«ã¤ãã¨ã«ãä½è¡ç®ã§å¤±æããã®ãã ç¥ããã¦ããã¾ãã ããã©ãä»ã«ã¯ä½ãç¥ããã¾ããã -17ãå¾ãªããã°ãªããªãã£ãã®ã§ãããããã¯ãªãã¾ããã§ããã +17 ãå¾ãªããã°ãªããªãã£ãã®ã§ãããããã¯ãªãã¾ããã§ããã ä½ãå¾ãã®ã§ãããã?? ãããã¾ããã ãããè¦ã¤ããã«ã¯ããããã¬ã¼ã§ãã¹ããåå®è¡ããªããã°ãªããããprint æã« @@ -494,7 +494,7 @@ ãããã¯ãããã§ãããã¨è¨ã£ã種é¡ã®ãã¹ããããã¨ãã¯ãã¤ããC<is> ã 使ãã¨ããã§ãã C<is> ã¯ãé åã§ãåãã¾ãã -ãã ããã¹ãã¯ãã¤ãã«ãã¹ã«ã©ã¼ã³ã³ããã¹ãã§åãã®ã§ã +ãã ããã¹ãã¯ãã¤ãã«ãã¹ã«ã©ã³ã³ããã¹ãã§åãã®ã§ã 次ã®æ¹æ³ã§ãé åã®ä¸ã®è¦ç´ ãããã¤ãããããã¹ãã§ãã¾ã[5]ã is( @foo, 5, 'foo has 5 elements' ); @@ -513,7 +513,8 @@ =end original ééãã¯ãã¨ã¦ã大åãªã¬ãã¹ã³ã«ãªãã¾ãã -ã³ã¼ãã«ã¯ãã°ãããããã¹ãã¯ã³ã¼ãã§ããã +ã³ã¼ãã«ã¯ãã°ãããã +ãã¹ãã¯ã³ã¼ãã§ããã ããã«ããã¹ãã«ã¯ãã°ãããã 失æãããã¹ãã¯ãã³ã¼ãã«ãã°ããããã¨ãæå³ãã¾ãã ãããããã¹ããééã£ã¦ããå¯è½æ§ãæé¤ãã¦ã¯ãªãã¾ããã @@ -548,7 +549,7 @@ å¤ãã®éã£ãã¨ãã¸ã±ã¼ã¹ã§ã³ã¼ãããã¹ããããã¨ããã¨ããå¤ãã®å¤ã ãã¹ããããã¨æãã¾ãã -1970年以åã§ã¯ãåãã ãããï¼ +1970年以åã§ã¯ãåãã ããã? 2038å¹´ã®å¾ã¯? 1904年以åã¯? 10,000å¹´å¾ã«ããã©ãã«ãèµ·ããã? @@ -806,7 +807,7 @@ =end original ããã§ãã¡ãã£ã¨ããéæ³ãèµ·ãã¾ãã -MacOS以å¤ã§åããå ´åãå ¨ã¦ã®ãã¹ãã¯æ®éã«ãã¹ãããã¾ãã +MacOS 以å¤ã§åããå ´åãå ¨ã¦ã®ãã¹ãã¯æ®éã«ãã¹ãããã¾ãã ããããMacOS ä¸ã®å ´åãC<skip()> ã«ãã£ã¦ãSKIP ãããã¯ã®ä¸ã®å ¨ã¦ã®å 容ã é£ã°ããã¾ãã 決ãã¦åããã¨ã¯ããã¾ããã @@ -871,6 +872,13 @@ $ical_string = $ical->ical; +=begin original + + Retrieves, or sets, the date on the object, using any + valid ICal date/time string. + +=end original + ãªãã¸ã§ã¯ãã®æ¥ä»ã®åå¾ãã¾ãã¯ãã»ããã ãã¹ã¦ã®å¦¥å½ãª ICal date/time æååã使ã£ã¦ããªãã¸ã§ã¯ãã«æ¥ä»ãã»ããããã @@ -882,7 +890,7 @@ =end original ãåå¾ã¾ãã¯ã»ãããã -ãµããDate::ICalã®ãã¹ãã§ãæ¥ä»ãã»ãããã C<ical()> ã使ããã¹ãã +ãµããDate::ICal ã®ãã¹ãã§ãæ¥ä»ãã»ãããã C<ical()> ã使ããã¹ãã è¦ã¾ããã§ããã ç§ã¯ã次ã®ããã«æ¸ãã§ãããã @@ -1007,7 +1015,7 @@ =end original ãã¹ãããæ±æã¢ã¼ãã§èµ°ãããã®ã¯ãã¨ã¦ãç°¡åã§ãã -C<#!>è¡ã«ãC<-T>ãæããã ãã§ãã +C<#!> è¡ã«ãC<-T> ãæããã ãã§ãã C<Test::Harness> ã¯ãC<#!> è¡ã®ã¹ã¤ãããèªã¿ããã¹ãã§ãã®ã¹ã¤ããã使ãã¾ãã @@ -1075,7 +1083,8 @@ =end original ãã®ãã¹ãã«ã¯ãééããããã¾ãã -ä½! ç§ããä»çµãã ã£ã¦ï¼ +ä½! +ç§ããä»çµãã ã£ã¦? =item 5