Sha256: 63975646f8368f578846e7614b0b6fcdb034b28faaf41101a3f5fda1c4c18980

Contents?: true

Size: 433 Bytes

Versions: 72

Compression:

Stored size: 433 Bytes

Contents

require File.dirname(__FILE__) + '/helper'

if God::EventHandler.event_system == "kqueue"
  
  class TestHandlersKqueueHandler < Test::Unit::TestCase
    def test_register_process
      KQueueHandler.expects(:monitor_process).with(1234, 2147483648)
      KQueueHandler.register_process(1234, [:proc_exit])
    end
  
    def test_events_mask
      assert_equal 2147483648, KQueueHandler.events_mask([:proc_exit])
    end
  end
  
end

Version data entries

72 entries across 72 versions & 21 rubygems

Version Path
dguettler-god-0.7.13.2 test/test_handlers_kqueue_handler.rb
dguettler-god-0.7.13.3 test/test_handlers_kqueue_handler.rb
dosire-god-0.7.10 test/test_handlers_kqueue_handler.rb
dosire-god-0.7.12 test/test_handlers_kqueue_handler.rb
dosire-god-0.7.9 test/test_handlers_kqueue_handler.rb
dunedain289-god-0.7.12.1 test/test_handlers_kqueue_handler.rb
dustin-god-0.7.7.1 test/test_handlers_kqueue_handler.rb
eric-god-0.7.10 test/test_handlers_kqueue_handler.rb
eric-god-0.7.11 test/test_handlers_kqueue_handler.rb
eric-god-0.7.12 test/test_handlers_kqueue_handler.rb
eric-god-0.7.14 test/test_handlers_kqueue_handler.rb
eric-god-0.7.7 test/test_handlers_kqueue_handler.rb
fotonauts-god-0.7.10 test/test_handlers_kqueue_handler.rb
fotonauts-god-0.7.12 test/test_handlers_kqueue_handler.rb
gohanlonllc-god-0.7.9 test/test_handlers_kqueue_handler.rb
gordoncww-god-0.7.11.1 test/test_handlers_kqueue_handler.rb
jreynolds-god-0.7.13 test/test_handlers_kqueue_handler.rb
jwilkins-god-0.7.9 test/test_handlers_kqueue_handler.rb
mathieuravaux-god-0.7.11 test/test_handlers_kqueue_handler.rb
mojombo-god-0.7.10 test/test_handlers_kqueue_handler.rb