SOAP_Interop
[ class tree: SOAP_Interop ] [ index: SOAP_Interop ] [ all elements ]

Source for file params_Round2Base.php

Documentation is available at params_Round2Base.php

  1. <?php
  2. //
  3. // +----------------------------------------------------------------------+
  4. // | PHP Version 4                                                        |
  5. // +----------------------------------------------------------------------+
  6. // | Copyright (c) 1997-2003 The PHP Group                                |
  7. // +----------------------------------------------------------------------+
  8. // | This source file is subject to version 2.02 of the PHP license,      |
  9. // | that is bundled with this package in the file LICENSE, and is        |
  10. // | available at through the world-wide-web at                           |
  11. // | http://www.php.net/license/2_02.txt.                                 |
  12. // | If you did not receive a copy of the PHP license and are unable to   |
  13. // | obtain it through the world-wide-web, please send a note to          |
  14. // | license@php.net so we can mail you a copy immediately.               |
  15. // +----------------------------------------------------------------------+
  16. // | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
  17. // +----------------------------------------------------------------------+
  18. //
  19. // $Id: params_Round2Base.php,v 1.6 2007/01/26 14:54:51 yunosh Exp $
  20. //
  21.  
  22. require_once 'params_values.php';
  23. require_once 'interop_test.php';
  24. define('INTEROP_R2BASE''Round 2 Base');
  25.  
  26. //***********************************************************
  27. // Base echoString
  28.  
  29. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  30.     'echoString',
  31.     array('inputString' => $string),
  32.     $soap_test_null);
  33. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  34.     'echoString',
  35.     array('inputString' => $string_soapval));
  36. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  37.     'echoString(null)',
  38.     array('inputString' => $string_null));
  39. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  40.     'echoString(null)',
  41.     array('inputString' => $string_null_soapval));
  42. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  43.     'echoString(entities)',
  44.     array('inputString' => $string_entities));
  45. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  46.     'echoString(entities)',
  47.     array('inputString' => $string_entities_soapval));
  48. $test = new SOAP_Interop_Test(
  49.     'echoString(utf-8)',
  50.     array('inputString' => $string_utf8));
  51. $test->encoding = 'UTF-8';
  52. $soap_tests[INTEROP_R2BASE][$test;
  53. unset($test);
  54.  
  55. $test = new SOAP_Interop_Test(
  56.     'echoString(utf-8)',
  57.     array('inputString' => $string_utf8_soapval));
  58. $test->encoding = 'UTF-8';
  59. $soap_tests[INTEROP_R2BASE][$test;
  60. unset($test);
  61.  
  62. //***********************************************************
  63. // Base echoStringArray
  64.  
  65. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  66.     'echoStringArray',
  67.     array('inputStringArray' => $string_array));
  68. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  69.     'echoStringArray',
  70.     array('inputStringArray' => $string_array_soapval));
  71. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  72.     'echoStringArray(one)',
  73.     array('inputStringArray' => $string_array_one));
  74. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  75.     'echoStringArray(one)',
  76.     array('inputStringArray' => $string_array_one_soapval));
  77. // null array test
  78. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  79.     'echoStringArray(null)',
  80.     array('inputStringArray' => $string_array_null));
  81. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  82.     'echoStringArray(null)',
  83.     array('inputStringArray' => $string_array_null_soapval));
  84.  
  85. //***********************************************************
  86. // Base echoInteger
  87.  
  88. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  89.     'echoInteger',
  90.     array('inputInteger' => $integer));
  91. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  92.     'echoInteger',
  93.     array('inputInteger' => $integer_soapval));
  94.  
  95. //***********************************************************
  96. // Base echoIntegerArray
  97.  
  98. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  99.     'echoIntegerArray',
  100.     array('inputIntegerArray' => $integer_array));
  101. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  102.     'echoIntegerArray',
  103.     array('inputIntegerArray' => $integer_array_soapval));
  104.  
  105. // null array test
  106. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  107.     'echoIntegerArray(null)',
  108.     array('inputIntegerArray' => $integer_array_null));
  109. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  110.     'echoIntegerArray(null)',
  111.     array('inputIntegerArray' => $integer_array_null_soapval));
  112.  
  113. //***********************************************************
  114. // Base echoFloat
  115.  
  116. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  117.     'echoFloat',
  118.     array('inputFloat' => $float));
  119. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  120.     'echoFloat',
  121.     array('inputFloat' => $float_soapval));
  122.  
  123. //***********************************************************
  124. // Base echoFloatArray
  125.  
  126. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  127.     'echoFloatArray',
  128.     array('inputFloatArray' => $float_array));
  129. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  130.     'echoFloatArray',
  131.     array('inputFloatArray' => $float_array_soapval));
  132.  
  133. //***********************************************************
  134. // Base echoStruct
  135.  
  136. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  137.     'echoStruct',
  138.     array('inputStruct' => $soapstruct));
  139. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  140.     'echoStruct',
  141.     array('inputStruct' => $soapstruct_soapval));
  142.  
  143. //***********************************************************
  144. // Base echoStructArray
  145.  
  146. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  147.     'echoStructArray',
  148.     array('inputStructArray' => $soapstruct_array));
  149. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  150.     'echoStructArray',
  151.     array('inputStructArray' => $soapstruct_array_soapval));
  152.  
  153. //***********************************************************
  154. // Base echoVoid
  155.  
  156. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test('echoVoid'null);
  157. $test = new SOAP_Interop_Test('echoVoid'null);
  158. $test->type = 'soapval';
  159. $soap_tests[INTEROP_R2BASE][$test;
  160. unset($test);
  161.  
  162. //***********************************************************
  163. // Base echoBase64
  164.  
  165. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  166.     'echoBase64',
  167.     array('inputBase64' => $base64),
  168.     'Nebraska');
  169. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  170.     'echoBase64',
  171.     array('inputBase64' => $base64_soapval),
  172.     'Nebraska');
  173.  
  174. //***********************************************************
  175. // Base echoHexBinary
  176.  
  177. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  178.     'echoHexBinary',
  179.     array('inputHexBinary' => $hexBin));
  180. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  181.     'echoHexBinary',
  182.     array('inputHexBinary' => $hexBin_soapval));
  183.  
  184. //***********************************************************
  185. // Base echoDecimal
  186.  
  187. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  188.     'echoDecimal',
  189.     array('inputDecimal' => $decimal));
  190. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  191.     'echoDecimal',
  192.     array('inputDecimal' => $decimal_soapval));
  193.  
  194. //***********************************************************
  195. // Base echoDate
  196.  
  197. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  198.     'echoDate',
  199.     array('inputDate' => $dateTime));
  200. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  201.     'echoDate',
  202.     array('inputDate' => $dateTime_soapval));
  203.  
  204. //***********************************************************
  205. // Base echoBoolean
  206.  
  207. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  208.     'echoBoolean(TRUE)',
  209.     array('inputBoolean' => $boolean_true));
  210. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  211.     'echoBoolean(TRUE)',
  212.     array('inputBoolean' => $boolean_true_soapval));
  213. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  214.     'echoBoolean(FALSE)',
  215.     array('inputBoolean' => $boolean_false));
  216. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  217.     'echoBoolean(FALSE)',
  218.     array('inputBoolean' => $boolean_false_soapval));
  219. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  220.     'echoBoolean(1)',
  221.     array('inputBoolean' => $boolean_one));
  222. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  223.     'echoBoolean(1)',
  224.     array('inputBoolean' => $boolean_one_soapval));
  225. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  226.     'echoBoolean(0)',
  227.     array('inputBoolean' => $boolean_zero));
  228. $soap_tests[INTEROP_R2BASE][= new SOAP_Interop_Test(
  229.     'echoBoolean(0)',
  230.     array('inputBoolean' => $boolean_zero_soapval));

Documentation generated on Mon, 11 Mar 2019 15:06:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.