Sha256: b27d0855905b2bf92fc7ded596a62c01931d7ba5d7060b8c1e7b76e36a3db6f4

Contents?: true

Size: 574 Bytes

Versions: 19

Compression:

Stored size: 574 Bytes

Contents

#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../../lib/puppettest'

require 'puppettest'
require 'puppet/network/xmlrpc/server'
require 'mocha'

class TestXMLRPCServer < Test::Unit::TestCase
  def setup
    super
    assert_nothing_raised do
      @server = Puppet::Network::XMLRPCServer.new
    end
  end

  def test_initialize
    assert(@server.get_service_hook, "no service hook defined")

    assert_nothing_raised("Did not init @loadedhandlers") do
      assert(! @server.handler_loaded?(:puppetca), "server thinks handlers are loaded")
    end
  end
end


Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
puppet-2.6.18 test/network/xmlrpc/server.rb
puppet-2.6.17 test/network/xmlrpc/server.rb
puppet-2.6.16 test/network/xmlrpc/server.rb
puppet-2.6.15 test/network/xmlrpc/server.rb
puppet-2.6.14 test/network/xmlrpc/server.rb
puppet-2.6.13 test/network/xmlrpc/server.rb
puppet-2.6.12 test/network/xmlrpc/server.rb
puppet-2.6.11 test/network/xmlrpc/server.rb
puppet-2.6.10 test/network/xmlrpc/server.rb
puppet-2.6.9 test/network/xmlrpc/server.rb
puppet-2.6.8 test/network/xmlrpc/server.rb
puppet-2.6.7 test/network/xmlrpc/server.rb
puppet-2.6.6 test/network/xmlrpc/server.rb
puppet-2.6.5 test/network/xmlrpc/server.rb
puppet-2.6.4 test/network/xmlrpc/server.rb
puppet-2.6.3 test/network/xmlrpc/server.rb
puppet-2.6.2 test/network/xmlrpc/server.rb
puppet-2.6.1 test/network/xmlrpc/server.rb
puppet-2.6.0 test/network/xmlrpc/server.rb