Sha256: 5932bfa6a22feb3a32cf6d313fdd5afea31e9ba728957435e3e350b4700b1148
Contents?: true
Size: 427 Bytes
Versions: 6
Compression:
Stored size: 427 Bytes
Contents
#!/usr/bin/env ruby require "test/unit" require "dbus-openplacos" def d(msg) puts msg if $DEBUG end class SessionBusAddressTest < Test::Unit::TestCase def setup # test getting the session bus address even if unset in ENV (Issue#4) ENV.delete "DBUS_SESSION_BUS_ADDRESS" @bus = DBus::ASessionBus.new @svc = @bus.service("org.freedesktop.DBus") end def test_connection assert @svc.exists? end end
Version data entries
6 entries across 6 versions & 1 rubygems