You are here

public function QueryParametersToURLUnitTestCase::unpackTestCase in Query Parameters To URL 7

Unpacks a test case.

2 calls to QueryParametersToURLUnitTestCase::unpackTestCase()
QueryParametersToURLUnitTestCase::testQueryParameterValuesDecoding in ./query_parameters_to_url.test
Tests if an encoded query parameter's values is properly decoded.
QueryParametersToURLUnitTestCase::testQueryParameterValuesEncoding in ./query_parameters_to_url.test
Tests if a query parameter's values are properly encoded.

File

./query_parameters_to_url.test, line 359
Query Arguments To URL tests.

Class

QueryParametersToURLUnitTestCase
Class QueryParametersToURLUnitTestCase.

Code

public function unpackTestCase($test_case) {
  return array(
    $test_case['parameter_value_array'],
    $test_case['encoded_parameter_value_string'],
  );
}