Sha256: 81c1ae63f0d2e98e3d5dd31a50107055714fa0220c0fb0a180d79b7fc6864cdb
Contents?: true
Size: 697 Bytes
Versions: 3
Compression:
Stored size: 697 Bytes
Contents
require 'pione/test-helper' describe 'Pione::Agent::TupleSpaceProvider' do before do @tuple_space = TestHelper::TupleSpace.create(self) @front = Front::TupleSpaceProviderFront.new(@tuple_space) @orig = Global.presence_notification_addresses end after do @front.terminate Global.presence_notification_addresses = @orig end it 'should start activity' do provider = Agent::TupleSpaceProvider.start(@front) provider.wait_until_after(:send_packet, 10) provider.should.not.terminated end it 'should terminate' do provider = Agent::TupleSpaceProvider.start(@front) should.not.raise { provider.terminate } provider.should.terminated end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pione-0.3.2 | test/agent/spec_tuple-space-provider.rb |
pione-0.3.1 | test/agent/spec_tuple-space-provider.rb |
pione-0.3.0 | test/agent/spec_tuple-space-provider.rb |