glib2 0.90.7-x86-mingw32 → 0.90.8-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. data/ChangeLog +68 -0
  2. data/ext/glib2/rbglib.c +51 -15
  3. data/ext/glib2/rbglib.h +10 -2
  4. data/ext/glib2/rbglib_bookmarkfile.c +37 -74
  5. data/ext/glib2/rbglib_completion.c +8 -16
  6. data/ext/glib2/rbglib_convert.c +8 -18
  7. data/ext/glib2/rbglib_error.c +2 -8
  8. data/ext/glib2/rbglib_i18n.c +1 -2
  9. data/ext/glib2/rbglib_iochannel.c +81 -127
  10. data/ext/glib2/rbglib_keyfile.c +38 -86
  11. data/ext/glib2/rbglib_maincontext.c +29 -64
  12. data/ext/glib2/rbglib_mainloop.c +4 -8
  13. data/ext/glib2/rbglib_messages.c +7 -17
  14. data/ext/glib2/rbglib_pollfd.c +7 -14
  15. data/ext/glib2/rbglib_shell.c +3 -6
  16. data/ext/glib2/rbglib_source.c +14 -28
  17. data/ext/glib2/rbglib_spawn.c +7 -14
  18. data/ext/glib2/rbglib_threads.c +2 -4
  19. data/ext/glib2/rbglib_timer.c +7 -14
  20. data/ext/glib2/rbglib_unicode.c +45 -16
  21. data/ext/glib2/rbglib_utils.c +25 -50
  22. data/ext/glib2/rbglib_win32.c +10 -17
  23. data/ext/glib2/rbgobj_boxed.c +9 -21
  24. data/ext/glib2/rbgobj_closure.c +5 -11
  25. data/ext/glib2/rbgobj_enums.c +1 -2
  26. data/ext/glib2/rbgobj_object.c +23 -59
  27. data/ext/glib2/rbgobj_param.c +7 -15
  28. data/ext/glib2/rbgobj_signal.c +25 -65
  29. data/ext/glib2/rbgobj_type.c +36 -81
  30. data/ext/glib2/rbgobj_typeinstance.c +3 -6
  31. data/ext/glib2/rbgobj_typeinterface.c +3 -6
  32. data/ext/glib2/rbgobj_typemodule.c +4 -8
  33. data/ext/glib2/rbgobj_typeplugin.c +2 -4
  34. data/ext/glib2/rbgobj_valuetypes.c +7 -15
  35. data/ext/glib2/rbgobject.c +8 -18
  36. data/ext/glib2/rbgobject.h +3 -0
  37. data/ext/glib2/rbgprivate.h +0 -1
  38. data/ext/glib2/rbgutil.c +3 -6
  39. data/lib/1.8/glib2.so +0 -0
  40. data/lib/1.9/glib2.so +0 -0
  41. data/lib/gnome2-raketask.rb +1 -0
  42. data/lib/mkmf-gnome2.rb +12 -9
  43. data/test-unit/History.txt +43 -1
  44. data/test-unit/Manifest.txt +1 -1
  45. data/test-unit/html/index.html +62 -24
  46. data/test-unit/html/index.html.ja +54 -25
  47. data/test-unit/html/test-unit.css +3 -3
  48. data/test-unit/lib/test/unit/assertions.rb +489 -36
  49. data/test-unit/lib/test/unit/autorunner.rb +40 -0
  50. data/test-unit/lib/test/unit/collector.rb +6 -4
  51. data/test-unit/lib/test/unit/collector/load.rb +48 -5
  52. data/test-unit/lib/test/unit/collector/xml.rb +250 -0
  53. data/test-unit/lib/test/unit/error.rb +4 -3
  54. data/test-unit/lib/test/unit/fixture.rb +12 -3
  55. data/test-unit/lib/test/unit/runner/xml.rb +15 -0
  56. data/test-unit/lib/test/unit/testcase.rb +48 -16
  57. data/test-unit/lib/test/unit/testresult.rb +6 -2
  58. data/test-unit/lib/test/unit/testsuite.rb +24 -2
  59. data/test-unit/lib/test/unit/ui/console/testrunner.rb +65 -28
  60. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +11 -2
  61. data/test-unit/lib/test/unit/ui/xml/testrunner.rb +224 -0
  62. data/test-unit/lib/test/unit/version.rb +1 -1
  63. data/test-unit/test/run-test.rb +7 -0
  64. data/test-unit/test/{test_assertions.rb → test-assertions.rb} +708 -77
  65. data/test-unit/test/test-fixture.rb +37 -0
  66. data/test-unit/test/test-testcase.rb +24 -7
  67. data/test-unit/test/test_testsuite.rb +19 -11
  68. data/test/test_iochannel.rb +9 -9
  69. data/test/test_unicode.rb +44 -31
  70. metadata +8 -5
@@ -63,6 +63,7 @@ rbgobj_initialize_object(VALUE obj, gpointer cobj)
63
63
  break;
64
64
  default:
65
65
  rbgobj_convert_initialize(type, obj, cobj);
66
+ break;
66
67
  }
67
68
  }
68
69
 
@@ -165,8 +166,7 @@ rbgobj_ruby_object_from_instance_with_unref(gpointer instance)
165
166
  /**********************************************************************/
166
167
 
167
168
  void
168
- rbgobj_add_relative(obj, relative)
169
- VALUE obj, relative;
169
+ rbgobj_add_relative(VALUE obj, VALUE relative)
170
170
  {
171
171
  VALUE hash = Qnil;
172
172
 
@@ -181,8 +181,7 @@ rbgobj_add_relative(obj, relative)
181
181
  }
182
182
 
183
183
  void
184
- rbgobj_invalidate_relatives(obj)
185
- VALUE obj;
184
+ rbgobj_invalidate_relatives(VALUE obj)
186
185
  {
187
186
  if (RVAL2CBOOL(rb_ivar_defined(obj, id_relatives)))
188
187
  rb_ivar_set(obj, id_relatives, Qnil);
@@ -191,9 +190,7 @@ rbgobj_invalidate_relatives(obj)
191
190
  }
192
191
 
193
192
  void
194
- rbgobj_add_relative_removable(obj, relative, obj_ivar_id, hash_key)
195
- VALUE obj, relative, hash_key;
196
- ID obj_ivar_id;
193
+ rbgobj_add_relative_removable(VALUE obj, VALUE relative, ID obj_ivar_id, VALUE hash_key)
197
194
  {
198
195
  VALUE hash = Qnil;
199
196
 
@@ -208,9 +205,7 @@ rbgobj_add_relative_removable(obj, relative, obj_ivar_id, hash_key)
208
205
  }
209
206
 
210
207
  VALUE
211
- rbgobj_get_relative_removable(obj, obj_ivar_id, hash_key)
212
- VALUE obj, hash_key;
213
- ID obj_ivar_id;
208
+ rbgobj_get_relative_removable(VALUE obj, ID obj_ivar_id, VALUE hash_key)
214
209
  {
215
210
  VALUE hash = Qnil;
216
211
 
@@ -224,9 +219,7 @@ rbgobj_get_relative_removable(obj, obj_ivar_id, hash_key)
224
219
  }
225
220
 
226
221
  void
227
- rbgobj_remove_relative(obj, obj_ivar_id, hash_key)
228
- VALUE obj, hash_key;
229
- ID obj_ivar_id;
222
+ rbgobj_remove_relative(VALUE obj, ID obj_ivar_id, VALUE hash_key)
230
223
  {
231
224
  VALUE hash = Qnil;
232
225
 
@@ -241,9 +234,7 @@ rbgobj_remove_relative(obj, obj_ivar_id, hash_key)
241
234
  }
242
235
 
243
236
  void
244
- rbgobj_remove_relative_all(obj, obj_ivar_id)
245
- VALUE obj;
246
- ID obj_ivar_id;
237
+ rbgobj_remove_relative_all(VALUE obj, ID obj_ivar_id)
247
238
  {
248
239
  rb_ivar_set(obj, obj_ivar_id, Qnil);
249
240
  }
@@ -255,8 +246,7 @@ static GHashTable* prop_exclude_list;
255
246
  #define IS_FLAG(bitmask, flag) (((bitmask) & (flag)) == (flag))
256
247
 
257
248
  void
258
- rbgobj_define_property_accessors(klass)
259
- VALUE klass;
249
+ rbgobj_define_property_accessors(VALUE klass)
260
250
  {
261
251
  GType gtype;
262
252
  GParamSpec** pspecs = NULL;
@@ -143,6 +143,9 @@ extern VALUE rbgobj_create_object(VALUE klass); /* deprecated */
143
143
 
144
144
  extern VALUE rbgobj_get_ruby_object_from_gobject(GObject* gobj, gboolean alloc);
145
145
 
146
+ /* For Ruby/Gstreamer */
147
+ extern void rbgobj_gobject_initialize(VALUE obj, gpointer cobj);
148
+
146
149
  /* deprecated */
147
150
  extern void rbgobj_add_abstract_but_create_instance_class(GType gtype);
148
151
 
@@ -43,7 +43,6 @@ extern void rbgobj_define_action_methods(VALUE klass);
43
43
 
44
44
  extern void rbgobj_param_spec_initialize(VALUE self, GParamSpec* pspec);
45
45
  extern void rbgobj_boxed_initialize(VALUE obj, gpointer boxed);
46
- extern void rbgobj_gobject_initialize(VALUE obj, gpointer cobj);
47
46
 
48
47
  extern GParamSpec* rbgobj_get_param_spec(VALUE obj);
49
48
  extern GObject* rbgobj_get_gobject(VALUE obj);
data/ext/glib2/rbgutil.c CHANGED
@@ -19,8 +19,7 @@ static ID id_to_a;
19
19
  static ID id_allocate;
20
20
 
21
21
  void
22
- rbgutil_set_properties(self, hash)
23
- VALUE self, hash;
22
+ rbgutil_set_properties(VALUE self, VALUE hash)
24
23
  {
25
24
  int i;
26
25
  VALUE ary;
@@ -269,15 +268,13 @@ rbgutil_gslist2ary_boxed_and_free(GSList *const list, GType gtype)
269
268
  }
270
269
 
271
270
  VALUE
272
- rbgutil_def_setters(klass)
273
- VALUE klass;
271
+ rbgutil_def_setters(VALUE klass)
274
272
  {
275
273
  return rb_funcall(mGLib, id_add_one_arg_setter, 1, klass);
276
274
  }
277
275
 
278
276
  VALUE
279
- rbgutil_sym_g2r_func(from)
280
- const GValue *from;
277
+ rbgutil_sym_g2r_func(const GValue *from)
281
278
  {
282
279
  const gchar *str = g_value_get_string(from);
283
280
  return str ? ID2SYM(rb_intern(str)) : Qnil;
data/lib/1.8/glib2.so CHANGED
Binary file
data/lib/1.9/glib2.so CHANGED
Binary file
@@ -86,6 +86,7 @@ class GNOME2Package
86
86
  "ChangeLog", "README", "Rakefile", "extconf.rb",
87
87
  "lib/**/*.rb", "{ext,sample,test,test-unit}/**/*"]
88
88
  s.post_install_message = @post_install_message
89
+ s.has_rdoc = false
89
90
  @dependency_configuration.apply(s)
90
91
  end
91
92
 
data/lib/mkmf-gnome2.rb CHANGED
@@ -143,6 +143,8 @@ def create_pkg_config_file(package_name, c_package,
143
143
  pc_file.puts("Description: Ruby bindings for #{description}") if description
144
144
  pc_file.printf("Version: #{version}")
145
145
  end
146
+
147
+ add_distcleanfile(pc_file_name)
146
148
  end
147
149
 
148
150
  def ruby_gnome2_version(glib_source_directory=nil)
@@ -364,19 +366,20 @@ def check_cairo(options={})
364
366
  rescue LoadError
365
367
  end
366
368
  end
367
- return false if rcairo_source_dir.nil?
368
369
 
369
- if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
370
- options = {}
371
- build_dir = "tmp/#{RUBY_PLATFORM}/cairo/#{RUBY_VERSION}"
372
- if File.exist?(File.join(rcairo_source_dir, build_dir))
373
- options[:target_build_dir] = build_dir
370
+ unless rcairo_source_dir.nil?
371
+ if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM
372
+ options = {}
373
+ build_dir = "tmp/#{RUBY_PLATFORM}/cairo/#{RUBY_VERSION}"
374
+ if File.exist?(File.join(rcairo_source_dir, build_dir))
375
+ options[:target_build_dir] = build_dir
376
+ end
377
+ add_depend_package("cairo", "ext/cairo", rcairo_source_dir, options)
378
+ $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
374
379
  end
375
- add_depend_package("cairo", "ext/cairo", rcairo_source_dir, options)
376
- $defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
380
+ $CFLAGS += " -I#{rcairo_source_dir}/ext/cairo"
377
381
  end
378
382
 
379
- $CFLAGS += " -I#{rcairo_source_dir}/ext/cairo"
380
383
  PKGConfig.have_package('cairo') and have_header('rb_cairo.h')
381
384
  end
382
385
 
@@ -1,6 +1,48 @@
1
+ === 2.2.0 / 2011-02-14
2
+
3
+ * 22 enhancements
4
+ * [#28808] accept String as delta for assert_in_delta.
5
+ [Daniel Berger]
6
+ * [test-unit-users-en:00035] make GC-able finished tests.
7
+ [Daniel Berger]
8
+ * use also COLUMNS environment variable to guess terminal width.
9
+ * make delta for assert_in_delta optional.
10
+ [Nobuyoshi Nakada]
11
+ * add assert_not_respond_to.
12
+ [Nobuyoshi Nakada]
13
+ * add assert_not_match. assert_no_match is deprecated.
14
+ [Nobuyoshi Nakada]
15
+ * add assert_not_in_delta.
16
+ [Nobuyoshi Nakada]
17
+ * add assert_in_epsilon.
18
+ [Nobuyoshi Nakada]
19
+ * add assert_not_in_epsilon.
20
+ [Nobuyoshi Nakada]
21
+ * add assert_include.
22
+ [Nobuyoshi Nakada]
23
+ * add assert_not_include.
24
+ [Nobuyoshi Nakada]
25
+ * add assert_empty.
26
+ [Nobuyoshi Nakada]
27
+ * add assert_not_empty.
28
+ [Nobuyoshi Nakada]
29
+ * notify require failed paths.
30
+ * validate message value for assert.
31
+ * show throughputs at the last.
32
+ * support not ASCII compatible string diff.
33
+ * support colorized diff on encoding different string.
34
+ * normalize entry order of Hash for readable diff.
35
+ * add --ignore-name option.
36
+ * add --ignore-testcase option.
37
+ * add assert_not_send.
38
+
39
+ * Thanks
40
+ * Daniel Berger
41
+ * Nobuyoshi Nakada
42
+
1
43
  === 2.1.2 / 2010-11-25
2
44
 
3
- * 1 enhanchement
45
+ * 1 enhancement
4
46
  * support auto runner prepare hook.
5
47
 
6
48
  === 2.1.1 / 2010-07-29
@@ -84,6 +84,7 @@ test/collector/test-load.rb
84
84
  test/collector/test_dir.rb
85
85
  test/collector/test_objectspace.rb
86
86
  test/run-test.rb
87
+ test/test-assertions.rb
87
88
  test/test-attribute.rb
88
89
  test/test-color-scheme.rb
89
90
  test/test-color.rb
@@ -95,7 +96,6 @@ test/test-omission.rb
95
96
  test/test-pending.rb
96
97
  test/test-priority.rb
97
98
  test/test-testcase.rb
98
- test/test_assertions.rb
99
99
  test/test_error.rb
100
100
  test/test_failure.rb
101
101
  test/test_testresult.rb
@@ -78,13 +78,18 @@ require "test/unit"</pre>
78
78
  </p>
79
79
  <h3 id="test-unit-latest">test-unit: The latest release</h3>
80
80
  <p>
81
- 2.1.2 is the latest release. It had been released at 2010-11-25.
81
+ 2.2.0 is the latest release. It had been released at 2011-02-14.
82
82
  </p>
83
83
  <h3 id="test-unit-install">test-unit: Install</h3>
84
84
  <p>
85
85
  Install:
86
86
  <pre class="command">% sudo gem install test-unit</pre>
87
87
  </p>
88
+ <p>
89
+ Usage:
90
+ <pre class="code">gem "test-unit"
91
+ require "test/unit"</pre>
92
+ </p>
88
93
 
89
94
  <h2 id="test-unit-full">test-unit-full</h2>
90
95
  <p>
@@ -92,7 +97,7 @@ require "test/unit"</pre>
92
97
  </p>
93
98
  <h3 id="test-unit-full-latest">test-unit-full: The latest release</h3>
94
99
  <p>
95
- 0.0.2 is the latest release. It had been released at 2010-07-17.
100
+ 0.0.3 is the latest release. It had been released at 2011-02-09.
96
101
  </p>
97
102
  <h3 id="test-unit-full-install">test-unit-full: Install</h3>
98
103
  <p>
@@ -106,13 +111,26 @@ require "test/unit"</pre>
106
111
 
107
112
  <h2 id="test-unit-notify">test-unit-notify</h2>
108
113
  <p>
109
- <img class="eye-catch" alt="screenshot"
110
- src="test-unit-notify/screenshot/notify-on-gnome.png" />
114
+ <div class="eye-catch">
115
+ <img alt="notification on GNOME"
116
+ src="test-unit-notify/screenshot/notify-on-gnome.png" />
117
+ <img alt="notification on Mac OS X"
118
+ src="test-unit-notify/screenshot/notify-on-mac-os-x.png" />
119
+ </div>
111
120
  This package provides a test notifier.
121
+
122
+ <dl class="feature-list">
123
+ <dt>X Window System based eivornment such ad GNOME, Xfce, KDE and so on</dt>
124
+ <dd>"notify-send" command is used for notifying test result.</dd>
125
+ <dt>Mac OS X</dt>
126
+ <dd>"growlnotify" command is used for notifying test result.</dd>
127
+ <dt>Windows</dt>
128
+ <dd>How? Growl for Windows? (not implemented)</dd>
129
+ </dl>
112
130
  </p>
113
131
  <h3 id="test-unit-notify-latest">test-unit-notify: The latest release</h3>
114
132
  <p>
115
- 0.1.0 is the latest release. It had been released at 2010-11-25.
133
+ 0.2.1 is the latest release. It had been released at 2011-02-10.
116
134
  </p>
117
135
  <h3 id="test-unit-notify-install">test-unit-notify: Install</h3>
118
136
  <p>
@@ -127,18 +145,36 @@ require "test/unit"</pre>
127
145
  You can use --notify option to notify test result by popup at the end.
128
146
  </p>
129
147
 
130
- <h2 id="test-unit-gtk2">test-unit-gtk2</h2>
148
+ <h2 id="test-unit-rr">test-unit-rr</h2>
149
+ <p>
150
+ This package provides a <a href="http://github.com/btakita/rr">RR</a>, a test dobule library, adapter for test-unit 2.
151
+ </p>
152
+ <h3 id="test-unit-rr-latest">test-unit-rr: The latest release</h3>
153
+ <p>
154
+ 1.0.1 is the latest release. It had been released at 2011-02-10.
155
+ </p>
156
+ <h3 id="test-unit-rr-install">test-unit-rr: Install</h3>
157
+ <p>
158
+ Install:
159
+ <pre class="command">% sudo gem install test-unit-rr</pre>
160
+ </p>
161
+ <p>
162
+ Usage:
163
+ <pre class="code">require "test/unit/rr"</pre>
164
+ </p>
165
+
166
+ <h2 id="test-unit-runner-gtk2">test-unit-runner-gtk2</h2>
131
167
  <p>
132
168
  This package provides a GTK+ based test runner.
133
169
  </p>
134
- <h3 id="test-unit-gtk2-latest">test-unit-gtk2: The latest release</h3>
170
+ <h3 id="test-unit-runner-gtk2-latest">test-unit-runner-gtk2: The latest release</h3>
135
171
  <p>
136
- 0.0.1 is the latest release. It had been released at 2008-06-17.
172
+ 0.0.2 is the latest release. It had been released at 2011-02-09.
137
173
  </p>
138
- <h3 id="test-unit-gtk2-install">test-unit-gtk2: Install</h3>
174
+ <h3 id="test-unit-runner-gtk2-install">test-unit-runner-gtk2: Install</h3>
139
175
  <p>
140
176
  Install:
141
- <pre class="command">% sudo gem install test-unit-gtk2</pre>
177
+ <pre class="command">% sudo gem install test-unit-runner-gtk2</pre>
142
178
  </p>
143
179
  <p>
144
180
  Usage:
@@ -148,18 +184,18 @@ require "test/unit"</pre>
148
184
  You can use --runner=gtk2 to run tests with GTK+ based test runner.
149
185
  </p>
150
186
 
151
- <h2 id="test-unit-tk">test-unit-tk</h2>
187
+ <h2 id="test-unit-runner-tk">test-unit-runner-tk</h2>
152
188
  <p>
153
189
  This package provides a Tk based test runner.
154
190
  </p>
155
- <h3 id="test-unit-tk-latest">test-unit-tk: The latest release</h3>
191
+ <h3 id="test-unit-runner-tk-latest">test-unit-runner-tk: The latest release</h3>
156
192
  <p>
157
193
  0.0.1 is the latest release. It had been released at 2008-06-17.
158
194
  </p>
159
- <h3 id="test-unit-tk-install">test-unit-tk: Install</h3>
195
+ <h3 id="test-unit-runner-tk-install">test-unit-runner-tk: Install</h3>
160
196
  <p>
161
197
  Install:
162
- <pre class="command">% sudo gem install test-unit-tk</pre>
198
+ <pre class="command">% sudo gem install test-unit-runner-tk</pre>
163
199
  </p>
164
200
  <p>
165
201
  Usage:
@@ -169,18 +205,18 @@ require "test/unit"</pre>
169
205
  You can use --runner=tk to run tests with Tk based test runner.
170
206
  </p>
171
207
 
172
- <h2 id="test-unit-fox">test-unit-fox</h2>
208
+ <h2 id="test-unit-runner-fox">test-unit-runner-fox</h2>
173
209
  <p>
174
210
  This package provides a FOX Toolkit based test runner.
175
211
  </p>
176
- <h3 id="test-unit-fox-latest">test-unit-fox: The latest release</h3>
212
+ <h3 id="test-unit-runner-fox-latest">test-unit-runner-fox: The latest release</h3>
177
213
  <p>
178
214
  0.0.1 is the latest release. It had been released at 2008-06-17.
179
215
  </p>
180
- <h3 id="test-unit-fox-install">test-unit-fox: Install</h3>
216
+ <h3 id="test-unit-runner-fox-install">test-unit-runner-fox: Install</h3>
181
217
  <p>
182
218
  Install:
183
- <pre class="command">% sudo gem install test-unit-fox</pre>
219
+ <pre class="command">% sudo gem install test-unit-runner-fox</pre>
184
220
  </p>
185
221
  <p>
186
222
  Usage:
@@ -206,12 +242,14 @@ require "test/unit"</pre>
206
242
  <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-full/trunk test-unit-full</pre></dd>
207
243
  <dt>test-unit-notify</dt>
208
244
  <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-notify/trunk test-unit-notify</pre></dd>
209
- <dt>test-unit-gtk2</dt>
210
- <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-gtk2/trunk test-unit-gtk2</pre></dd>
211
- <dt>test-unit-tk</dt>
212
- <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-tk/trunk test-unit-tk</pre></dd>
213
- <dt>test-unit-fox</dt>
214
- <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-fox/trunk test-unit-fox</pre></dd>
245
+ <dt>test-unit-rr</dt>
246
+ <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-rr/trunk test-unit-rr</pre></dd>
247
+ <dt>test-unit-runner-gtk2</dt>
248
+ <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-runner-gtk2/trunk test-unit-runner-gtk2</pre></dd>
249
+ <dt>test-unit-runner-tk</dt>
250
+ <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-runner-tk/trunk test-unit-runner-tk</pre></dd>
251
+ <dt>test-unit-runner-fox</dt>
252
+ <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-runner-fox/trunk test-unit-runner-fox</pre></dd>
215
253
  </dl>
216
254
  </div>
217
255
 
@@ -91,13 +91,18 @@ require "test/unit"</pre>
91
91
  </p>
92
92
  <h3 id="test-unit-latest">test-unit最新リリース</h3>
93
93
  <p>
94
- 2010-11-25にリリースされた2.1.2が最新リリースです。
94
+ 2011-02-14にリリースされた2.2.0が最新リリースです。
95
95
  </p>
96
96
  <h3 id="test-unit-install">test-unitのインストール</h3>
97
97
  <p>
98
98
  インストール:
99
99
  <pre class="command">% sudo gem install test-unit</pre>
100
100
  </p>
101
+ <p>
102
+ 使い方:
103
+ <pre class="code">gem "test-unit"
104
+ require "test/unit"</pre>
105
+ </p>
101
106
 
102
107
  <h2 id="test-unit-full">test-unit-full</h2>
103
108
  <p>
@@ -105,7 +110,7 @@ require "test/unit"</pre>
105
110
  </p>
106
111
  <h3 id="test-unit-full-latest">test-unit-full最新リリース</h3>
107
112
  <p>
108
- 2010-07-17にリリースされた0.0.2が最新リリースです。
113
+ 2011-02-09にリリースされた0.0.3が最新リリースです。
109
114
  </p>
110
115
  <h3 id="test-unit-full-install">test-unit-fullのインストール</h3>
111
116
  <p>
@@ -119,21 +124,25 @@ require "test/unit"</pre>
119
124
 
120
125
  <h2 id="test-unit-notify">test-unit-notify</h2>
121
126
  <p>
122
- <img class="eye-catch" alt="スクリーンショット"
123
- src="test-unit-notify/screenshot/notify-on-gnome.png" />
127
+ <div class="eye-catch">
128
+ <img alt="GNOME上での通知"
129
+ src="test-unit-notify/screenshot/notify-on-gnome.png" />
130
+ <img alt="Mac OS X上での通知"
131
+ src="test-unit-notify/screenshot/notify-on-mac-os-x.png" />
132
+ </div>
124
133
  テストの実行結果をポップアップで通知します。通知方法は環境によって異なります。
125
134
  <dl class="feature-list">
126
135
  <dt>GNOMEやXfceやKDEなどのX Window Systemベースの環境</dt>
127
136
  <dd>notify-sendを使ってD-Bus経由でnotification-daemonにリクエストを送ることにより通知します。notify-sendコマンドが無かったり、notification-daemonが動いていない場合は利用できません。</dd>
128
137
  <dt>Mac OS X</dt>
129
- <dd>Growlを使って通知できるようになるといいですね!(未実装)</dd>
138
+ <dd>growlnotifyを使って通知します。growlnotifyコマンドが無かったり、Growlが動いていない場合は利用できません。</dd>
130
139
  <dt>Windows</dt>
131
140
  <dd>どうやるのがいいのでしょうか。Growl for Windows?(未実装)</dd>
132
141
  </dl>
133
142
  </p>
134
143
  <h3 id="test-unit-notify-latest">test-unit-notify最新リリース</h3>
135
144
  <p>
136
- 2010-11-25にリリースされた0.1.0が最新リリースです。
145
+ 2011-02-10にリリースされた0.2.1が最新リリースです。
137
146
  </p>
138
147
  <h3 id="test-unit-notify-install">test-unit-notifyのインストール</h3>
139
148
  <p>
@@ -148,18 +157,36 @@ require "test/unit"</pre>
148
157
  --notifyオプションが追加されます。--notifyオプションを指定するとテスト終了時にテスト結果をポップアップで通知します。
149
158
  </p>
150
159
 
151
- <h2 id="test-unit-gtk2">test-unit-gtk2</h2>
160
+ <h2 id="test-unit-rr">test-unit-rr</h2>
161
+ <p>
162
+ test-unit 2で<a href="http://capsctrl.que.jp/kdmsnr/wiki/bliki/?TestDouble">テストダブル(テスト代役)</a>ライブラリ<a href="http://github.com/btakita/rr">RR</a>を利用するためのパッケージです。
163
+ </p>
164
+ <h3 id="test-unit-rr-latest">test-unit-rr最新リリース</h3>
165
+ <p>
166
+ 2011-02-10にリリースされた1.0.1が最新リリースです。
167
+ </p>
168
+ <h3 id="test-unit-rr-install">test-unit-rrのインストール</h3>
169
+ <p>
170
+ インストール:
171
+ <pre class="command">% sudo gem install test-unit-rr</pre>
172
+ </p>
173
+ <p>
174
+ 使い方:
175
+ <pre class="code">require "test/unit/rr"</pre>
176
+ </p>
177
+
178
+ <h2 id="test-unit-runner-gtk2">test-unit-runner-gtk2</h2>
152
179
  <p>
153
180
  GTK+を用いて実装されたGUIのテスト実行機能です。
154
181
  </p>
155
- <h3 id="test-unit-gtk2-latest">test-unit-gtk2最新リリース</h3>
182
+ <h3 id="test-unit-runner-gtk2-latest">test-unit-runner-gtk2最新リリース</h3>
156
183
  <p>
157
- 2008-06-17にリリースされた0.0.1が最新リリースです。
184
+ 2011-02-09にリリースされた0.0.2が最新リリースです。
158
185
  </p>
159
- <h3 id="test-unit-gtk2-install">test-unit-gtk2のインストール</h3>
186
+ <h3 id="test-unit-runner-gtk2-install">test-unit-runner-gtk2のインストール</h3>
160
187
  <p>
161
188
  インストール:
162
- <pre class="command">% sudo gem install test-unit-gtk2</pre>
189
+ <pre class="command">% sudo gem install test-unit-runner-gtk2</pre>
163
190
  </p>
164
191
  <p>
165
192
  使い方:
@@ -170,18 +197,18 @@ require "test/unit"</pre>
170
197
  </p>
171
198
 
172
199
 
173
- <h2 id="test-unit-tk">test-unit-tk</h2>
200
+ <h2 id="test-unit-runner-tk">test-unit-runner-tk</h2>
174
201
  <p>
175
202
  Tkを用いて実装されたGUIのテスト実行機能です。
176
203
  </p>
177
- <h3 id="test-unit-tk-latest">test-unit-tk最新リリース</h3>
204
+ <h3 id="test-unit-runner-tk-latest">test-unit-runner-tk最新リリース</h3>
178
205
  <p>
179
206
  2008-06-17にリリースされた0.0.1が最新リリースです。
180
207
  </p>
181
- <h3 id="test-unit-tk-install">test-unit-tkのインストール</h3>
208
+ <h3 id="test-unit-runner-tk-install">test-unit-runner-tkのインストール</h3>
182
209
  <p>
183
210
  インストール:
184
- <pre class="command">% sudo gem install test-unit-tk</pre>
211
+ <pre class="command">% sudo gem install test-unit-runner-tk</pre>
185
212
  </p>
186
213
  <p>
187
214
  使い方:
@@ -191,18 +218,18 @@ require "test/unit"</pre>
191
218
  --runner=tkオプションが追加されます。--runner=tkオプションを指定するとTkベースのUIでテストを実行します。
192
219
  </p>
193
220
 
194
- <h2 id="test-unit-fox">test-unit-fox</h2>
221
+ <h2 id="test-unit-runner-fox">test-unit-runner-fox</h2>
195
222
  <p>
196
223
  FOX Toolkitを用いて実装されたGUIのテスト実行機能です。
197
224
  </p>
198
- <h3 id="test-unit-fox-latest">test-unit-fox最新リリース</h3>
225
+ <h3 id="test-unit-runner-fox-latest">test-unit-runner-fox最新リリース</h3>
199
226
  <p>
200
227
  2008-06-17にリリースされた0.0.1が最新リリースです。
201
228
  </p>
202
- <h3 id="test-unit-fox-install">test-unit-foxのインストール</h3>
229
+ <h3 id="test-unit-runner-fox-install">test-unit-runner-foxのインストール</h3>
203
230
  <p>
204
231
  インストール:
205
- <pre class="command">% sudo gem install test-unit-fox</pre>
232
+ <pre class="command">% sudo gem install test-unit-runner-fox</pre>
206
233
  </p>
207
234
  <p>
208
235
  使い方:
@@ -229,12 +256,14 @@ require "test/unit"</pre>
229
256
  <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-full/trunk test-unit-full</pre></dd>
230
257
  <dt>test-unit-notify</dt>
231
258
  <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-notify/trunk test-unit-notify</pre></dd>
232
- <dt>test-unit-gtk2</dt>
233
- <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-gtk2/trunk test-unit-gtk2</pre></dd>
234
- <dt>test-unit-tk</dt>
235
- <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-tk/trunk test-unit-tk</pre></dd>
236
- <dt>test-unit-fox</dt>
237
- <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-fox/trunk test-unit-fox</pre></dd>
259
+ <dt>test-unit-rr</dt>
260
+ <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-rr/trunk test-unit-rr</pre></dd>
261
+ <dt>test-unit-runner-gtk2</dt>
262
+ <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-runner-gtk2/trunk test-unit-runner-gtk2</pre></dd>
263
+ <dt>test-unit-runner-tk</dt>
264
+ <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-runner-tk/trunk test-unit-runner-tk</pre></dd>
265
+ <dt>test-unit-runner-fox</dt>
266
+ <dd><pre class="command">% svn co http://test-unit.rubyforge.org/svn/extensions/test-unit-runner-fox/trunk test-unit-runner-fox</pre></dd>
238
267
  </dl>
239
268
  </div>
240
269