Permalink
Browse files

Cleanup

git-svn-id: http://svn.php.net/repository/pear/packages/SOAP_Interop/trunk@228145 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 06f3de4 commit 50a2d7d3156e192ee243ed7faaf2b7f8d5382417 Jan Schneider committed Jan 26, 2007
Showing with 143 additions and 96 deletions.
  1. +143 −96 params_Round2Base.php
View
@@ -18,166 +18,213 @@
//
// $Id$
//
+
require_once 'params_values.php';
require_once 'interop_test.php';
-define('INTEROP_R2BASE','Round 2 Base');
+define('INTEROP_R2BASE', 'Round 2 Base');
+
//***********************************************************
// Base echoString
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString',
- array('inputString' => &$string),$soap_test_null);
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString',
- array('inputString' => &$string_soapval));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString(null)',
- array('inputString' => &$string_null));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoString(null)',
- array('inputString' => &$string_null_soapval));
-$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));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoString',
+ array('inputString' => $string),
+ $soap_test_null);
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoString',
+ array('inputString' => $string_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoString(null)',
+ array('inputString' => $string_null));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoString(null)',
+ array('inputString' => $string_null_soapval));
+$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';
-$soap_tests[INTEROP_R2BASE][] =& $test;
+$soap_tests[INTEROP_R2BASE][] = $test;
unset($test);
-$test =& new SOAP_Interop_Test('echoString(utf-8)',
- array('inputString' => &$string_utf8_soapval));
+$test = new SOAP_Interop_Test(
+ 'echoString(utf-8)',
+ array('inputString' => $string_utf8_soapval));
$test->encoding = 'UTF-8';
-$soap_tests[INTEROP_R2BASE][] =& $test;
+$soap_tests[INTEROP_R2BASE][] = $test;
unset($test);
//***********************************************************
// Base echoStringArray
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray',
- array('inputStringArray' => &$string_array));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray',
- array('inputStringArray' => &$string_array_soapval));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray(one)',
- array('inputStringArray' => &$string_array_one));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray(one)',
- array('inputStringArray' => &$string_array_one_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoStringArray',
+ array('inputStringArray' => $string_array));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoStringArray',
+ array('inputStringArray' => $string_array_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ '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
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray(null)',
- array('inputStringArray' => &$string_array_null));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStringArray(null)',
- array('inputStringArray' => &$string_array_null_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoStringArray(null)',
+ array('inputStringArray' => $string_array_null));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoStringArray(null)',
+ array('inputStringArray' => $string_array_null_soapval));
//***********************************************************
// Base echoInteger
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoInteger',
- array('inputInteger' => &$integer));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoInteger',
- array('inputInteger' => &$integer_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoInteger',
+ array('inputInteger' => $integer));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoInteger',
+ array('inputInteger' => $integer_soapval));
//***********************************************************
// Base echoIntegerArray
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoIntegerArray',
- array('inputIntegerArray' => &$integer_array));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoIntegerArray',
- array('inputIntegerArray' => &$integer_array_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoIntegerArray',
+ array('inputIntegerArray' => $integer_array));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoIntegerArray',
+ array('inputIntegerArray' => $integer_array_soapval));
// null array test
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoIntegerArray(null)',
- array('inputIntegerArray' => &$integer_array_null));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoIntegerArray(null)',
- array('inputIntegerArray' => &$integer_array_null_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoIntegerArray(null)',
+ array('inputIntegerArray' => $integer_array_null));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoIntegerArray(null)',
+ array('inputIntegerArray' => $integer_array_null_soapval));
//***********************************************************
// Base echoFloat
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoFloat',
- array('inputFloat' => &$float));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoFloat',
- array('inputFloat' => &$float_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoFloat',
+ array('inputFloat' => $float));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoFloat',
+ array('inputFloat' => $float_soapval));
//***********************************************************
// Base echoFloatArray
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoFloatArray',
- array('inputFloatArray' => &$float_array));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoFloatArray',
- array('inputFloatArray' => &$float_array_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoFloatArray',
+ array('inputFloatArray' => $float_array));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoFloatArray',
+ array('inputFloatArray' => $float_array_soapval));
//***********************************************************
// Base echoStruct
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStruct',
- array('inputStruct' => &$soapstruct));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStruct',
- array('inputStruct' => &$soapstruct_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoStruct',
+ array('inputStruct' => $soapstruct));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoStruct',
+ array('inputStruct' => $soapstruct_soapval));
//***********************************************************
// Base echoStructArray
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStructArray',
- array('inputStructArray' => &$soapstruct_array));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoStructArray',
- array('inputStructArray' => &$soapstruct_array_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoStructArray',
+ array('inputStructArray' => $soapstruct_array));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoStructArray',
+ array('inputStructArray' => $soapstruct_array_soapval));
//***********************************************************
// Base echoVoid
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoVoid', NULL);
-$test =& new SOAP_Interop_Test('echoVoid', NULL);
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test('echoVoid', null);
+$test = new SOAP_Interop_Test('echoVoid', null);
$test->type = 'soapval';
-$soap_tests[INTEROP_R2BASE][] =& $test;
+$soap_tests[INTEROP_R2BASE][] = $test;
unset($test);
//***********************************************************
// Base echoBase64
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBase64',
- array('inputBase64' => &$base64), 'Nebraska');
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBase64',
- array('inputBase64' => &$base64_soapval), 'Nebraska');
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoBase64',
+ array('inputBase64' => $base64),
+ 'Nebraska');
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoBase64',
+ array('inputBase64' => $base64_soapval),
+ 'Nebraska');
//***********************************************************
// Base echoHexBinary
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoHexBinary',
- array('inputHexBinary' => &$hexBin));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoHexBinary',
- array('inputHexBinary' => &$hexBin_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoHexBinary',
+ array('inputHexBinary' => $hexBin));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoHexBinary',
+ array('inputHexBinary' => $hexBin_soapval));
//***********************************************************
// Base echoDecimal
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoDecimal',
- array('inputDecimal' => &$decimal));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoDecimal',
- array('inputDecimal' => &$decimal_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoDecimal',
+ array('inputDecimal' => $decimal));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoDecimal',
+ array('inputDecimal' => $decimal_soapval));
//***********************************************************
// Base echoDate
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoDate',
- array('inputDate' => &$dateTime));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoDate',
- array('inputDate' => &$dateTime_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoDate',
+ array('inputDate' => $dateTime));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoDate',
+ array('inputDate' => $dateTime_soapval));
//***********************************************************
// Base echoBoolean
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(TRUE)',
- array('inputBoolean' => &$boolean_true));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(TRUE)',
- array('inputBoolean' => &$boolean_true_soapval));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(FALSE)',
- array('inputBoolean' => &$boolean_false));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(FALSE)',
- array('inputBoolean' => &$boolean_false_soapval));
-$soap_tests[INTEROP_R2BASE][] =& new SOAP_Interop_Test('echoBoolean(1)',
- array('inputBoolean' => &$boolean_one));
-$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));
-
-?>
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoBoolean(TRUE)',
+ array('inputBoolean' => $boolean_true));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoBoolean(TRUE)',
+ array('inputBoolean' => $boolean_true_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoBoolean(FALSE)',
+ array('inputBoolean' => $boolean_false));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoBoolean(FALSE)',
+ array('inputBoolean' => $boolean_false_soapval));
+$soap_tests[INTEROP_R2BASE][] = new SOAP_Interop_Test(
+ 'echoBoolean(1)',
+ array('inputBoolean' => $boolean_one));
+$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.