[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/tests/tests/http/ -> proxy.php (summary)

(no description)

File Size: 113 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTTP_Proxy_Tests:: (8 methods):
  tearDown()
  proxy()
  test_proxy()
  proxy_bypass_wildcard()
  bypass_hosts_wildcard()
  test_proxy_bypass_wildcard()
  test_proxy_get_info()
  test_proxy_get_bypass_hosts()


Class: HTTP_Proxy_Tests  - X-Ref

HTTP proxy support functions

tearDown()   X-Ref
No description

proxy()   X-Ref
List of hosts and wether they should go through proxy or not


test_proxy( $url, $goes_through_proxy )   X-Ref
Check what URLs we should send through a proxy, if defined

since: 0.1

proxy_bypass_wildcard()   X-Ref
List of hosts and wether they should go through proxy or not, with 'bypass.me, *.skipthem.all' defined as by-passing hosts


bypass_hosts_wildcard()   X-Ref
No description

test_proxy_bypass_wildcard( $url, $goes_through_proxy )   X-Ref
Check what URLs we should send through a proxy with 'bypass.me, *.skipthem.all' defined as by-passing hosts

since: 0.1

test_proxy_get_info()   X-Ref
Check that we can get some proxy information

This test is pretty limited since we're not toying with define(). We just want to check that the function
call returns something

since: 0.1

test_proxy_get_bypass_hosts()   X-Ref
Check that we can get something regarding hosts bypassing the proxy

This test is pretty limited since we're not toying with define(). We just want to check that the function
call returns something

since: 0.1



Generated: Wed Sep 28 05:10:02 2022 Cross-referenced by PHPXref 0.7.1