[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/httpful/tests/Httpful/ -> HttpfulTest.php (summary)

Port over the original tests into a more traditional PHPUnit format.  Still need to hook into a lightweight HTTP server to better test some things (e.g. obscure cURL settings).  I've moved the old tests and node.js server to the tests/.legacy directory.

Author: Nate Good <[email protected]>
File Size: 458 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

HttpfulTest:: (32 methods):
  testInit()
  testMethods()
  testDefaults()
  testShortMime()
  testSettingStrictSsl()
  testSendsAndExpectsType()
  testIni()
  testAccept()
  testCustomAccept()
  testUserAgent()
  testAuthSetup()
  testDigestAuthSetup()
  testJsonResponseParse()
  testXMLResponseParse()
  testCsvResponseParse()
  testParsingContentTypeCharset()
  testEmptyResponseParse()
  testNoAutoParse()
  testParseHeaders()
  testRawHeaders()
  testHasErrors()
  test_parseCode()
  testToString()
  test_parseHeaders()
  testMultiHeaders()
  testDetectContentType()
  testMissingBodyContentType()
  testParentType()
  testMissingContentType()
  testCustomMimeRegistering()
  testShorthandMimeDefinition()
  testOverrideXmlHandler()

DemoMimeHandler:: (1 method):
  parse()


Class: HttpfulTest  - X-Ref

testInit()   X-Ref
No description

testMethods()   X-Ref
No description

testDefaults()   X-Ref
No description

testShortMime()   X-Ref
No description

testSettingStrictSsl()   X-Ref
No description

testSendsAndExpectsType()   X-Ref
No description

testIni()   X-Ref
No description

testAccept()   X-Ref
No description

testCustomAccept()   X-Ref
No description

testUserAgent()   X-Ref
No description

testAuthSetup()   X-Ref
No description

testDigestAuthSetup()   X-Ref
No description

testJsonResponseParse()   X-Ref
No description

testXMLResponseParse()   X-Ref
No description

testCsvResponseParse()   X-Ref
No description

testParsingContentTypeCharset()   X-Ref
No description

testEmptyResponseParse()   X-Ref
No description

testNoAutoParse()   X-Ref
No description

testParseHeaders()   X-Ref
No description

testRawHeaders()   X-Ref
No description

testHasErrors()   X-Ref
No description

test_parseCode()   X-Ref
No description

testToString()   X-Ref
No description

test_parseHeaders()   X-Ref
No description

testMultiHeaders()   X-Ref
No description

testDetectContentType()   X-Ref
No description

testMissingBodyContentType()   X-Ref
No description

testParentType()   X-Ref
No description

testMissingContentType()   X-Ref
No description

testCustomMimeRegistering()   X-Ref
No description

testShorthandMimeDefinition()   X-Ref
No description

testOverrideXmlHandler()   X-Ref
No description

Class: DemoMimeHandler  - X-Ref

parse($body)   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1