[前][次][番号順一覧][スレッド一覧]

ruby-changes:18004

From: yugui <ko1@a...>
Date: Thu, 2 Dec 2010 17:05:54 +0900 (JST)
Subject: [ruby-changes:18004] Ruby:r30026 (ruby_1_9_2): merges r29394 from trunk into ruby_1_9_2.

yugui	2010-12-02 17:05:38 +0900 (Thu, 02 Dec 2010)

  New Revision: 30026

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30026

  Log:
    merges r29394 from trunk into ruby_1_9_2.
    --
    test/win32ole/test_thread.rb: add for win32ole with Thread.

  Added files:
    branches/ruby_1_9_2/test/win32ole/test_thread.rb
  Modified files:
    branches/ruby_1_9_2/ChangeLog
    branches/ruby_1_9_2/version.h

Index: ruby_1_9_2/ChangeLog
===================================================================
--- ruby_1_9_2/ChangeLog	(revision 30025)
+++ ruby_1_9_2/ChangeLog	(revision 30026)
@@ -1,3 +1,7 @@
+Sat Oct  2 22:59:32 2010  Masaki Suketa <masaki.suketa@n...>
+
+	* test/win32ole/test_thread.rb: add for win32ole with Thread.
+
 Thu Sep 30 16:11:08 2010  NAKAMURA Usaku  <usa@r...>
 
 	* win32/win32.c (rb_w32_getenv): should return NULL if specified name
Index: ruby_1_9_2/version.h
===================================================================
--- ruby_1_9_2/version.h	(revision 30025)
+++ ruby_1_9_2/version.h	(revision 30026)
@@ -1,5 +1,5 @@
 #define RUBY_VERSION "1.9.2"
-#define RUBY_PATCHLEVEL 56
+#define RUBY_PATCHLEVEL 57
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 1
Index: ruby_1_9_2/test/win32ole/test_thread.rb
===================================================================
--- ruby_1_9_2/test/win32ole/test_thread.rb	(revision 0)
+++ ruby_1_9_2/test/win32ole/test_thread.rb	(revision 30026)
@@ -0,0 +1,20 @@
+begin
+  require 'win32ole'
+rescue LoadError
+end
+require 'test/unit'
+
+if defined?(WIN32OLE)
+  class TestThread < Test::Unit::TestCase
+    #
+    # test for Bug #2618(ruby-core:27634)
+    #
+    def test_creating_win32ole_object_in_thread
+      t = Thread.new do
+        dict = WIN32OLE.new('Scripting.Dictionary')
+        assert(true)
+      end
+      t.join
+    end
+  end
+end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]