Révision d20f5bc6
Ajouté par Julien Enselme il y a presque 10 ans
drupal7/modules/simpletest/tests/xmlrpc.test | ||
---|---|---|
211 | 211 |
* Make sure that XML-RPC can transfer large messages. |
212 | 212 |
*/ |
213 | 213 |
function testSizedMessages() { |
214 |
// These tests can produce up to 128 x 160 words in the XML-RPC message |
|
215 |
// (see xmlrpc_test_message_sized_in_kb()) with 4 tags used to represent |
|
216 |
// each. Set a large enough tag limit to allow this to be tested. |
|
217 |
variable_set('xmlrpc_message_maximum_tag_count', 100000); |
|
218 |
|
|
214 | 219 |
$xml_url = url(NULL, array('absolute' => TRUE)) . 'xmlrpc.php'; |
215 | 220 |
$sizes = array(8, 80, 160); |
216 | 221 |
foreach ($sizes as $size) { |
Formats disponibles : Unified diff
Udpate to 7.31