[macruby-changes] [1690] MacRuby/branches/experimental

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 1 15:51:58 PDT 2009


Revision: 1690
          http://trac.macosforge.org/projects/ruby/changeset/1690
Author:   eloy.de.enige at gmail.com
Date:     2009-06-01 15:51:57 -0700 (Mon, 01 Jun 2009)
Log Message:
-----------
Tagged failing examples of Time spec and added Time to spec:ci.

Modified Paths:
--------------
    MacRuby/branches/experimental/rakelib/spec.rake

Added Paths:
-----------
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/at_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/day_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/dst_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getgm_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getlocal_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getutc_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gm_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmt_offset_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmtime_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmtoff_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/hash_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/hour_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/isdst_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/local_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/localtime_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mday_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/min_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mktime_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/plus_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/strftime_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/to_a_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_offset_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/wday_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/yday_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/year_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/zone_tags.txt

Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake	2009-06-01 22:50:13 UTC (rev 1689)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-06-01 22:51:57 UTC (rev 1690)
@@ -78,6 +78,7 @@
     spec/frozen/core/string
     spec/frozen/core/symbol
     spec/frozen/core/systemexit
+    spec/frozen/core/time
     spec/frozen/core/true
     spec/frozen/core/unboundmethod
   }.join(' ')

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/at_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/at_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/at_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time.at converts to time object

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/day_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/day_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/day_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#day returns the day of the month (1..n) for time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/dst_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/dst_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/dst_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#dst? dst? returns whether time is during daylight saving time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getgm_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getgm_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getgm_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#getgm returns a new time which is the utc representation of time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getlocal_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getlocal_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getlocal_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#getlocal returns a new time which is the local representation of time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getutc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getutc_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/getutc_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#getutc returns a new time which is the utc representation of time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gm_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gm_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gm_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1,2 @@
+fails:Time.gm creates a time based on given values, interpreted as UTC (GMT)
+fails:Time.gm creates a time based on given C-style gmtime arguments, interpreted as UTC (GMT)

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmt_offset_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmt_offset_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmt_offset_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#gmt_offset returns the offset in seconds between the timezone of time and UTC

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmtime_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmtime_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmtime_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#gmtime returns the utc representation of time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmtoff_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmtoff_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gmtoff_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#gmtoff returns the offset in seconds between the timezone of time and UTC

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/hash_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/hash_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/hash_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#hash returns a unique integer for each time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/hour_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/hour_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/hour_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#hour returns the hour of the day (0..23) for time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/isdst_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/isdst_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/isdst_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#isdst dst? returns whether time is during daylight saving time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/local_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/local_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/local_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1,2 @@
+fails:Time.local creates a time based on given values, interpreted in the local time zone
+fails:Time.local creates a time based on given C-style gmtime arguments, interpreted in the local time zone

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/localtime_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/localtime_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/localtime_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#localtime returns the local representation of time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mday_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mday_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mday_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#mday returns the day of the month (1..n) for time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/min_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/min_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/min_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#min returns the minute of the hour (0..59) for time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mktime_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mktime_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mktime_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1,2 @@
+fails:Time.mktime creates a time based on given values, interpreted in the local time zone
+fails:Time.mktime creates a time based on given C-style gmtime arguments, interpreted in the local time zone

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/plus_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/plus_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/plus_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#+ increments the time by the specified amount as rational numbers

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/strftime_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/strftime_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/strftime_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1,2 @@
+fails:Time#strftime formats time according to the directives in the given format string
+fails:Time#strftime supports timezone formatting with %z
\ No newline at end of file

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/to_a_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/to_a_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/to_a_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#to_a returns a 10 element array representing the deconstructed time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_offset_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_offset_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_offset_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#utc_offset returns the offset in seconds between the timezone of time and UTC

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1,3 @@
+fails:Time.utc creates a time based on given values, interpreted as UTC (GMT)
+fails:Time.utc creates a time based on given C-style gmtime arguments, interpreted as UTC (GMT)
+fails:Time#utc returns the utc representation of time

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/wday_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/wday_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/wday_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#wday returns an integer representing the day of the week, 0..6, with Sunday being 0

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/yday_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/yday_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/yday_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#yday returns an integer representing the day of the year, 1..366

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/year_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/year_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/year_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#year returns the four digit year for time as an integer

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/zone_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/zone_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/zone_tags.txt	2009-06-01 22:51:57 UTC (rev 1690)
@@ -0,0 +1 @@
+fails:Time#zone returns the time zone used for time
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090601/958010a2/attachment-0001.html>


More information about the macruby-changes mailing list