Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/SOAP_Interop/trunk@228145 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Jan Schneider committed Jan 26, 2007
1 parent 06f3de4 commit 50a2d7d
Showing 1 changed file with 143 additions and 96 deletions.
239 changes: 143 additions & 96 deletions params_Round2Base.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,166 +18,213 @@
// //
// $Id$ // $Id$
// //

require_once 'params_values.php'; require_once 'params_values.php';
require_once 'interop_test.php'; require_once 'interop_test.php';
define('INTEROP_R2BASE','Round 2 Base'); define('INTEROP_R2BASE', 'Round 2 Base');

//*********************************************************** //***********************************************************
// Base echoString // Base echoString


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputString' => &$string),$soap_test_null); 'echoString',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString', array('inputString' => $string),
array('inputString' => &$string_soapval)); $soap_test_null);
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString(null)', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputString' => &$string_null)); 'echoString',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString(null)', array('inputString' => $string_soapval));
array('inputString' => &$string_null_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString(entities)', 'echoString(null)',
array('inputString' => &$string_entities)); array('inputString' => $string_null));
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString(entities)', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputString' => &$string_entities_soapval)); 'echoString(null)',
$test =& new SOAP_Interop_Test('echoString(utf-8)', array('inputString' => $string_null_soapval));
array('inputString' => &$string_utf8)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoString(entities)',
array('inputString' => $string_entities));
$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoString(entities)',
array('inputString' => $string_entities_soapval));
$test = new SOAP_Interop_Test(
'echoString(utf-8)',
array('inputString' => $string_utf8));
$test->encoding = 'UTF-8'; $test->encoding = 'UTF-8';
$soap_tests[INTEROP_R2BASE][] =& $test; $soap_tests[INTEROP_R2BASE][] = $test;
unset($test); unset($test);


$test =& new SOAP_Interop_Test('echoString(utf-8)', $test = new SOAP_Interop_Test(
array('inputString' => &$string_utf8_soapval)); 'echoString(utf-8)',
array('inputString' => $string_utf8_soapval));
$test->encoding = 'UTF-8'; $test->encoding = 'UTF-8';
$soap_tests[INTEROP_R2BASE][] =& $test; $soap_tests[INTEROP_R2BASE][] = $test;
unset($test); unset($test);


//*********************************************************** //***********************************************************
// Base echoStringArray // Base echoStringArray


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputStringArray' => &$string_array)); 'echoStringArray',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray', array('inputStringArray' => $string_array));
array('inputStringArray' => &$string_array_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray(one)', 'echoStringArray',
array('inputStringArray' => &$string_array_one)); array('inputStringArray' => $string_array_soapval));
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray(one)', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputStringArray' => &$string_array_one_soapval)); 'echoStringArray(one)',
array('inputStringArray' => $string_array_one));
$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoStringArray(one)',
array('inputStringArray' => $string_array_one_soapval));
// null array test // null array test
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray(null)', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputStringArray' => &$string_array_null)); 'echoStringArray(null)',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray(null)', array('inputStringArray' => $string_array_null));
array('inputStringArray' => &$string_array_null_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoStringArray(null)',
array('inputStringArray' => $string_array_null_soapval));


//*********************************************************** //***********************************************************
// Base echoInteger // Base echoInteger


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoInteger', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputInteger' => &$integer)); 'echoInteger',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoInteger', array('inputInteger' => $integer));
array('inputInteger' => &$integer_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoInteger',
array('inputInteger' => $integer_soapval));


//*********************************************************** //***********************************************************
// Base echoIntegerArray // Base echoIntegerArray


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoIntegerArray', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputIntegerArray' => &$integer_array)); 'echoIntegerArray',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoIntegerArray', array('inputIntegerArray' => $integer_array));
array('inputIntegerArray' => &$integer_array_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoIntegerArray',
array('inputIntegerArray' => $integer_array_soapval));


// null array test // null array test
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoIntegerArray(null)', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputIntegerArray' => &$integer_array_null)); 'echoIntegerArray(null)',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoIntegerArray(null)', array('inputIntegerArray' => $integer_array_null));
array('inputIntegerArray' => &$integer_array_null_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoIntegerArray(null)',
array('inputIntegerArray' => $integer_array_null_soapval));


//*********************************************************** //***********************************************************
// Base echoFloat // Base echoFloat


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoFloat', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputFloat' => &$float)); 'echoFloat',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoFloat', array('inputFloat' => $float));
array('inputFloat' => &$float_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoFloat',
array('inputFloat' => $float_soapval));


//*********************************************************** //***********************************************************
// Base echoFloatArray // Base echoFloatArray


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoFloatArray', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputFloatArray' => &$float_array)); 'echoFloatArray',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoFloatArray', array('inputFloatArray' => $float_array));
array('inputFloatArray' => &$float_array_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoFloatArray',
array('inputFloatArray' => $float_array_soapval));


//*********************************************************** //***********************************************************
// Base echoStruct // Base echoStruct


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStruct', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputStruct' => &$soapstruct)); 'echoStruct',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStruct', array('inputStruct' => $soapstruct));
array('inputStruct' => &$soapstruct_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoStruct',
array('inputStruct' => $soapstruct_soapval));


//*********************************************************** //***********************************************************
// Base echoStructArray // Base echoStructArray


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStructArray', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputStructArray' => &$soapstruct_array)); 'echoStructArray',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStructArray', array('inputStructArray' => $soapstruct_array));
array('inputStructArray' => &$soapstruct_array_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoStructArray',
array('inputStructArray' => $soapstruct_array_soapval));


//*********************************************************** //***********************************************************
// Base echoVoid // Base echoVoid


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoVoid', NULL); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test('echoVoid', null);
$test =& new SOAP_Interop_Test('echoVoid', NULL); $test = new SOAP_Interop_Test('echoVoid', null);
$test->type = 'soapval'; $test->type = 'soapval';
$soap_tests[INTEROP_R2BASE][] =& $test; $soap_tests[INTEROP_R2BASE][] = $test;
unset($test); unset($test);


//*********************************************************** //***********************************************************
// Base echoBase64 // Base echoBase64


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBase64', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputBase64' => &$base64), 'Nebraska'); 'echoBase64',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBase64', array('inputBase64' => $base64),
array('inputBase64' => &$base64_soapval), 'Nebraska'); 'Nebraska');
$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoBase64',
array('inputBase64' => $base64_soapval),
'Nebraska');


//*********************************************************** //***********************************************************
// Base echoHexBinary // Base echoHexBinary


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoHexBinary', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputHexBinary' => &$hexBin)); 'echoHexBinary',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoHexBinary', array('inputHexBinary' => $hexBin));
array('inputHexBinary' => &$hexBin_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoHexBinary',
array('inputHexBinary' => $hexBin_soapval));


//*********************************************************** //***********************************************************
// Base echoDecimal // Base echoDecimal


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoDecimal', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputDecimal' => &$decimal)); 'echoDecimal',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoDecimal', array('inputDecimal' => $decimal));
array('inputDecimal' => &$decimal_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoDecimal',
array('inputDecimal' => $decimal_soapval));


//*********************************************************** //***********************************************************
// Base echoDate // Base echoDate


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoDate', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputDate' => &$dateTime)); 'echoDate',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoDate', array('inputDate' => $dateTime));
array('inputDate' => &$dateTime_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoDate',
array('inputDate' => $dateTime_soapval));


//*********************************************************** //***********************************************************
// Base echoBoolean // Base echoBoolean


$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(TRUE)', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputBoolean' => &$boolean_true)); 'echoBoolean(TRUE)',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(TRUE)', array('inputBoolean' => $boolean_true));
array('inputBoolean' => &$boolean_true_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(FALSE)', 'echoBoolean(TRUE)',
array('inputBoolean' => &$boolean_false)); array('inputBoolean' => $boolean_true_soapval));
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(FALSE)', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputBoolean' => &$boolean_false_soapval)); 'echoBoolean(FALSE)',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(1)', array('inputBoolean' => $boolean_false));
array('inputBoolean' => &$boolean_one)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(1)', 'echoBoolean(FALSE)',
array('inputBoolean' => &$boolean_one_soapval)); array('inputBoolean' => $boolean_false_soapval));
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(0)', $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
array('inputBoolean' => &$boolean_zero)); 'echoBoolean(1)',
$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(0)', array('inputBoolean' => $boolean_one));
array('inputBoolean' => &$boolean_zero_soapval)); $soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(

'echoBoolean(1)',
?> array('inputBoolean' => $boolean_one_soapval));
$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoBoolean(0)',
array('inputBoolean' => $boolean_zero));
$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
'echoBoolean(0)',
array('inputBoolean' => $boolean_zero_soapval));

0 comments on commit 50a2d7d

Please sign in to comment.