Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62290475
tequila_http_proxy_test.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, May 12, 05:15
Size
767 B
Mime Type
text/x-ruby
Expires
Tue, May 14, 05:15 (2 d)
Engine
blob
Format
Raw Data
Handle
17611952
Attached To
R6833 Tequila Ruby client
tequila_http_proxy_test.rb
View Options
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
Log In to Comment