Sha256: b4e7b6e4e13bbf0b9e2c694fe37c510114a591b7b091438fa3d8897f5db47bcb

Contents?: true

Size: 634 Bytes

Versions: 16

Compression:

Stored size: 634 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

16 entries across 16 versions & 1 rubygems

Version Path
puppet-0.25.5 test/network/xmlrpc/server.rb
puppet-0.25.4 test/network/xmlrpc/server.rb
puppet-0.25.3 test/network/xmlrpc/server.rb
puppet-0.24.9 test/network/xmlrpc/server.rb
puppet-0.25.2 test/network/xmlrpc/server.rb
puppet-0.25.1 test/network/xmlrpc/server.rb
puppet-0.25.0 test/network/xmlrpc/server.rb
puppet-0.24.0 test/network/xmlrpc/server.rb
puppet-0.24.1 test/network/xmlrpc/server.rb
puppet-0.24.2 test/network/xmlrpc/server.rb
puppet-0.24.4 test/network/xmlrpc/server.rb
puppet-0.24.3 test/network/xmlrpc/server.rb
puppet-0.24.6 test/network/xmlrpc/server.rb
puppet-0.24.7 test/network/xmlrpc/server.rb
puppet-0.24.5 test/network/xmlrpc/server.rb
puppet-0.24.8 test/network/xmlrpc/server.rb