Class Jyxo_Beholder_TestCase_HttpResponse
Common HTTP response test. Checks only availability in the default form, but can be easily extended with additional checks.
Example:
new Jyxo_Beholder_TestCase_HttpResponse('Foo', 'http://example.com/', array('body' => '/this text must be in body/m'))
- Jyxo_Beholder_TestCase
- Jyxo_Beholder_TestCase_HttpResponse
Category:
Jyxo
Package: Jyxo_Beholder
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jan Kaštánek
Located at Beholder/TestCase/HttpResponse.php
Package: Jyxo_Beholder
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jan Kaštánek
Located at Beholder/TestCase/HttpResponse.php
public
|
#
__construct( string $description, string $url, array $tests = array() )
Constructor. Gets the testing URL and optional custom tests. |
public
|
getDescription()
|