Sha256: 890afc0aca1de1f0be25421e04b744b863e2997c0263f4be94ff2bbca044f4a4

Contents?: true

Size: 541 Bytes

Versions: 14

Compression:

Stored size: 541 Bytes

Contents

module Calabash

  # A representation of the Calabash test server.
  # @!visibility private
  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

14 entries across 14 versions & 1 rubygems

Version Path
calabash-2.0.0.pre11 lib/calabash/server.rb
calabash-2.0.0.pre10 lib/calabash/server.rb
calabash-2.0.0.pre9 lib/calabash/server.rb
calabash-2.0.0.prelegacy4 lib/calabash/server.rb
calabash-2.0.0.prelegacy3 lib/calabash/server.rb
calabash-2.0.0.prelegacy2 lib/calabash/server.rb
calabash-2.0.0.prelegacy lib/calabash/server.rb
calabash-2.0.0.pre6 lib/calabash/server.rb
calabash-2.0.0.pre5 lib/calabash/server.rb
calabash-2.0.0.pre4 lib/calabash/server.rb
calabash-2.0.0.pre3 lib/calabash/server.rb
calabash-2.0.0.pre2 lib/calabash/server.rb
calabash-2.0.0.pre1 lib/calabash/server.rb
calabash-1.9.9.pre3 lib/calabash/server.rb