Open Journal Systems  3.3.0
Guzzle\Tests\Http\Message\PostFileTest Class Reference
Inheritance diagram for Guzzle\Tests\Http\Message\PostFileTest:
Guzzle\Tests\GuzzleTestCase

Public Member Functions

 testCanChangeContentType ()
 
 testCanChangeFieldName ()
 
 testConstructorConfiguresPostFile ()
 
 testContentDispositionFilePathIsStripped ()
 
 testEnsuresFileIsReadable ()
 
 testRemovesLeadingAtSymbolFromPath ()
 
 testReturnsCurlValueString ()
 
 testReturnsCurlValueStringAndPostname ()
 
- Public Member Functions inherited from Guzzle\Tests\GuzzleTestCase
 addMockedRequest (RequestInterface $request)
 
 assertContainsIns ($needle, $haystack, $message=null)
 
 compareHeaders ($filteredHeaders, $actualHeaders)
 
 getMockedRequests ()
 
 getMockResponse ($path)
 
 getWildcardObserver (HasDispatcherInterface $hasDispatcher)
 
 setMockResponse (Client $client, $paths)
 

Additional Inherited Members

- Static Public Member Functions inherited from Guzzle\Tests\GuzzleTestCase
static getServer ()
 
static getServiceBuilder ()
 
static setMockBasePath ($path)
 
static setServiceBuilder (ServiceBuilderInterface $builder)
 
- Data Fields inherited from Guzzle\Tests\GuzzleTestCase
 $mockObserver
 
- Static Public Attributes inherited from Guzzle\Tests\GuzzleTestCase
static $server
 
static $serviceBuilder
 
- Protected Member Functions inherited from Guzzle\Tests\GuzzleTestCase
 hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber)
 
- Static Protected Attributes inherited from Guzzle\Tests\GuzzleTestCase
static $mockBasePath
 

Detailed Description

See also
Guzzle\Http\Message\PostFile @group server

Definition at line 12 of file PostFileTest.php.

Member Function Documentation

◆ testCanChangeContentType()

Guzzle\Tests\Http\Message\PostFileTest::testCanChangeContentType ( )

Definition at line 37 of file PostFileTest.php.

◆ testCanChangeFieldName()

Guzzle\Tests\Http\Message\PostFileTest::testCanChangeFieldName ( )

Definition at line 44 of file PostFileTest.php.

◆ testConstructorConfiguresPostFile()

Guzzle\Tests\Http\Message\PostFileTest::testConstructorConfiguresPostFile ( )

Definition at line 14 of file PostFileTest.php.

◆ testContentDispositionFilePathIsStripped()

Guzzle\Tests\Http\Message\PostFileTest::testContentDispositionFilePathIsStripped ( )

Definition at line 77 of file PostFileTest.php.

References Guzzle\Tests\GuzzleTestCase\getServer().

◆ testEnsuresFileIsReadable()

Guzzle\Tests\Http\Message\PostFileTest::testEnsuresFileIsReadable ( )

@expectedException Guzzle\Common\Exception\InvalidArgumentException

Definition at line 32 of file PostFileTest.php.

◆ testRemovesLeadingAtSymbolFromPath()

Guzzle\Tests\Http\Message\PostFileTest::testRemovesLeadingAtSymbolFromPath ( )

Definition at line 23 of file PostFileTest.php.

◆ testReturnsCurlValueString()

Guzzle\Tests\Http\Message\PostFileTest::testReturnsCurlValueString ( )

Definition at line 51 of file PostFileTest.php.

◆ testReturnsCurlValueStringAndPostname()

Guzzle\Tests\Http\Message\PostFileTest::testReturnsCurlValueStringAndPostname ( )

Definition at line 64 of file PostFileTest.php.


The documentation for this class was generated from the following file: