Sha256: 91a6df66aa230fa87995ef6d3419f3f68fcd8584625ce0b533889e8166a4048f

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

module Calabash

  # A representation of the Calabash test server.
  class Server
    attr_reader :endpoint
    attr_reader :test_server_port

    # @param [URI] endpoint The endpoint to reach the test server.
    # @param [Integer] test_server_port The port bound to the test server
    #   running on the device.  On iOS this is same as the endpoint port.
    def initialize(endpoint, test_server_port = nil)
      @endpoint = endpoint
      @test_server_port = test_server_port || endpoint.port
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
calabash-1.9.9.pre2 lib/calabash/server.rb
calabash-1.9.9.pre1 lib/calabash/server.rb