facets 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/CHANGES +14 -6
  2. data/MANIFEST +35 -18
  3. data/NOTES +5 -15
  4. data/README +1 -11
  5. data/doc/{History.txt → history.rdoc} +0 -0
  6. data/doc/html/api/core/created.rid +1 -1
  7. data/doc/html/api/core/files/CHANGES.html +20 -4
  8. data/doc/html/api/core/files/NOTES.html +44 -15
  9. data/doc/html/api/more/created.rid +1 -1
  10. data/doc/html/api/more/files/CHANGES.html +20 -4
  11. data/doc/html/api/more/files/NOTES.html +46 -15
  12. data/doc/html/changes.html +19 -3
  13. data/doc/html/notes.html +43 -14
  14. data/doc/notes.rdoc +9 -0
  15. data/lib/facets/basex.rb +37 -0
  16. data/lib/facets/basicobject.rb +2 -2
  17. data/lib/facets/date.rb +16 -4
  18. data/lib/facets/exception.rb +1 -0
  19. data/lib/facets/exception/suppress.rb +21 -0
  20. data/lib/facets/hash/argumentize.rb +2 -1
  21. data/lib/facets/kernel.rb +9 -2
  22. data/lib/facets/kernel/__class__.rb +9 -0
  23. data/lib/facets/kernel/__get__.rb +10 -0
  24. data/lib/facets/kernel/__set__.rb +1 -0
  25. data/lib/facets/kernel/instance_assign.rb +41 -0
  26. data/lib/facets/kernel/instance_class.rb +24 -0
  27. data/lib/facets/kernel/instance_send.rb +7 -0
  28. data/lib/facets/kernel/instance_variables.rb +99 -0
  29. data/lib/facets/kernel/object_class.rb +10 -0
  30. data/lib/facets/kernel/object_hexid.rb +12 -0
  31. data/lib/facets/kernel/{object.rb → object_send.rb} +0 -21
  32. data/lib/facets/kernel/silence.rb +25 -19
  33. data/lib/facets/kernel/suppress.rb +18 -0
  34. data/lib/facets/module.rb +3 -0
  35. data/lib/facets/module/basename.rb +31 -0
  36. data/lib/facets/module/modspace.rb +22 -0
  37. data/lib/facets/module/nesting.rb +0 -66
  38. data/lib/facets/module/spacename.rb +25 -0
  39. data/lib/facets/net/smtp_tls.rb +5 -8
  40. data/lib/facets/openhash.rb +1 -0
  41. data/lib/facets/openobject.rb +2 -1
  42. data/lib/facets/paramix.rb +187 -0
  43. data/lib/facets/platform.rb +192 -0
  44. data/lib/facets/recorder.rb +1 -1
  45. data/lib/facets/string.rb +12 -0
  46. data/lib/facets/string/to_time.rb +1 -23
  47. data/lib/facets/style.rb +145 -64
  48. data/lib/facets/time.rb +5 -0
  49. data/lib/facets/time/to_time.rb +14 -0
  50. data/log/{Changelog-0.txt → changelog-0.rdoc} +0 -0
  51. data/log/{Changelog-1.txt → changelog-1.rdoc} +0 -0
  52. data/log/{Changelog.txt → changelog.rdoc} +18 -0
  53. data/log/{Fixme.txt → fixme.rdoc} +3 -3
  54. data/log/testlog.txt +645 -0
  55. data/log/{Todo.txt → todo.rdoc} +80 -89
  56. data/meta/project.yaml +14 -10
  57. data/meta/version +1 -1
  58. data/script/conflicts +28 -3
  59. data/script/methods +32 -43
  60. data/test/kernel/{test_instance.rb → test_instance_assign.rb} +2 -10
  61. data/test/kernel/test_instance_class.rb +12 -0
  62. data/test/kernel/{test_object.rb → test_object_class.rb} +2 -9
  63. data/test/kernel/test_object_hexid.rb +12 -0
  64. data/test/module/test_basename.rb +11 -0
  65. data/test/module/test_modspace.rb +13 -0
  66. data/test/module/test_nesting.rb +0 -17
  67. data/test/module/test_spacename.rb +14 -0
  68. data/test/test_date.rb +12 -0
  69. data/test/test_style.rb +1 -1
  70. data/test/{string → time}/test_to_time.rb +1 -9
  71. metadata +46 -26
  72. data/lib/facets/behavior.rb +0 -104
  73. data/lib/facets/kernel/instance.rb +0 -73
  74. data/lib/facets/string/stylize.rb +0 -73
  75. data/lib/facets/string/underscore.rb +0 -28
  76. data/log/Testlog.txt +0 -205
  77. data/meta/corelibs +0 -49
  78. data/test/string/test_stylize.rb +0 -52
  79. data/test/string/test_underscore.rb +0 -13
@@ -1,16 +1,28 @@
1
1
  require 'facets/ruby'
2
2
 
3
+ require 'facets/string/align'
4
+ require 'facets/string/bracket.rb'
5
+ require 'facets/string/camelcase.rb'
6
+ require 'facets/string/capitalized.rb'
3
7
  require 'facets/string/chomp.rb'
4
8
  require 'facets/string/cleave.rb'
5
9
  require 'facets/string/divide.rb'
10
+ require 'facets/string/fold.rb'
6
11
  require 'facets/string/interpolate.rb'
12
+ require 'facets/string/line_wrap.rb'
7
13
  require 'facets/string/mscan.rb'
8
14
  require 'facets/string/natcmp.rb'
9
15
  require 'facets/string/nchar.rb'
10
16
  require 'facets/string/range.rb'
17
+ require 'facets/string/rewrite.rb'
11
18
  require 'facets/string/shatter.rb'
19
+ require 'facets/string/snakecase'
12
20
  require 'facets/string/splice.rb'
13
21
  require 'facets/string/subtract.rb'
14
22
  require 'facets/string/tab.rb'
23
+ require 'facets/string/titlecase.rb'
15
24
  require 'facets/string/to_re.rb'
25
+ #require 'facets/string/to_time.rb'
26
+ #require 'facets/string/words.rb'
27
+ require 'facets/string/xor.rb'
16
28
 
@@ -1,23 +1 @@
1
- class String
2
-
3
- # Parse string to time.
4
- #
5
- # CREDIT: Trans
6
-
7
- def to_time
8
- require 'time'
9
- Time.parse(self)
10
- end
11
-
12
- # Parse data from string.
13
- #
14
- # CREDIT: Trans
15
-
16
- def to_date
17
- require 'date'
18
- require 'parsedate'
19
- ::Date::civil(*ParseDate.parsedate(self)[0..2])
20
- end
21
-
22
- end
23
-
1
+ #:DONE:
@@ -24,6 +24,9 @@ class String
24
24
  # Examples
25
25
  # String::Style.snakecase("SuperMan") #=> "super_man"
26
26
  # String::Style.dasherize("super_man") #=> "super-man"
27
+ #
28
+ # TODO: With #pathize, is downcasing really needed? After all paths can have capitalize letters ;p
29
+ # TODO: With #methodize, is downcasing any but the first letter really needed? Desipite Matz prefernce methods can have capitalized letters.
27
30
 
28
31
  module Style
29
32
 
@@ -55,52 +58,137 @@ class String
55
58
  string.upcase
56
59
  end
57
60
 
58
- # Standard upcase style.
59
- #
61
+ # Standard capitalize style.
62
+
60
63
  def self.capitalize(string)
61
64
  string.capitalize
62
65
  end
63
66
 
64
- # Replaces underscores with dashes in the string.
67
+ # Titlecase
65
68
  #
66
- # Example
67
- # "puni_puni" #=> "puni-puni"
68
- def self.dasherize(underscored_word)
69
- underscored_word.gsub(/_/, '-')
69
+ # "this is a string".style(:titlecase)
70
+ # => "This Is A String"
71
+ #
72
+ def self.titlecase(phrase)
73
+ phrase.gsub(/\b\w/){$&.upcase}
70
74
  end
71
75
 
72
- # By default, camelize converts strings to UpperCamelCase. If the argument to camelize
73
- # is set to ":lower" then camelize produces lowerCamelCase.
76
+ # The reverse of +camelize+. Makes an underscored form from the expression in the string.
74
77
  #
75
- # camelize will also convert '/' to '::' which is useful for converting paths to namespaces
78
+ # Changes '::' to '/' to convert namespaces to paths.
79
+ #
80
+ # Examples
81
+ # "ActiveRecord".underscore #=> "active_record"
82
+ # "ActiveRecord::Errors".underscore #=> active_record/errors
83
+
84
+ def self.snakecase(camel_cased_word)
85
+ camel_cased_word.to_s.gsub(/::/, '/').
86
+ gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
87
+ gsub(/([a-z\d])([A-Z])/,'\1_\2').
88
+ tr("-", "_").
89
+ downcase
90
+ end
91
+
92
+ # Converts a string into a unix path.
93
+ # This method is geared toward code reflection.
94
+ #
95
+ # See : String#modulize, String#methodize
96
+ #
97
+ # Style.pathize("MyModule::MyClass") #=> my_module/my_class
98
+ # Style.pathize("my_module__my_class") #=> my_module/my_class
99
+ #
100
+ # TODO:
101
+ # * Make sure that all scenarios return a valid unix path
102
+ # * Make sure it is revertible
103
+ #
104
+ # See also #modulize, #methodize
105
+
106
+ def self.pathize(module_name)
107
+ module_name.to_s.
108
+ gsub(/__/, '/').
109
+ gsub(/::/, '/').
110
+ gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
111
+ gsub(/([a-z\d])([A-Z])/,'\1_\2').
112
+ tr("-", "_").
113
+ downcase
114
+ end
115
+
116
+ # Converts a module name into a valid method name
117
+ # This method is geared toward code reflection.
118
+ #
119
+ # Examples
120
+ # Style.methodize("SuperMan") #=> "super_man"
121
+ # Style.methodize("SuperMan::Errors") #=> "super_man__errors
122
+ # Style.methodize("MyModule::MyClass") #=> "my_module__my_class"
123
+ #
124
+ # See also #modulize, #pathize
125
+
126
+ def self.methodize(module_name)
127
+ module_name.to_s.
128
+ gsub(/\//, '__').
129
+ gsub(/::/, '__').
130
+ gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
131
+ gsub(/([a-z\d])([A-Z])/,'\1_\2').
132
+ tr("-", "_").
133
+ downcase
134
+ end
135
+
136
+ # Converts a string into a valid ruby class or module name
137
+ # This method is geared toward code reflection.
76
138
  #
77
139
  # Examples
78
- # "active_record".camelize #=> "ActiveRecord"
79
- # "active_record".camelize(:lower) #=> "activeRecord"
80
- # "active_record/errors".camelize #=> "ActiveRecord::Errors"
81
- # "active_record/errors".camelize(:lower) #=> "activeRecord::Errors"
82
- def self.camelize(lower_case_and_underscored_word)
83
- lower_case_and_underscored_word.to_s.gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase }
140
+ # Style.modulize("camel_case") #=> "CamelCase"
141
+ # Style.modulize("camel/case") #=> "Camel::Case"
142
+ # Style.modulize("my_module__my_path") #=> "MyModule::MyPath"
143
+ #
144
+ # See also #methodize, #pathize
145
+
146
+ def self.modulize(pathized_or_methodized_string)
147
+ pathized_or_methodized_string.
148
+ gsub(/__(.?)/){ "::#{$1.upcase}" }.
149
+ gsub(/\/(.?)/){ "::#{$1.upcase}" }.
150
+ gsub(/(?:_+)([a-z])/){ $1.upcase }.
151
+ gsub(/(^|\s+)([a-z])/){ $1 + $2.upcase }
84
152
  end
85
153
 
86
- def self.uppercamel(lower_case_and_underscored_word)
87
- lower_case_and_underscored_word.to_s.gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase }
154
+ def self.lowercamel(snakecase_word)
155
+ snakecase_word.first + camelize(lower_case_and_underscored_word)[1..-1]
88
156
  end
89
157
 
158
+ def self.uppercamel(snakecase_word)
159
+ snakecase_word.to_s.gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase }
160
+ end
161
+
162
+ ##################
163
+ # ACTIVE SUPPORT #
164
+ #######################################################################
165
+ # These were extracted directly from ActiveSupport's Inflector class. #
166
+ # It seemed prudent to maintian this desgree of compatbility. #
167
+ #######################################################################
168
+
90
169
  # By default, camelize converts strings to UpperCamelCase. If the argument to camelize
91
170
  # is set to ":lower" then camelize produces lowerCamelCase.
92
171
  #
93
172
  # camelize will also convert '/' to '::' which is useful for converting paths to namespaces
94
173
  #
95
174
  # Examples
96
- # "active_record".camelize #=> "ActiveRecord"
97
- # "active_record".camelize(:lower) #=> "activeRecord"
98
- # "active_record/errors".camelize #=> "ActiveRecord::Errors"
99
- # "active_record/errors".camelize(:lower) #=> "activeRecord::Errors"
100
- def self.lowercamel(lower_case_and_underscored_word)
101
- lower_case_and_underscored_word.first + camelize(lower_case_and_underscored_word)[1..-1]
175
+ # Style.camelize("active_record") #=> "ActiveRecord"
176
+ # Style.caemlize("active_record", true) #=> "activeRecord"
177
+ # Style.camelize("active_record/errors") #=> "ActiveRecord::Errors"
178
+ # Style.camelize("active_record/errors",true) #=> "activeRecord::Errors"
179
+ #
180
+ def self.camelize(snakecase_word, first_letter_in_uppercase = true)
181
+ if first_letter_in_uppercase
182
+ snakecase_word.to_s.gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase }
183
+ else
184
+ snakecase_word.first + camelize(lower_case_and_underscored_word)[1..-1]
185
+ end
102
186
  end
103
187
 
188
+ #def camelize(first_letter_in_uppercase = true)
189
+ # Style.camelize(self, first_letter_in_uppercase)
190
+ #end
191
+
104
192
  # Capitalizes all the words and replaces some characters in the string to create
105
193
  # a nicer looking title. Titleize is meant for creating pretty output. It is not
106
194
  # used in the Rails internals.
@@ -110,18 +198,19 @@ class String
110
198
  # Examples
111
199
  # "man from the boondocks".titleize #=> "Man From The Boondocks"
112
200
  # "x-men: the last stand".titleize #=> "X Men: The Last Stand"
201
+
113
202
  def self.titleize(word)
114
203
  humanize(underscore(word)).gsub(/\b('?[a-z])/) { $1.capitalize }
115
204
  end
116
205
 
117
- # The reverse of +camelize+. Makes an underscored form from the expression in the string.
206
+ # The reverse of +camelize+. Makes an underscored, lowercase form from the expression in the string.
118
207
  #
119
208
  # Changes '::' to '/' to convert namespaces to paths.
120
209
  #
121
210
  # Examples
122
211
  # "ActiveRecord".underscore #=> "active_record"
123
212
  # "ActiveRecord::Errors".underscore #=> active_record/errors
124
- def self.snakecase(camel_cased_word)
213
+ def self.underscore(camel_cased_word)
125
214
  camel_cased_word.to_s.gsub(/::/, '/').
126
215
  gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
127
216
  gsub(/([a-z\d])([A-Z])/,'\1_\2').
@@ -129,8 +218,12 @@ class String
129
218
  downcase
130
219
  end
131
220
 
132
- def self.underscore(camel_cased_word)
133
- snakecase(camel_cased_word)
221
+ # Replaces underscores with dashes in the string.
222
+ #
223
+ # Example
224
+ # dasherize("puni_puni") #=> "puni-puni"
225
+ def self.dasherize(underscored_word)
226
+ underscored_word.gsub(/_/, '-')
134
227
  end
135
228
 
136
229
  # Capitalizes the first word and turns underscores into spaces and strips _id.
@@ -190,43 +283,31 @@ class String
190
283
  underscore(demodulize(class_name)) + (separate_class_name_and_id_with_underscore ? "_id" : "id")
191
284
  end
192
285
 
193
- # Converts a string into a unix path.
194
- # This method is geared toward code reflection.
195
- #
196
- # See : String#modulize, String#methodize
197
- #
198
- # Style.pathize("MyModule::MyClass") #=> my_module/my_class
199
- # Style.pathize("my_module__my_class") #=> my_module/my_class
200
- #
201
- # TODO:
202
- # * Make sure that all scenarios return a valid unix path
203
- # * Make sure it is revertible
204
- def self.pathize(module_name)
205
- module_name.to_s.gsub(/([A-Z])/, '_\1').downcase.gsub(/^_/,'').gsub(/(::|__)_?/, '/')
206
- end
207
-
208
- # Converts a string into a valid ruby method name
209
- # This method is geared toward code reflection.
210
- #
211
- # Style.methodize("MyModule::MyClass") #=> "my_module__my_class"
212
- #
213
- # See also #modulize, #pathize
214
- #
215
- # TODO: Make sure methodize is reversable (?)
216
- def self.methodize(module_name)
217
- module_name.to_s.gsub(/([A-Z])/, '_\1').downcase.gsub(/^_/,'').gsub(/(::|\/)_?/, '__')
218
- end
219
-
220
- # Converts a string into a valid ruby class or module name
221
- # This method is geared toward code reflection.
222
- #
223
- # Style.modulize("my_module__my_path") #=> "MyModule::MyPath"
286
+ # Ordinalize turns a number into an ordinal string used to denote the
287
+ # position in an ordered sequence such as 1st, 2nd, 3rd, 4th.
224
288
  #
225
- # See also #methodize, #pathize
226
- #
227
- # TODO: Make sure moduleize that all scenarios return a valid ruby class name
228
- def self.modulize(path_name)
229
- path_name.to_s.gsub(/(__|\/)(.?)/){ "::" + $2.upcase }.gsub(/(^|_)(.)/){ $2.upcase }
289
+ # Examples
290
+ # ordinalize('1') # => "1st"
291
+ # ordinalize('2') # => "2nd"
292
+ # ordinalize('1002') # => "1002nd"
293
+ # ordinalize('1003') # => "1003rd"
294
+ def self.ordinalize(number_string)
295
+ if number_string =~ /\d{1,2}$/
296
+ number = $1.to_i
297
+ if (11..13).include?(number.to_i % 100)
298
+ r = "#{number}th"
299
+ else
300
+ r = case number.to_i % 10
301
+ when 1; "#{number}st"
302
+ when 2; "#{number}nd"
303
+ when 3; "#{number}rd"
304
+ else "#{number}th"
305
+ end
306
+ end
307
+ number_string.sub(/\d{1,2}$/, r)
308
+ else
309
+ number_string
310
+ end
230
311
  end
231
312
 
232
313
  end
@@ -1,6 +1,11 @@
1
1
  require 'facets/ruby'
2
2
 
3
+ require 'facets/time/ago'
3
4
  require 'facets/time/change'
4
5
  require 'facets/time/elapse'
6
+ require 'facets/time/hence'
7
+ require 'facets/time/set'
5
8
  require 'facets/time/stamp'
6
9
 
10
+ require 'time' # come on Matz do we really need to bother with this for 5 whole methods?
11
+
@@ -0,0 +1,14 @@
1
+ require 'time'
2
+
3
+ class String
4
+
5
+ # Parse string to time.
6
+ #
7
+ # CREDIT: Trans
8
+
9
+ def to_time
10
+ Time.parse(self)
11
+ end
12
+
13
+ end
14
+
@@ -1,7 +1,25 @@
1
1
  = Subversion Changelog
2
2
 
3
+ == 2008-04-03 transami
4
+
5
+ * Added .rsync-filter and .htaccess to site/. (865)
6
+ * Fixed methods and conflicts scripts to compare extension libraries. (864)
7
+ * Updated tests for reatomizations. (863)
8
+ * Continued work on reatomizing core extensions (nearly complete now). (862)
9
+
10
+ == 2008-03-31 transami
11
+
12
+ * Work on kernel instance methods. (861)
13
+
14
+ == 2008-03-27 transami
15
+
16
+ * Added basex.rb and deprecated bahavior.rb. (860)
17
+
3
18
  == 2008-03-24 transami
4
19
 
20
+ * Updated website a little. (859)
21
+ * Split off some time tests. (858)
22
+ * Updated logs. (857)
5
23
  * Update CHANGES and NOTES. (856)
6
24
  * Fixed minor bugs to pass tests. (855)
7
25
  * Split up include.rb. (854)
@@ -1,12 +1,12 @@
1
1
 
2
2
  = FIXME
3
3
 
4
- file://lib/facets/minitar.rb
4
+ == file://lib/facets/minitar.rb
5
5
  * FIXME: what if an exception is raised in the block? (458)
6
6
  * FIXME: what if an exception is raised in the block? (421)
7
7
 
8
- file://lib/facets/progressbar.rb
8
+ == file://lib/facets/progressbar.rb
9
9
  * FIXME: I don't know how portable it is. (134)
10
10
 
11
- file://lib/facets/settings.rb
11
+ == file://lib/facets/settings.rb
12
12
  * FIXME: this does not work as expected. (205)
@@ -0,0 +1,645 @@
1
+ = Solo Test @ Thu Apr 03 11:10:05 -0400 2008
2
+
3
+ TEST FILE TESTS ASSERTIONS FAILURES ERRORS
4
+ test/integer/test_of.rb 2 2 0 0 [PASS]
5
+ test/integer/test_factorial.rb 1 5 0 0 [PASS]
6
+ test/integer/test_ordinal.rb 1 4 0 0 [PASS]
7
+ test/integer/test_bitmask.rb 6 21 0 0 [PASS]
8
+ test/integer/test_multiple.rb 1 4 0 0 [PASS]
9
+ test/test_syncarray.rb 1 1 0 0 [PASS]
10
+ test/test_crypt.rb 2 8 0 0 [PASS]
11
+ test/test_metaid.rb 4 4 0 0 [PASS]
12
+ test/test_bytes.rb 12 18 0 0 [PASS]
13
+ test/test_infinity.rb 4 16 0 0 [PASS]
14
+ test/symbol/test_generate.rb 2 4 0 0 [PASS]
15
+ test/symbol/test_chomp.rb 2 2 0 0 [PASS]
16
+ test/symbol/test_not.rb 1 2 0 0 [PASS]
17
+ test/test_1stclassmethod.rb 2 3 0 0 [PASS]
18
+ test/test_typecast.rb 6 6 0 0 [PASS]
19
+ test/test_buildable.rb 2 2 0 0 [PASS]
20
+ test/test_instantise.rb 2 2 0 0 [PASS]
21
+ test/test_openobject.rb 13 29 0 0 [PASS]
22
+ test/test_equatable.rb 1 3 0 0 [PASS]
23
+ test/test_uri.rb 4 4 0 0 [PASS]
24
+ test/test_opencascade.rb 7 109 0 0 [PASS]
25
+ test/test_multipliers.rb 21 21 0 0 [PASS]
26
+ test/test_autoarray.rb 0 0 0 0 [PASS]
27
+ test/test_random.rb 20 260 0 0 [PASS]
28
+ test/test_basicobject.rb 7 13 0 0 [PASS]
29
+ test/test_boolean.rb 8 35 0 0 [PASS]
30
+ test/test_continuation.rb 1 1 0 0 [PASS]
31
+ test/test_prototype.rb 2 4 0 0 [PASS]
32
+ test/test_ostruct.rb 13 41 0 0 [PASS]
33
+ test/numeric/test_distance.rb 1 3 0 0 [PASS]
34
+ test/numeric/test_round.rb 4 8 0 0 [PASS]
35
+ test/numeric/test_approx.rb 1 3 0 0 [PASS]
36
+ test/test_elementwise.rb 2 8 0 0 [PASS]
37
+ test/test_class_extension.rb 5 9 0 0 [PASS]
38
+ test/binding/test_defined.rb 1 1 0 0 [PASS]
39
+ test/binding/test_self.rb 1 1 0 0 [PASS]
40
+ test/binding/test_caller.rb 7 7 0 0 [PASS]
41
+ test/binding/test_local_variables.rb 1 1 0 0 [PASS]
42
+ test/binding/test_opvars.rb 2 3 0 0 [PASS]
43
+ test/test_thread.rb 3 3 0 0 [PASS]
44
+ test/test_date.rb 9 11 0 0 [PASS]
45
+ test/test_dependency.rb 4 4 0 0 [PASS]
46
+ test/proc/test_bind.rb 1 100 0 0 [PASS]
47
+ test/proc/test_to_method.rb 2 6 0 0 [PASS]
48
+ test/proc/test_curry.rb 2 3 0 0 [PASS]
49
+ test/proc/test_compose.rb 2 4 0 0 [PASS]
50
+ test/proc/test_partial.rb 3 3 0 0 [PASS]
51
+ test/range/test_overlap.rb 2 2 0 0 [PASS]
52
+ test/range/test_combine.rb 2 2 0 0 [PASS]
53
+ test/range/test_to_r.rb 2 2 0 0 [PASS]
54
+ test/range/test_within.rb 5 15 0 0 [PASS]
55
+ test/test_ruby/symbol/test_succ.rb 1 3 0 0 [PASS]
56
+ test/test_ruby/kernel/test_tap.rb 2 2 0 0 [PASS]
57
+ test/test_ruby/array/test_combination.rb 2 2 0 0 [PASS]
58
+ test/test_ruby/array/test_product.rb 1 1 0 0 [PASS]
59
+ test/test_ruby/array/test_permutation.rb 1 1 0 0 [PASS]
60
+ test/test_times.rb 13 13 0 0 [PASS]
61
+ test/test_binreadable.rb 4 13 0 0 [PASS]
62
+ test/file/test_file.rb 9 9 0 0 [PASS]
63
+ test/test_cloneable.rb 2 6 0 0 [PASS]
64
+ test/test_inheritor.rb 20 23 0 0 [PASS]
65
+ test/test_uninheritable.rb 1 2 0 0 [PASS]
66
+ test/test_timer.rb 3 8 0 0 [PASS]
67
+ test/test_annotations.rb 16 22 0 0 [PASS]
68
+ test/test_recorder.rb 1 1 0 0 [PASS]
69
+ test/test_ruby.rb 21 441 0 0 [PASS]
70
+ test/hash/test_collate.rb 2 12 0 0 [PASS]
71
+ test/hash/test_keys.rb 3 5 0 0 [PASS]
72
+ test/hash/test_inverse.rb 1 3 0 0 [PASS]
73
+ test/hash/test_stringify_keys.rb 2 4 0 0 [PASS]
74
+ test/hash/test_rekey2.rb 5 10 0 0 [PASS]
75
+ test/hash/test_delete.rb 3 3 0 0 [PASS]
76
+ test/hash/test_symbolize_keys.rb 2 4 0 0 [PASS]
77
+ test/hash/test_weave.rb 1 1 0 0 [PASS]
78
+ test/hash/test_alias.rb 1 3 0 0 [PASS]
79
+ test/hash/test_update.rb 5 5 0 0 [PASS]
80
+ test/hash/test_swap.rb 1 1 0 0 [PASS]
81
+ test/hash/test_at.rb 1 2 0 0 [PASS]
82
+ test/hash/test_op.rb 5 5 0 0 [PASS]
83
+ test/hash/test_select.rb 1 12 0 0 [PASS]
84
+ test/hash/test_autonew.rb 1 0 0 0 [PASS]
85
+ test/hash/test_insert.rb 1 2 0 0 [PASS]
86
+ test/hash/test_traverse.rb 2 3 0 0 [PASS]
87
+ test/hash/test_zipnew.rb 1 1 0 0 [PASS]
88
+ test/hash/test_mash.rb 2 2 0 0 [PASS]
89
+ test/hash/test_merge.rb 1 1 0 0 [PASS]
90
+ test/hash/test_rekey.rb 4 14 0 0 [PASS]
91
+ test/kernel/test_val.rb 3 6 0 0 [PASS]
92
+ test/kernel/test_not_nil.rb 1 4 0 0 [PASS]
93
+ test/kernel/test_resc.rb 1 2 0 0 [PASS]
94
+ test/kernel/test_attr_singleton.rb 3 8 0 0 [PASS]
95
+ test/kernel/test_constant.rb 1 4 0 0 [PASS]
96
+ test/kernel/test_populate.rb 3 9 0 0 [PASS]
97
+ test/kernel/test_callstack.rb 1 1 0 0 [PASS]
98
+ test/kernel/test_instance_class.rb 1 1 0 0 [PASS]
99
+ test/kernel/test_silence.rb 1 1 0 0 [PASS]
100
+ test/kernel/test_object_hexid.rb 1 1 0 0 [PASS]
101
+ test/kernel/test_in.rb 1 2 0 0 [PASS]
102
+ test/kernel/test_instance_assign.rb 1 3 0 0 [PASS]
103
+ test/kernel/test_object_class.rb 2 2 0 0 [PASS]
104
+ test/kernel/test_returning.rb 1 1 0 0 [PASS]
105
+ test/kernel/test_here.rb 1 1 0 0 [PASS]
106
+ test/kernel/test_deepcopy.rb 1 1 0 0 [PASS]
107
+ test/kernel/test_as.rb 4 5 0 0 [PASS]
108
+ test/test_tuple.rb 6 11 0 0 [PASS]
109
+ test/comparable/test_cmp.rb 3 11 0 0 [PASS]
110
+ test/comparable/test_comparable.rb 1 5 0 0 [PASS]
111
+ test/comparable/test_bound.rb 4 22 0 0 [PASS]
112
+ test/test_classmethods.rb 5 9 0 0 [PASS]
113
+ test/test_association.rb 3 4 0 0 [PASS]
114
+ test/test_blank.rb 1 2 0 0 [PASS]
115
+ test/test_command.rb 3 3 0 0 [PASS]
116
+ test/test_bbcode.rb 2 2 0 0 [PASS]
117
+ test/enumerable/test_uniq_by.rb 1 1 0 0 [PASS]
118
+ test/enumerable/test_occur.rb 1 4 0 0 [PASS]
119
+ test/enumerable/test_inject.rb 2 2 0 0 [PASS]
120
+ test/enumerable/test_probability.rb 5 9 0 0 [PASS]
121
+ test/enumerable/test_cluster_by.rb 2 3 0 0 [PASS]
122
+ test/enumerable/test_each_by.rb 7 7 0 0 [PASS]
123
+ test/enumerable/test_collect.rb 2 2 0 0 [PASS]
124
+ test/enumerable/test_mash.rb 5 5 0 0 [PASS]
125
+ test/test_memoize.rb 3 3 0 0 [PASS]
126
+ test/test_interval.rb 36 36 0 0 [PASS]
127
+ test/test_getoptlong.rb 1 2 0 0 [PASS]
128
+ test/test_snapshot.rb 1 3 0 0 [PASS]
129
+ test/test_succ.rb 3 16 0 0 [PASS]
130
+ test/test_style.rb 8 15 0 0 [PASS]
131
+ test/test_coroutine.rb 1 1 0 0 [PASS]
132
+ test/string/test_subtract.rb 1 3 0 0 [PASS]
133
+ test/string/test_natcmp.rb 1 5 0 0 [PASS]
134
+ test/string/test_words.rb 10 18 0 0 [PASS]
135
+ test/string/test_camelcase.rb 3 7 0 0 [PASS]
136
+ test/string/test_nchar.rb 1 4 0 0 [PASS]
137
+ test/string/test_cleave.rb 4 9 0 0 [PASS]
138
+ test/string/test_capitalized.rb 3 3 0 0 [PASS]
139
+ test/string/test_titlecase.rb 1 1 0 0 [PASS]
140
+ test/string/test_fold.rb 2 2 0 0 [PASS]
141
+ test/string/test_line_wrap.rb 1 2 0 0 [PASS]
142
+ test/string/test_to_re.rb 3 9 0 0 [PASS]
143
+ test/string/test_range.rb 3 5 0 0 [PASS]
144
+ test/string/test_align.rb 3 3 0 0 [PASS]
145
+ test/string/test_xor.rb 1 1 0 0 [PASS]
146
+ test/string/test_divide.rb 1 1 0 0 [PASS]
147
+ test/string/test_snakecase.rb 1 4 0 0 [PASS]
148
+ test/string/test_shatter.rb 1 1 0 0 [PASS]
149
+ test/string/test_interpolate.rb 1 1 0 0 [PASS]
150
+ test/string/test_tab.rb 15 129 0 0 [PASS]
151
+ test/string/test_mscan.rb 1 4 0 0 [PASS]
152
+ test/string/test_bracket.rb 7 22 0 0 [PASS]
153
+ test/test_overload.rb 10 12 0 0 [PASS]
154
+ test/module/test_nesting.rb 4 1 0 3 [FAIL]
155
+ test/module/test_ancestor.rb 1 1 0 0 [PASS]
156
+ test/module/test_alias.rb 2 2 0 0 [PASS]
157
+ test/module/test_op.rb 3 11 0 0 [PASS]
158
+ test/module/test_revise.rb 11 15 0 0 [PASS]
159
+ test/module/test_abstract.rb 2 2 0 0 [PASS]
160
+ test/module/test_clone.rb 3 7 0 0 [PASS]
161
+ test/module/test_pathize.rb 1 1 0 0 [PASS]
162
+ test/test_elementor.rb 5 8 0 0 [PASS]
163
+ test/test_to_hash.rb 5 5 0 0 [PASS]
164
+ test/test_enumerablepass.rb 8 7 0 0 [PASS]
165
+ test/time/test_to_time.rb 1 3 0 0 [PASS]
166
+ test/time/test_stamp.rb 2 2 0 0 [PASS]
167
+ test/time/test_change.rb 1 1 0 0 [PASS]
168
+ test/time/test_elapse.rb 1 1 0 0 [PASS]
169
+ test/test_ansicode.rb 2 2 0 0 [PASS]
170
+ test/test_dictionary.rb 11 31 0 0 [PASS]
171
+ test/dir/test_descend.rb 1 4 0 0 [PASS]
172
+ test/dir/test_ascend.rb 2 7 0 0 [PASS]
173
+ test/dir/test_multiglob.rb 2 2 0 0 [PASS]
174
+ test/dir/test_parent.rb 1 1 0 0 [PASS]
175
+ test/dir/test_recurse.rb 2 2 0 0 [PASS]
176
+ test/test_lrucache.rb 1 0 0 0 [PASS]
177
+ test/test_xoxo.rb 26 28 0 0 [PASS]
178
+ test/test_instantiable.rb 2 2 0 0 [PASS]
179
+ test/filetest/test_filetest.rb 1 1 0 0 [PASS]
180
+ test/class/test_descendents.rb 1 1 0 0 [PASS]
181
+ test/test_functor.rb 2 9 0 0 [PASS]
182
+ test/test_linkedlist.rb 1 20 0 0 [PASS]
183
+ test/array/test_product.rb 1 1 0 0 [PASS]
184
+ test/array/test_delete.rb 3 7 0 0 [PASS]
185
+ test/array/test_stackable.rb 2 4 0 0 [PASS]
186
+ test/array/test_select.rb 1 1 0 0 [PASS]
187
+ test/array/test_only.rb 1 4 0 0 [PASS]
188
+ test/array/test_indexable.rb 14 28 0 0 [PASS]
189
+ test/array/test_pad.rb 4 4 0 0 [PASS]
190
+ test/array/test_merge.rb 2 2 0 0 [PASS]
191
+ test/array/test_rotate.rb 2 4 0 0 [PASS]
192
+ test/test_methodspace.rb 6 6 0 0 [PASS]
193
+ test/test_synchash.rb 1 1 0 0 [PASS]
194
+ test/test_arguments.rb 6 10 0 0 [PASS]
195
+ test/regexp/test_to_re.rb 2 2 0 0 [PASS]
196
+ test/regexp/test_arity.rb 1 4 0 0 [PASS]
197
+ test/matchdata/test_matchset.rb 3 3 0 0 [PASS]
198
+ test/matchdata/test_match.rb 1 1 0 0 [PASS]
199
+ test/test_multiton.rb 6 16 0 0 [PASS]
200
+ test/exception/test_exception.rb 1 1 0 0 [PASS]
201
+ test/test_advisable.rb 2 4 0 0 [PASS]
202
+ test/test_cattr.rb 4 8 0 0 [PASS]
203
+ TOTAL 727 2227 0 3
204
+
205
+ -- Failures and Errors --
206
+
207
+ Loaded suite test/module/test_nesting
208
+ Started
209
+ EE.E
210
+ Finished in 0.000972 seconds.
211
+
212
+ 1) Error:
213
+ test_basename(TestModuleNesting):
214
+ NoMethodError: undefined method `basename' for Test::Unit::TestCase:Class
215
+ test/module/test_nesting.rb:7:in `test_basename'
216
+
217
+ 2) Error:
218
+ test_modspace(TestModuleNesting):
219
+ NoMethodError: undefined method `modspace' for Test::Unit::TestCase:Class
220
+ test/module/test_nesting.rb:18:in `test_modspace'
221
+
222
+ 3) Error:
223
+ test_spacename(TestModuleNesting):
224
+ NoMethodError: undefined method `spacename' for Test::Unit::TestCase:Class
225
+ test/module/test_nesting.rb:11:in `test_spacename'
226
+
227
+ 4 tests, 1 assertions, 0 failures, 3 errors
228
+
229
+
230
+ = Solo Test @ Thu Apr 03 11:48:36 -0400 2008
231
+
232
+ TEST FILE TESTS ASSERTIONS FAILURES ERRORS
233
+ test/integer/test_of.rb 2 2 0 0 [PASS]
234
+ test/integer/test_factorial.rb 1 5 0 0 [PASS]
235
+ test/integer/test_ordinal.rb 1 4 0 0 [PASS]
236
+ test/integer/test_bitmask.rb 6 21 0 0 [PASS]
237
+ test/integer/test_multiple.rb 1 4 0 0 [PASS]
238
+ test/test_syncarray.rb 1 1 0 0 [PASS]
239
+ test/test_crypt.rb 2 8 0 0 [PASS]
240
+ test/test_metaid.rb 4 4 0 0 [PASS]
241
+ test/test_bytes.rb 12 18 0 0 [PASS]
242
+ test/test_infinity.rb 4 16 0 0 [PASS]
243
+ test/symbol/test_generate.rb 2 4 0 0 [PASS]
244
+ test/symbol/test_chomp.rb 2 2 0 0 [PASS]
245
+ test/symbol/test_not.rb 1 2 0 0 [PASS]
246
+ test/test_1stclassmethod.rb 2 3 0 0 [PASS]
247
+ test/test_typecast.rb 6 6 0 0 [PASS]
248
+ test/test_buildable.rb 2 2 0 0 [PASS]
249
+ test/test_instantise.rb 2 2 0 0 [PASS]
250
+ test/test_openobject.rb 13 29 0 0 [PASS]
251
+ test/test_equatable.rb 1 3 0 0 [PASS]
252
+ test/test_uri.rb 4 4 0 0 [PASS]
253
+ test/test_opencascade.rb 7 109 0 0 [PASS]
254
+ test/test_multipliers.rb 21 21 0 0 [PASS]
255
+ test/test_autoarray.rb 0 0 0 0 [PASS]
256
+ test/test_random.rb 20 260 0 0 [PASS]
257
+ test/test_basicobject.rb 7 13 0 0 [PASS]
258
+ test/test_boolean.rb 8 35 0 0 [PASS]
259
+ test/test_continuation.rb 1 1 0 0 [PASS]
260
+ test/test_prototype.rb 2 4 0 0 [PASS]
261
+ test/test_ostruct.rb 13 41 0 0 [PASS]
262
+ test/numeric/test_distance.rb 1 3 0 0 [PASS]
263
+ test/numeric/test_round.rb 4 8 0 0 [PASS]
264
+ test/numeric/test_approx.rb 1 3 0 0 [PASS]
265
+ test/test_elementwise.rb 2 8 0 0 [PASS]
266
+ test/test_class_extension.rb 5 9 0 0 [PASS]
267
+ test/binding/test_defined.rb 1 1 0 0 [PASS]
268
+ test/binding/test_self.rb 1 1 0 0 [PASS]
269
+ test/binding/test_caller.rb 7 7 0 0 [PASS]
270
+ test/binding/test_local_variables.rb 1 1 0 0 [PASS]
271
+ test/binding/test_opvars.rb 2 3 0 0 [PASS]
272
+ test/test_thread.rb 3 3 0 0 [PASS]
273
+ test/test_date.rb 9 11 0 0 [PASS]
274
+ test/test_dependency.rb 4 4 0 0 [PASS]
275
+ test/proc/test_bind.rb 1 100 0 0 [PASS]
276
+ test/proc/test_to_method.rb 2 6 0 0 [PASS]
277
+ test/proc/test_curry.rb 2 3 0 0 [PASS]
278
+ test/proc/test_compose.rb 2 4 0 0 [PASS]
279
+ test/proc/test_partial.rb 3 3 0 0 [PASS]
280
+ test/range/test_overlap.rb 2 2 0 0 [PASS]
281
+ test/range/test_combine.rb 2 2 0 0 [PASS]
282
+ test/range/test_to_r.rb 2 2 0 0 [PASS]
283
+ test/range/test_within.rb 5 15 0 0 [PASS]
284
+ test/test_ruby/symbol/test_succ.rb 1 3 0 0 [PASS]
285
+ test/test_ruby/kernel/test_tap.rb 2 2 0 0 [PASS]
286
+ test/test_ruby/array/test_combination.rb 2 2 0 0 [PASS]
287
+ test/test_ruby/array/test_product.rb 1 1 0 0 [PASS]
288
+ test/test_ruby/array/test_permutation.rb 1 1 0 0 [PASS]
289
+ test/test_times.rb 13 13 0 0 [PASS]
290
+ test/test_binreadable.rb 4 13 0 0 [PASS]
291
+ test/file/test_file.rb 9 9 0 0 [PASS]
292
+ test/test_cloneable.rb 2 6 0 0 [PASS]
293
+ test/test_inheritor.rb 20 23 0 0 [PASS]
294
+ test/test_uninheritable.rb 1 2 0 0 [PASS]
295
+ test/test_timer.rb 3 8 0 0 [PASS]
296
+ test/test_annotations.rb 16 22 0 0 [PASS]
297
+ test/test_recorder.rb 1 1 0 0 [PASS]
298
+ test/test_ruby.rb 21 441 0 0 [PASS]
299
+ test/hash/test_collate.rb 2 12 0 0 [PASS]
300
+ test/hash/test_keys.rb 3 5 0 0 [PASS]
301
+ test/hash/test_inverse.rb 1 3 0 0 [PASS]
302
+ test/hash/test_stringify_keys.rb 2 4 0 0 [PASS]
303
+ test/hash/test_rekey2.rb 5 10 0 0 [PASS]
304
+ test/hash/test_delete.rb 3 3 0 0 [PASS]
305
+ test/hash/test_symbolize_keys.rb 2 4 0 0 [PASS]
306
+ test/hash/test_weave.rb 1 1 0 0 [PASS]
307
+ test/hash/test_alias.rb 1 3 0 0 [PASS]
308
+ test/hash/test_update.rb 5 5 0 0 [PASS]
309
+ test/hash/test_swap.rb 1 1 0 0 [PASS]
310
+ test/hash/test_at.rb 1 2 0 0 [PASS]
311
+ test/hash/test_op.rb 5 5 0 0 [PASS]
312
+ test/hash/test_select.rb 1 12 0 0 [PASS]
313
+ test/hash/test_autonew.rb 1 0 0 0 [PASS]
314
+ test/hash/test_insert.rb 1 2 0 0 [PASS]
315
+ test/hash/test_traverse.rb 2 3 0 0 [PASS]
316
+ test/hash/test_zipnew.rb 1 1 0 0 [PASS]
317
+ test/hash/test_mash.rb 2 2 0 0 [PASS]
318
+ test/hash/test_merge.rb 1 1 0 0 [PASS]
319
+ test/hash/test_rekey.rb 4 14 0 0 [PASS]
320
+ test/kernel/test_val.rb 3 6 0 0 [PASS]
321
+ test/kernel/test_not_nil.rb 1 4 0 0 [PASS]
322
+ test/kernel/test_resc.rb 1 2 0 0 [PASS]
323
+ test/kernel/test_attr_singleton.rb 3 8 0 0 [PASS]
324
+ test/kernel/test_constant.rb 1 4 0 0 [PASS]
325
+ test/kernel/test_populate.rb 3 9 0 0 [PASS]
326
+ test/kernel/test_callstack.rb 1 1 0 0 [PASS]
327
+ test/kernel/test_instance_class.rb 1 1 0 0 [PASS]
328
+ test/kernel/test_silence.rb 1 1 0 0 [PASS]
329
+ test/kernel/test_object_hexid.rb 1 1 0 0 [PASS]
330
+ test/kernel/test_in.rb 1 2 0 0 [PASS]
331
+ test/kernel/test_instance_assign.rb 1 3 0 0 [PASS]
332
+ test/kernel/test_object_class.rb 2 2 0 0 [PASS]
333
+ test/kernel/test_returning.rb 1 1 0 0 [PASS]
334
+ test/kernel/test_here.rb 1 1 0 0 [PASS]
335
+ test/kernel/test_deepcopy.rb 1 1 0 0 [PASS]
336
+ test/kernel/test_as.rb 4 5 0 0 [PASS]
337
+ test/test_tuple.rb 6 11 0 0 [PASS]
338
+ test/comparable/test_cmp.rb 3 11 0 0 [PASS]
339
+ test/comparable/test_comparable.rb 1 5 0 0 [PASS]
340
+ test/comparable/test_bound.rb 4 22 0 0 [PASS]
341
+ test/test_classmethods.rb 5 9 0 0 [PASS]
342
+ test/test_association.rb 3 4 0 0 [PASS]
343
+ test/test_blank.rb 1 2 0 0 [PASS]
344
+ test/test_command.rb 3 3 0 0 [PASS]
345
+ test/test_bbcode.rb 2 2 0 0 [PASS]
346
+ test/enumerable/test_uniq_by.rb 1 1 0 0 [PASS]
347
+ test/enumerable/test_occur.rb 1 4 0 0 [PASS]
348
+ test/enumerable/test_inject.rb 2 2 0 0 [PASS]
349
+ test/enumerable/test_probability.rb 5 9 0 0 [PASS]
350
+ test/enumerable/test_cluster_by.rb 2 3 0 0 [PASS]
351
+ test/enumerable/test_each_by.rb 7 7 0 0 [PASS]
352
+ test/enumerable/test_collect.rb 2 2 0 0 [PASS]
353
+ test/enumerable/test_mash.rb 5 5 0 0 [PASS]
354
+ test/test_memoize.rb 3 3 0 0 [PASS]
355
+ test/test_interval.rb 36 36 0 0 [PASS]
356
+ test/test_getoptlong.rb 1 2 0 0 [PASS]
357
+ test/test_snapshot.rb 1 3 0 0 [PASS]
358
+ test/test_succ.rb 3 16 0 0 [PASS]
359
+ test/test_style.rb 8 15 0 0 [PASS]
360
+ test/test_coroutine.rb 1 1 0 0 [PASS]
361
+ test/string/test_subtract.rb 1 3 0 0 [PASS]
362
+ test/string/test_natcmp.rb 1 5 0 0 [PASS]
363
+ test/string/test_words.rb 10 18 0 0 [PASS]
364
+ test/string/test_camelcase.rb 3 7 0 0 [PASS]
365
+ test/string/test_nchar.rb 1 4 0 0 [PASS]
366
+ test/string/test_cleave.rb 4 9 0 0 [PASS]
367
+ test/string/test_capitalized.rb 3 3 0 0 [PASS]
368
+ test/string/test_titlecase.rb 1 1 0 0 [PASS]
369
+ test/string/test_fold.rb 2 2 0 0 [PASS]
370
+ test/string/test_line_wrap.rb 1 2 0 0 [PASS]
371
+ test/string/test_to_re.rb 3 9 0 0 [PASS]
372
+ test/string/test_range.rb 3 5 0 0 [PASS]
373
+ test/string/test_align.rb 3 3 0 0 [PASS]
374
+ test/string/test_xor.rb 1 1 0 0 [PASS]
375
+ test/string/test_divide.rb 1 1 0 0 [PASS]
376
+ test/string/test_snakecase.rb 1 4 0 0 [PASS]
377
+ test/string/test_shatter.rb 1 1 0 0 [PASS]
378
+ test/string/test_interpolate.rb 1 1 0 0 [PASS]
379
+ test/string/test_tab.rb 15 129 0 0 [PASS]
380
+ test/string/test_mscan.rb 1 4 0 0 [PASS]
381
+ test/string/test_bracket.rb 7 22 0 0 [PASS]
382
+ test/test_overload.rb 10 12 0 0 [PASS]
383
+ test/module/test_spacename.rb 1 4 0 0 [PASS]
384
+ test/module/test_basename.rb 1 1 0 0 [PASS]
385
+ test/module/test_nesting.rb 1 1 0 0 [PASS]
386
+ test/module/test_ancestor.rb 1 1 0 0 [PASS]
387
+ test/module/test_modspace.rb 1 3 0 0 [PASS]
388
+ test/module/test_alias.rb 2 2 0 0 [PASS]
389
+ test/module/test_op.rb 3 11 0 0 [PASS]
390
+ test/module/test_revise.rb 11 15 0 0 [PASS]
391
+ test/module/test_abstract.rb 2 2 0 0 [PASS]
392
+ test/module/test_clone.rb 3 7 0 0 [PASS]
393
+ test/module/test_pathize.rb 1 1 0 0 [PASS]
394
+ test/test_elementor.rb 5 8 0 0 [PASS]
395
+ test/test_to_hash.rb 5 5 0 0 [PASS]
396
+ test/test_enumerablepass.rb 8 7 0 0 [PASS]
397
+ test/time/test_to_time.rb 1 3 0 0 [PASS]
398
+ test/time/test_stamp.rb 2 2 0 0 [PASS]
399
+ test/time/test_change.rb 1 1 0 0 [PASS]
400
+ test/time/test_elapse.rb 1 1 0 0 [PASS]
401
+ test/test_ansicode.rb 2 2 0 0 [PASS]
402
+ test/test_dictionary.rb 11 31 0 0 [PASS]
403
+ test/dir/test_descend.rb 1 4 0 0 [PASS]
404
+ test/dir/test_ascend.rb 2 7 0 0 [PASS]
405
+ test/dir/test_multiglob.rb 2 2 0 0 [PASS]
406
+ test/dir/test_parent.rb 1 1 0 0 [PASS]
407
+ test/dir/test_recurse.rb 2 2 0 0 [PASS]
408
+ test/test_lrucache.rb 1 0 0 0 [PASS]
409
+ test/test_xoxo.rb 26 28 0 0 [PASS]
410
+ test/test_instantiable.rb 2 2 0 0 [PASS]
411
+ test/filetest/test_filetest.rb 1 1 0 0 [PASS]
412
+ test/class/test_descendents.rb 1 1 0 0 [PASS]
413
+ test/test_functor.rb 2 9 0 0 [PASS]
414
+ test/test_linkedlist.rb 1 20 0 0 [PASS]
415
+ test/array/test_product.rb 1 1 0 0 [PASS]
416
+ test/array/test_delete.rb 3 7 0 0 [PASS]
417
+ test/array/test_stackable.rb 2 4 0 0 [PASS]
418
+ test/array/test_select.rb 1 1 0 0 [PASS]
419
+ test/array/test_only.rb 1 4 0 0 [PASS]
420
+ test/array/test_indexable.rb 14 28 0 0 [PASS]
421
+ test/array/test_pad.rb 4 4 0 0 [PASS]
422
+ test/array/test_merge.rb 2 2 0 0 [PASS]
423
+ test/array/test_rotate.rb 2 4 0 0 [PASS]
424
+ test/test_methodspace.rb 6 6 0 0 [PASS]
425
+ test/test_synchash.rb 1 1 0 0 [PASS]
426
+ test/test_arguments.rb 6 10 0 0 [PASS]
427
+ test/regexp/test_to_re.rb 2 2 0 0 [PASS]
428
+ test/regexp/test_arity.rb 1 4 0 0 [PASS]
429
+ test/matchdata/test_matchset.rb 3 3 0 0 [PASS]
430
+ test/matchdata/test_match.rb 1 1 0 0 [PASS]
431
+ test/test_multiton.rb 6 16 0 0 [PASS]
432
+ test/exception/test_exception.rb 1 1 0 0 [PASS]
433
+ test/test_advisable.rb 2 4 0 0 [PASS]
434
+ test/test_cattr.rb 4 8 0 0 [PASS]
435
+ TOTAL 727 2235 0 0
436
+
437
+
438
+ = Solo Test @ Thu Apr 03 12:39:36 -0400 2008
439
+
440
+ TEST FILE TESTS ASSERTIONS FAILURES ERRORS
441
+ test/integer/test_of.rb 2 2 0 0 [PASS]
442
+ test/integer/test_factorial.rb 1 5 0 0 [PASS]
443
+ test/integer/test_ordinal.rb 1 4 0 0 [PASS]
444
+ test/integer/test_bitmask.rb 6 21 0 0 [PASS]
445
+ test/integer/test_multiple.rb 1 4 0 0 [PASS]
446
+ test/test_syncarray.rb 1 1 0 0 [PASS]
447
+ test/test_crypt.rb 2 8 0 0 [PASS]
448
+ test/test_metaid.rb 4 4 0 0 [PASS]
449
+ test/test_bytes.rb 12 18 0 0 [PASS]
450
+ test/test_infinity.rb 4 16 0 0 [PASS]
451
+ test/symbol/test_generate.rb 2 4 0 0 [PASS]
452
+ test/symbol/test_chomp.rb 2 2 0 0 [PASS]
453
+ test/symbol/test_not.rb 1 2 0 0 [PASS]
454
+ test/test_1stclassmethod.rb 2 3 0 0 [PASS]
455
+ test/test_typecast.rb 6 6 0 0 [PASS]
456
+ test/test_buildable.rb 2 2 0 0 [PASS]
457
+ test/test_instantise.rb 2 2 0 0 [PASS]
458
+ test/test_openobject.rb 13 29 0 0 [PASS]
459
+ test/test_equatable.rb 1 3 0 0 [PASS]
460
+ test/test_uri.rb 4 4 0 0 [PASS]
461
+ test/test_opencascade.rb 7 109 0 0 [PASS]
462
+ test/test_multipliers.rb 21 21 0 0 [PASS]
463
+ test/test_autoarray.rb 0 0 0 0 [PASS]
464
+ test/test_random.rb 20 260 0 0 [PASS]
465
+ test/test_basicobject.rb 7 13 0 0 [PASS]
466
+ test/test_boolean.rb 8 35 0 0 [PASS]
467
+ test/test_continuation.rb 1 1 0 0 [PASS]
468
+ test/test_prototype.rb 2 4 0 0 [PASS]
469
+ test/test_ostruct.rb 13 41 0 0 [PASS]
470
+ test/numeric/test_distance.rb 1 3 0 0 [PASS]
471
+ test/numeric/test_round.rb 4 8 0 0 [PASS]
472
+ test/numeric/test_approx.rb 1 3 0 0 [PASS]
473
+ test/test_elementwise.rb 2 8 0 0 [PASS]
474
+ test/test_class_extension.rb 5 9 0 0 [PASS]
475
+ test/binding/test_defined.rb 1 1 0 0 [PASS]
476
+ test/binding/test_self.rb 1 1 0 0 [PASS]
477
+ test/binding/test_caller.rb 7 7 0 0 [PASS]
478
+ test/binding/test_local_variables.rb 1 1 0 0 [PASS]
479
+ test/binding/test_opvars.rb 2 3 0 0 [PASS]
480
+ test/test_thread.rb 3 3 0 0 [PASS]
481
+ test/test_date.rb 9 11 0 0 [PASS]
482
+ test/test_dependency.rb 4 4 0 0 [PASS]
483
+ test/proc/test_bind.rb 1 100 0 0 [PASS]
484
+ test/proc/test_to_method.rb 2 6 0 0 [PASS]
485
+ test/proc/test_curry.rb 2 3 0 0 [PASS]
486
+ test/proc/test_compose.rb 2 4 0 0 [PASS]
487
+ test/proc/test_partial.rb 3 3 0 0 [PASS]
488
+ test/range/test_overlap.rb 2 2 0 0 [PASS]
489
+ test/range/test_combine.rb 2 2 0 0 [PASS]
490
+ test/range/test_to_r.rb 2 2 0 0 [PASS]
491
+ test/range/test_within.rb 5 15 0 0 [PASS]
492
+ test/test_ruby/symbol/test_succ.rb 1 3 0 0 [PASS]
493
+ test/test_ruby/kernel/test_tap.rb 2 2 0 0 [PASS]
494
+ test/test_ruby/array/test_combination.rb 2 2 0 0 [PASS]
495
+ test/test_ruby/array/test_product.rb 1 1 0 0 [PASS]
496
+ test/test_ruby/array/test_permutation.rb 1 1 0 0 [PASS]
497
+ test/test_times.rb 13 13 0 0 [PASS]
498
+ test/test_binreadable.rb 4 13 0 0 [PASS]
499
+ test/file/test_file.rb 9 9 0 0 [PASS]
500
+ test/test_cloneable.rb 2 6 0 0 [PASS]
501
+ test/test_inheritor.rb 20 23 0 0 [PASS]
502
+ test/test_uninheritable.rb 1 2 0 0 [PASS]
503
+ test/test_timer.rb 3 8 0 0 [PASS]
504
+ test/test_annotations.rb 16 22 0 0 [PASS]
505
+ test/test_recorder.rb 1 1 0 0 [PASS]
506
+ test/test_ruby.rb 21 441 0 0 [PASS]
507
+ test/hash/test_collate.rb 2 12 0 0 [PASS]
508
+ test/hash/test_keys.rb 3 5 0 0 [PASS]
509
+ test/hash/test_inverse.rb 1 3 0 0 [PASS]
510
+ test/hash/test_stringify_keys.rb 2 4 0 0 [PASS]
511
+ test/hash/test_rekey2.rb 5 10 0 0 [PASS]
512
+ test/hash/test_delete.rb 3 3 0 0 [PASS]
513
+ test/hash/test_symbolize_keys.rb 2 4 0 0 [PASS]
514
+ test/hash/test_weave.rb 1 1 0 0 [PASS]
515
+ test/hash/test_alias.rb 1 3 0 0 [PASS]
516
+ test/hash/test_update.rb 5 5 0 0 [PASS]
517
+ test/hash/test_swap.rb 1 1 0 0 [PASS]
518
+ test/hash/test_at.rb 1 2 0 0 [PASS]
519
+ test/hash/test_op.rb 5 5 0 0 [PASS]
520
+ test/hash/test_select.rb 1 12 0 0 [PASS]
521
+ test/hash/test_autonew.rb 1 0 0 0 [PASS]
522
+ test/hash/test_insert.rb 1 2 0 0 [PASS]
523
+ test/hash/test_traverse.rb 2 3 0 0 [PASS]
524
+ test/hash/test_zipnew.rb 1 1 0 0 [PASS]
525
+ test/hash/test_mash.rb 2 2 0 0 [PASS]
526
+ test/hash/test_merge.rb 1 1 0 0 [PASS]
527
+ test/hash/test_rekey.rb 4 14 0 0 [PASS]
528
+ test/kernel/test_val.rb 3 6 0 0 [PASS]
529
+ test/kernel/test_not_nil.rb 1 4 0 0 [PASS]
530
+ test/kernel/test_resc.rb 1 2 0 0 [PASS]
531
+ test/kernel/test_attr_singleton.rb 3 8 0 0 [PASS]
532
+ test/kernel/test_constant.rb 1 4 0 0 [PASS]
533
+ test/kernel/test_populate.rb 3 9 0 0 [PASS]
534
+ test/kernel/test_callstack.rb 1 1 0 0 [PASS]
535
+ test/kernel/test_instance_class.rb 1 1 0 0 [PASS]
536
+ test/kernel/test_silence.rb 1 1 0 0 [PASS]
537
+ test/kernel/test_object_hexid.rb 1 1 0 0 [PASS]
538
+ test/kernel/test_in.rb 1 2 0 0 [PASS]
539
+ test/kernel/test_instance_assign.rb 1 3 0 0 [PASS]
540
+ test/kernel/test_object_class.rb 2 2 0 0 [PASS]
541
+ test/kernel/test_returning.rb 1 1 0 0 [PASS]
542
+ test/kernel/test_here.rb 1 1 0 0 [PASS]
543
+ test/kernel/test_deepcopy.rb 1 1 0 0 [PASS]
544
+ test/kernel/test_as.rb 4 5 0 0 [PASS]
545
+ test/test_tuple.rb 6 11 0 0 [PASS]
546
+ test/comparable/test_cmp.rb 3 11 0 0 [PASS]
547
+ test/comparable/test_comparable.rb 1 5 0 0 [PASS]
548
+ test/comparable/test_bound.rb 4 22 0 0 [PASS]
549
+ test/test_classmethods.rb 5 9 0 0 [PASS]
550
+ test/test_association.rb 3 4 0 0 [PASS]
551
+ test/test_blank.rb 1 2 0 0 [PASS]
552
+ test/test_command.rb 3 3 0 0 [PASS]
553
+ test/test_bbcode.rb 2 2 0 0 [PASS]
554
+ test/enumerable/test_uniq_by.rb 1 1 0 0 [PASS]
555
+ test/enumerable/test_occur.rb 1 4 0 0 [PASS]
556
+ test/enumerable/test_inject.rb 2 2 0 0 [PASS]
557
+ test/enumerable/test_probability.rb 5 9 0 0 [PASS]
558
+ test/enumerable/test_cluster_by.rb 2 3 0 0 [PASS]
559
+ test/enumerable/test_each_by.rb 7 7 0 0 [PASS]
560
+ test/enumerable/test_collect.rb 2 2 0 0 [PASS]
561
+ test/enumerable/test_mash.rb 5 5 0 0 [PASS]
562
+ test/test_memoize.rb 3 3 0 0 [PASS]
563
+ test/test_interval.rb 36 36 0 0 [PASS]
564
+ test/test_getoptlong.rb 1 2 0 0 [PASS]
565
+ test/test_snapshot.rb 1 3 0 0 [PASS]
566
+ test/test_succ.rb 3 16 0 0 [PASS]
567
+ test/test_style.rb 8 15 0 0 [PASS]
568
+ test/test_coroutine.rb 1 1 0 0 [PASS]
569
+ test/string/test_subtract.rb 1 3 0 0 [PASS]
570
+ test/string/test_natcmp.rb 1 5 0 0 [PASS]
571
+ test/string/test_words.rb 10 18 0 0 [PASS]
572
+ test/string/test_camelcase.rb 3 7 0 0 [PASS]
573
+ test/string/test_nchar.rb 1 4 0 0 [PASS]
574
+ test/string/test_cleave.rb 4 9 0 0 [PASS]
575
+ test/string/test_capitalized.rb 3 3 0 0 [PASS]
576
+ test/string/test_titlecase.rb 1 1 0 0 [PASS]
577
+ test/string/test_fold.rb 2 2 0 0 [PASS]
578
+ test/string/test_line_wrap.rb 1 2 0 0 [PASS]
579
+ test/string/test_to_re.rb 3 9 0 0 [PASS]
580
+ test/string/test_range.rb 3 5 0 0 [PASS]
581
+ test/string/test_align.rb 3 3 0 0 [PASS]
582
+ test/string/test_xor.rb 1 1 0 0 [PASS]
583
+ test/string/test_divide.rb 1 1 0 0 [PASS]
584
+ test/string/test_snakecase.rb 1 4 0 0 [PASS]
585
+ test/string/test_shatter.rb 1 1 0 0 [PASS]
586
+ test/string/test_interpolate.rb 1 1 0 0 [PASS]
587
+ test/string/test_tab.rb 15 129 0 0 [PASS]
588
+ test/string/test_mscan.rb 1 4 0 0 [PASS]
589
+ test/string/test_bracket.rb 7 22 0 0 [PASS]
590
+ test/test_overload.rb 10 12 0 0 [PASS]
591
+ test/module/test_spacename.rb 1 4 0 0 [PASS]
592
+ test/module/test_basename.rb 1 1 0 0 [PASS]
593
+ test/module/test_nesting.rb 1 1 0 0 [PASS]
594
+ test/module/test_ancestor.rb 1 1 0 0 [PASS]
595
+ test/module/test_modspace.rb 1 3 0 0 [PASS]
596
+ test/module/test_alias.rb 2 2 0 0 [PASS]
597
+ test/module/test_op.rb 3 11 0 0 [PASS]
598
+ test/module/test_revise.rb 11 15 0 0 [PASS]
599
+ test/module/test_abstract.rb 2 2 0 0 [PASS]
600
+ test/module/test_clone.rb 3 7 0 0 [PASS]
601
+ test/module/test_pathize.rb 1 1 0 0 [PASS]
602
+ test/test_elementor.rb 5 8 0 0 [PASS]
603
+ test/test_to_hash.rb 5 5 0 0 [PASS]
604
+ test/test_enumerablepass.rb 8 7 0 0 [PASS]
605
+ test/time/test_to_time.rb 1 3 0 0 [PASS]
606
+ test/time/test_stamp.rb 2 2 0 0 [PASS]
607
+ test/time/test_change.rb 1 1 0 0 [PASS]
608
+ test/time/test_elapse.rb 1 1 0 0 [PASS]
609
+ test/test_ansicode.rb 2 2 0 0 [PASS]
610
+ test/test_dictionary.rb 11 31 0 0 [PASS]
611
+ test/dir/test_descend.rb 1 4 0 0 [PASS]
612
+ test/dir/test_ascend.rb 2 7 0 0 [PASS]
613
+ test/dir/test_multiglob.rb 2 2 0 0 [PASS]
614
+ test/dir/test_parent.rb 1 1 0 0 [PASS]
615
+ test/dir/test_recurse.rb 2 2 0 0 [PASS]
616
+ test/test_lrucache.rb 1 0 0 0 [PASS]
617
+ test/test_xoxo.rb 26 28 0 0 [PASS]
618
+ test/test_instantiable.rb 2 2 0 0 [PASS]
619
+ test/filetest/test_filetest.rb 1 1 0 0 [PASS]
620
+ test/class/test_descendents.rb 1 1 0 0 [PASS]
621
+ test/test_functor.rb 2 9 0 0 [PASS]
622
+ test/test_linkedlist.rb 1 20 0 0 [PASS]
623
+ test/array/test_product.rb 1 1 0 0 [PASS]
624
+ test/array/test_delete.rb 3 7 0 0 [PASS]
625
+ test/array/test_stackable.rb 2 4 0 0 [PASS]
626
+ test/array/test_select.rb 1 1 0 0 [PASS]
627
+ test/array/test_only.rb 1 4 0 0 [PASS]
628
+ test/array/test_indexable.rb 14 28 0 0 [PASS]
629
+ test/array/test_pad.rb 4 4 0 0 [PASS]
630
+ test/array/test_merge.rb 2 2 0 0 [PASS]
631
+ test/array/test_rotate.rb 2 4 0 0 [PASS]
632
+ test/test_methodspace.rb 6 6 0 0 [PASS]
633
+ test/test_synchash.rb 1 1 0 0 [PASS]
634
+ test/test_arguments.rb 6 10 0 0 [PASS]
635
+ test/regexp/test_to_re.rb 2 2 0 0 [PASS]
636
+ test/regexp/test_arity.rb 1 4 0 0 [PASS]
637
+ test/matchdata/test_matchset.rb 3 3 0 0 [PASS]
638
+ test/matchdata/test_match.rb 1 1 0 0 [PASS]
639
+ test/test_multiton.rb 6 16 0 0 [PASS]
640
+ test/exception/test_exception.rb 1 1 0 0 [PASS]
641
+ test/test_advisable.rb 2 4 0 0 [PASS]
642
+ test/test_cattr.rb 4 8 0 0 [PASS]
643
+ TOTAL 727 2235 0 0
644
+
645
+