Projet

Général

Profil

Révision e33d3026

Ajouté par Julien Enselme il y a presque 10 ans

Update drupal to 7.30

Voir les différences:

drupal7/modules/simpletest/drupal_web_test_case.php
2624 2624
   *
2625 2625
   * @param $label
2626 2626
   *   Text between the anchor tags.
2627
   * @param $index
2628
   *   Link position counting from zero.
2629 2627
   * @param $message
2630 2628
   *   Message to display.
2631 2629
   * @param $group
......
3189 3187
   * @param $callback
3190 3188
   *   The name of the theme function to invoke; e.g. 'links' for theme_links().
3191 3189
   * @param $variables
3192
   *   An array of variables to pass to the theme function.
3190
   *   (optional) An array of variables to pass to the theme function.
3193 3191
   * @param $expected
3194 3192
   *   The expected themed output string.
3195 3193
   * @param $message
......
3225 3223
   * @param $xpath
3226 3224
   *   XPath used to find the field.
3227 3225
   * @param $value
3228
   *   (optional) Value of the field to assert.
3226
   *   (optional) Value of the field to assert. You may pass in NULL (default)
3227
   *   to skip checking the actual value, while still checking that the field
3228
   *   exists.
3229 3229
   * @param $message
3230 3230
   *   (optional) Message to display.
3231 3231
   * @param $group
......
3293 3293
  }
3294 3294

  
3295 3295
  /**
3296
   * Asserts that a field does not exist in the current page by the given XPath.
3296
   * Asserts that a field doesn't exist or its value doesn't match, by XPath.
3297 3297
   *
3298 3298
   * @param $xpath
3299 3299
   *   XPath used to find the field.
3300 3300
   * @param $value
3301
   *   (optional) Value of the field to assert.
3301
   *   (optional) Value for the field, to assert that the field's value on the
3302
   *   page doesn't match it. You may pass in NULL to skip checking the
3303
   *   value, while still checking that the field doesn't exist.
3302 3304
   * @param $message
3303 3305
   *   (optional) Message to display.
3304 3306
   * @param $group
......
3331 3333
   * @param $name
3332 3334
   *   Name of field to assert.
3333 3335
   * @param $value
3334
   *   Value of the field to assert.
3336
   *   (optional) Value of the field to assert. You may pass in NULL (default)
3337
   *   to skip checking the actual value, while still checking that the field
3338
   *   exists.
3335 3339
   * @param $message
3336 3340
   *   Message to display.
3337 3341
   * @param $group
......
3362 3366
   * @param $name
3363 3367
   *   Name of field to assert.
3364 3368
   * @param $value
3365
   *   Value of the field to assert.
3369
   *   (optional) Value for the field, to assert that the field's value on the
3370
   *   page doesn't match it. You may pass in NULL to skip checking the
3371
   *   value, while still checking that the field doesn't exist. However, the
3372
   *   default value ('') asserts that the field value is not an empty string.
3366 3373
   * @param $message
3367
   *   Message to display.
3374
   *   (optional) Message to display.
3368 3375
   * @param $group
3369 3376
   *   The group this message belongs to.
3370 3377
   * @return
......
3375 3382
  }
3376 3383

  
3377 3384
  /**
3378
   * Asserts that a field exists in the current page with the given id and value.
3385
   * Asserts that a field exists in the current page with the given ID and value.
3379 3386
   *
3380 3387
   * @param $id
3381
   *   Id of field to assert.
3388
   *   ID of field to assert.
3382 3389
   * @param $value
3383
   *   Value of the field to assert.
3390
   *   (optional) Value for the field to assert. You may pass in NULL to skip
3391
   *   checking the value, while still checking that the field exists.
3392
   *   However, the default value ('') asserts that the field value is an empty
3393
   *   string.
3384 3394
   * @param $message
3385
   *   Message to display.
3395
   *   (optional) Message to display.
3386 3396
   * @param $group
3387 3397
   *   The group this message belongs to.
3388 3398
   * @return
......
3393 3403
  }
3394 3404

  
3395 3405
  /**
3396
   * Asserts that a field does not exist with the given id and value.
3406
   * Asserts that a field does not exist with the given ID and value.
3397 3407
   *
3398 3408
   * @param $id
3399
   *   Id of field to assert.
3409
   *   ID of field to assert.
3400 3410
   * @param $value
3401
   *   Value of the field to assert.
3411
   *   (optional) Value for the field, to assert that the field's value on the
3412
   *   page doesn't match it. You may pass in NULL to skip checking the value,
3413
   *   while still checking that the field doesn't exist. However, the default
3414
   *   value ('') asserts that the field value is not an empty string.
3402 3415
   * @param $message
3403
   *   Message to display.
3416
   *   (optional) Message to display.
3404 3417
   * @param $group
3405 3418
   *   The group this message belongs to.
3406 3419
   * @return
......
3414 3427
   * Asserts that a checkbox field in the current page is checked.
3415 3428
   *
3416 3429
   * @param $id
3417
   *   Id of field to assert.
3430
   *   ID of field to assert.
3418 3431
   * @param $message
3419
   *   Message to display.
3432
   *   (optional) Message to display.
3420 3433
   * @return
3421 3434
   *   TRUE on pass, FALSE on fail.
3422 3435
   */
......
3429 3442
   * Asserts that a checkbox field in the current page is not checked.
3430 3443
   *
3431 3444
   * @param $id
3432
   *   Id of field to assert.
3445
   *   ID of field to assert.
3433 3446
   * @param $message
3434
   *   Message to display.
3447
   *   (optional) Message to display.
3435 3448
   * @return
3436 3449
   *   TRUE on pass, FALSE on fail.
3437 3450
   */
......
3444 3457
   * Asserts that a select option in the current page is checked.
3445 3458
   *
3446 3459
   * @param $id
3447
   *   Id of select field to assert.
3460
   *   ID of select field to assert.
3448 3461
   * @param $option
3449 3462
   *   Option to assert.
3450 3463
   * @param $message
3451
   *   Message to display.
3464
   *   (optional) Message to display.
3452 3465
   * @return
3453 3466
   *   TRUE on pass, FALSE on fail.
3454 3467
   *
......
3463 3476
   * Asserts that a select option in the current page is not checked.
3464 3477
   *
3465 3478
   * @param $id
3466
   *   Id of select field to assert.
3479
   *   ID of select field to assert.
3467 3480
   * @param $option
3468 3481
   *   Option to assert.
3469 3482
   * @param $message
3470
   *   Message to display.
3483
   *   (optional) Message to display.
3471 3484
   * @return
3472 3485
   *   TRUE on pass, FALSE on fail.
3473 3486
   */
......
3477 3490
  }
3478 3491

  
3479 3492
  /**
3480
   * Asserts that a field exists with the given name or id.
3493
   * Asserts that a field exists with the given name or ID.
3481 3494
   *
3482 3495
   * @param $field
3483
   *   Name or id of field to assert.
3496
   *   Name or ID of field to assert.
3484 3497
   * @param $message
3485
   *   Message to display.
3498
   *   (optional) Message to display.
3486 3499
   * @param $group
3487 3500
   *   The group this message belongs to.
3488 3501
   * @return
......
3493 3506
  }
3494 3507

  
3495 3508
  /**
3496
   * Asserts that a field does not exist with the given name or id.
3509
   * Asserts that a field does not exist with the given name or ID.
3497 3510
   *
3498 3511
   * @param $field
3499
   *   Name or id of field to assert.
3512
   *   Name or ID of field to assert.
3500 3513
   * @param $message
3501
   *   Message to display.
3514
   *   (optional) Message to display.
3502 3515
   * @param $group
3503 3516
   *   The group this message belongs to.
3504 3517
   * @return

Formats disponibles : Unified diff