cvs: pear /SOAP_Interop params_Round2Base.php

From: Date: Fri, 26 Jan 2007 14:54:51 +0000
Subject: cvs: pear /SOAP_Interop params_Round2Base.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-44396@lists.php.net to get a copy of this message
yunosh Fri Jan 26 14:54:51 2007 UTC Modified files: /pear/SOAP_Interop params_Round2Base.php Log: Cleanup

http://cvs.php.net/viewvc.cgi/pear/SOAP_Interop/params_Round2Base.php?r1=1.5&r2=1.6&diff_format=u Index: pear/SOAP_Interop/params_Round2Base.php diff -u pear/SOAP_Interop/params_Round2Base.php:1.5 pear/SOAP_Interop/params_Round2Base.php:1.6 --- pear/SOAP_Interop/params_Round2Base.php:1.5 Fri Jan 26 14:49:33 2007 +++ pear/SOAP_Interop/params_Round2Base.php Fri Jan 26 14:54:51 2007 @@ -16,168 +16,215 @@ // | Authors: Shane Caraveo <Shane@Caraveo.com> | // +----------------------------------------------------------------------+ // -// $Id: params_Round2Base.php,v 1.5 2007/01/26 14:49:33 yunosh Exp $ +// $Id: params_Round2Base.php,v 1.6 2007/01/26 14:54:51 yunosh Exp $ // + 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)); - -?> \ No newline at end of file +$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));
« previous php.pear.cvs (#44396) next »