BlueShoes Application Framework made with PHP http://www.blueshoes.org/


Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: C:/usr/local/lib/php/blueshoes-4.2/core/net/http/ecg/Bs_HttpClient_PhpUnit.class.php
BlueShoes Application Framework -

Bs_HttpClient_PhpUnit

Bs_HttpClient_PhpUnit

Warning: documentation is missing.

 

private class Bs_HttpClient_PhpUnit extends Bs_TestCase


 

Public Method Summary

void

Bs_HttpClient_PhpUnit( $name)

Warning: documentation is missing.

Private Method Summary

void

__Bs_HttpClient_fetchPage_1()

GET request, nothing special here.
void

__Bs_HttpClient_fetchPage_2()

GET request, fetching an url directly, not giving host and path separatly.
void

__Bs_HttpClient_fetchPage_3()

GET request, page does not exist for sure.
void

__Bs_HttpClient_fetchPage_4()

GET request on a page that returns a 301 moved permanently.
void

__Bs_HttpClient_fetchPage_4_1()

GET request on a page that returns a 301 moved permanently.
void

__Bs_HttpClient_fetchPage_5()

GET request on a page that returns a 302 moved temporarily.
void

__Bs_HttpClient_fetchPage_5_1()

GET request on a page that returns a 302 moved temporarily.
void

__Bs_HttpClient_fetchPage_6()

GET request on a page that returns a 401 unauthorized.
void

__Bs_HttpClient_fetchPage_6_1()

GET request on a page that returns a 401 unauthorized.
void

__Bs_HttpClient_fetchPage_7()

GET request, conditional (with If-Modified-Since header from the past)
void

__Bs_HttpClient_fetchPage_7_2()

GET request, conditional (with If-Modified-Since header from the future)
void

__Bs_HttpClient_fetchPage_7_3()

GET request, conditional (with If-Modified-Since header)
void

__Bs_HttpClient_fetchPage_8()

HEAD request.
void

__Bs_HttpClient_fetchPage_9()

POST request without data.
void

__Bs_HttpClient_fetchPage_9_2()

POST request with data.
void

__Bs_HttpClient_fetchPage_10()

connect, a few GET requests, disconnect.

Private Field Summary

unknown

$_APP

unknown

$_Bs_HttpClient

unknown

$_Bs_Url

Public Method Details

Bs_HttpClient_PhpUnit

public void Bs_HttpClient_PhpUnit( $name )

 

Warning: documentation is missing.

Parameter
$name
Warning: documentation is missing.
Returns void


Private Method Details

__Bs_HttpClient_fetchPage_1

private void __Bs_HttpClient_fetchPage_1( )

  GET request, nothing special here.

Returns void


__Bs_HttpClient_fetchPage_2

private void __Bs_HttpClient_fetchPage_2( )

  GET request, fetching an url directly, not giving host and path separatly.

Returns void


__Bs_HttpClient_fetchPage_3

private void __Bs_HttpClient_fetchPage_3( )

  GET request, page does not exist for sure.

Returns void


__Bs_HttpClient_fetchPage_4

private void __Bs_HttpClient_fetchPage_4( )

  GET request on a page that returns a 301 moved permanently.
setting the http client not to follow redirects.

Returns void


__Bs_HttpClient_fetchPage_4_1

private void __Bs_HttpClient_fetchPage_4_1( )

  GET request on a page that returns a 301 moved permanently.
follow the redirect...

Returns void


__Bs_HttpClient_fetchPage_5

private void __Bs_HttpClient_fetchPage_5( )

  GET request on a page that returns a 302 moved temporarily.
setting the http client not to follow redirects.

Returns void


__Bs_HttpClient_fetchPage_5_1

private void __Bs_HttpClient_fetchPage_5_1( )

  GET request on a page that returns a 302 moved temporarily.
follow the redirect...

Returns void


__Bs_HttpClient_fetchPage_6

private void __Bs_HttpClient_fetchPage_6( )

  GET request on a page that returns a 401 unauthorized.

Returns void


__Bs_HttpClient_fetchPage_6_1

private void __Bs_HttpClient_fetchPage_6_1( )

  GET request on a page that returns a 401 unauthorized.
but we do a login...

Returns void


__Bs_HttpClient_fetchPage_7

private void __Bs_HttpClient_fetchPage_7( )

  GET request, conditional (with If-Modified-Since header from the past)

Returns void


__Bs_HttpClient_fetchPage_7_2

private void __Bs_HttpClient_fetchPage_7_2( )

  GET request, conditional (with If-Modified-Since header from the future)
i expect to return normally as nothing happened if you specify an invalid date (or a date that'sin the future, which is considered invalid). rfc.

Returns void


__Bs_HttpClient_fetchPage_7_3

private void __Bs_HttpClient_fetchPage_7_3( )

  GET request, conditional (with If-Modified-Since header)
in this example/test the file we request should not have been modified. so if you go and modifythe file 'ecg/pageBasic.html', update the datetime in this code!

Returns void


__Bs_HttpClient_fetchPage_8

private void __Bs_HttpClient_fetchPage_8( )

  HEAD request.

Returns void


__Bs_HttpClient_fetchPage_9

private void __Bs_HttpClient_fetchPage_9( )

  POST request without data.

Returns void


__Bs_HttpClient_fetchPage_9_2

private void __Bs_HttpClient_fetchPage_9_2( )

  POST request with data.

Returns void


__Bs_HttpClient_fetchPage_10

private void __Bs_HttpClient_fetchPage_10( )

  connect, a few GET requests, disconnect.

Returns void


Private Field Details

$_APP

private unknown $_APP

>><<



$_Bs_HttpClient

private unknown $_Bs_HttpClient

>><<



$_Bs_Url

private unknown $_Bs_Url

>><<




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta