Page MenuHomec4science

tequila_http_proxy_test.rb
No OneTemporary

File Metadata

Created
Sun, May 12, 05:15

tequila_http_proxy_test.rb

require File.join(File.dirname(__FILE__), '../../../../test/test_helper')
# require File.dirname(__FILE__) + '/../../test_helper'
require 'epfl/kt/tequila_authentication/tequila_http_proxy'
module Epfl
module Kt
module TequilaAuthentication
class TequilaHttpProxy
attr_reader :server, :port, :proxied_http
end
end
end
end
module Lib
class TequilaProxyTest < Test::Unit::TestCase
def setup
end
def test_tequila_proxy_creation
tequila_http_proxy =
Epfl::Kt::TequilaAuthentication::TequilaHttpProxy.new("test.tequila.org", 2222)
assert_equal "test.tequila.org", tequila_http_proxy.server
assert_equal 2222, tequila_http_proxy.port
assert tequila_http_proxy.proxied_http
end
end
end

Event Timeline