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

Public Member Functions

 parseQueryProvider ()
 
 setup ()
 
 testAllowsBlankQueryStringValues ()
 
 testAllowsFalsyQueryStringValues ()
 
 testAllowsMultipleValuesPerKey ()
 
 testAllowsNestedQueryData ()
 
 testAllowsZeroValues ()
 
 testConvertsPlusSymbolsToSpaces ()
 
 testFromStringDoesntMangleZeroes ()
 
 testFromStringDoesntStripTrailingEquals ()
 
 testFromStringIgnoresQuestionMark ()
 
 testGetFieldSeparator ()
 
 testGetValueSeparator ()
 
 testGuessesIfDuplicateAggregatorShouldBeUsed ()
 
 testGuessesIfDuplicateAggregatorShouldBeUsedAndChecksForPhpStyle ()
 
 testIsUrlEncoding ()
 
 testParsesQueryStrings ($query, $data)
 
 testProperlyDealsWithDuplicateQueryStringValues ()
 
 testSetFieldSeparator ()
 
 testSetValueSeparator ()
 
 testToString ()
 
 testUrlEncode ()
 
- 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)
 

Protected Attributes

 $q
 

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

Definition at line 9 of file QueryStringTest.php.

Member Function Documentation

◆ parseQueryProvider()

Guzzle\Tests\Http\QueryStringTest::parseQueryProvider ( )

Definition at line 136 of file QueryStringTest.php.

◆ setup()

Guzzle\Tests\Http\QueryStringTest::setup ( )

Definition at line 17 of file QueryStringTest.php.

◆ testAllowsBlankQueryStringValues()

Guzzle\Tests\Http\QueryStringTest::testAllowsBlankQueryStringValues ( )

◆ testAllowsFalsyQueryStringValues()

Guzzle\Tests\Http\QueryStringTest::testAllowsFalsyQueryStringValues ( )

◆ testAllowsMultipleValuesPerKey()

Guzzle\Tests\Http\QueryStringTest::testAllowsMultipleValuesPerKey ( )

Definition at line 107 of file QueryStringTest.php.

References Guzzle\Tests\Http\QueryStringTest\$q.

◆ testAllowsNestedQueryData()

Guzzle\Tests\Http\QueryStringTest::testAllowsNestedQueryData ( )

Definition at line 118 of file QueryStringTest.php.

◆ testAllowsZeroValues()

Guzzle\Tests\Http\QueryStringTest::testAllowsZeroValues ( )

Definition at line 207 of file QueryStringTest.php.

◆ testConvertsPlusSymbolsToSpaces()

Guzzle\Tests\Http\QueryStringTest::testConvertsPlusSymbolsToSpaces ( )

Definition at line 195 of file QueryStringTest.php.

References Guzzle\Http\QueryString\fromString().

◆ testFromStringDoesntMangleZeroes()

Guzzle\Tests\Http\QueryStringTest::testFromStringDoesntMangleZeroes ( )

Definition at line 201 of file QueryStringTest.php.

References Guzzle\Http\QueryString\fromString().

◆ testFromStringDoesntStripTrailingEquals()

Guzzle\Tests\Http\QueryStringTest::testFromStringDoesntStripTrailingEquals ( )

Definition at line 219 of file QueryStringTest.php.

References Guzzle\Http\QueryString\fromString().

◆ testFromStringIgnoresQuestionMark()

Guzzle\Tests\Http\QueryStringTest::testFromStringIgnoresQuestionMark ( )

Definition at line 189 of file QueryStringTest.php.

References Guzzle\Http\QueryString\fromString().

◆ testGetFieldSeparator()

Guzzle\Tests\Http\QueryStringTest::testGetFieldSeparator ( )

Definition at line 22 of file QueryStringTest.php.

◆ testGetValueSeparator()

Guzzle\Tests\Http\QueryStringTest::testGetValueSeparator ( )

Definition at line 27 of file QueryStringTest.php.

◆ testGuessesIfDuplicateAggregatorShouldBeUsed()

Guzzle\Tests\Http\QueryStringTest::testGuessesIfDuplicateAggregatorShouldBeUsed ( )

Definition at line 225 of file QueryStringTest.php.

References Guzzle\Http\QueryString\fromString().

◆ testGuessesIfDuplicateAggregatorShouldBeUsedAndChecksForPhpStyle()

Guzzle\Tests\Http\QueryStringTest::testGuessesIfDuplicateAggregatorShouldBeUsedAndChecksForPhpStyle ( )

Definition at line 231 of file QueryStringTest.php.

References Guzzle\Http\QueryString\fromString().

◆ testIsUrlEncoding()

Guzzle\Tests\Http\QueryStringTest::testIsUrlEncoding ( )

Definition at line 32 of file QueryStringTest.php.

References Guzzle\Http\QueryString\FORM_URLENCODED.

◆ testParsesQueryStrings()

Guzzle\Tests\Http\QueryStringTest::testParsesQueryStrings (   $query,
  $data 
)

@dataProvider parseQueryProvider

Definition at line 160 of file QueryStringTest.php.

References Guzzle\Http\QueryString\fromString().

◆ testProperlyDealsWithDuplicateQueryStringValues()

Guzzle\Tests\Http\QueryStringTest::testProperlyDealsWithDuplicateQueryStringValues ( )

Definition at line 166 of file QueryStringTest.php.

References Guzzle\Http\QueryString\fromString().

◆ testSetFieldSeparator()

Guzzle\Tests\Http\QueryStringTest::testSetFieldSeparator ( )

Definition at line 48 of file QueryStringTest.php.

◆ testSetValueSeparator()

Guzzle\Tests\Http\QueryStringTest::testSetValueSeparator ( )

Definition at line 54 of file QueryStringTest.php.

◆ testToString()

Guzzle\Tests\Http\QueryStringTest::testToString ( )

Definition at line 86 of file QueryStringTest.php.

◆ testUrlEncode()

Guzzle\Tests\Http\QueryStringTest::testUrlEncode ( )

Definition at line 60 of file QueryStringTest.php.

Field Documentation

◆ $q

Guzzle Http QueryString Guzzle\Tests\Http\QueryStringTest::$q
protected

The query string object to test

Definition at line 15 of file QueryStringTest.php.

Referenced by Guzzle\Tests\Http\QueryStringTest\testAllowsMultipleValuesPerKey().


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