mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove test_gc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7ff4c7c70a
commit
2bc0405d1c
2 changed files with 4 additions and 10 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Mar 13 10:09:17 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* test/rinda/test_rinda.rb: remove test_gc. [ruby-dev:25871]
|
||||||
|
|
||||||
Sun Mar 13 02:32:54 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
Sun Mar 13 02:32:54 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): should get DH
|
* ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): should get DH
|
||||||
|
|
|
@ -6,8 +6,6 @@ require 'rinda/tuplespace'
|
||||||
|
|
||||||
require 'singleton'
|
require 'singleton'
|
||||||
|
|
||||||
require 'weakref'
|
|
||||||
|
|
||||||
module Rinda
|
module Rinda
|
||||||
|
|
||||||
class MockClock
|
class MockClock
|
||||||
|
@ -501,14 +499,6 @@ class TupleSpaceTest < Test::Unit::TestCase
|
||||||
ThreadGroup.new.add(Thread.current)
|
ThreadGroup.new.add(Thread.current)
|
||||||
@ts = Rinda::TupleSpace.new(1)
|
@ts = Rinda::TupleSpace.new(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_gc
|
|
||||||
w = WeakRef.new(Rinda::TupleSpace.new)
|
|
||||||
GC.start
|
|
||||||
assert_raises(WeakRef::RefError) do
|
|
||||||
w.__getobj__
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class TupleSpaceProxyTest < Test::Unit::TestCase
|
class TupleSpaceProxyTest < Test::Unit::TestCase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue