You are here

public static function BatchAPIPercentagesTestCase::getInfo in SimpleTest 7

File

tests/batch.test, line 15
Unit tests for the Drupal Batch API.

Class

BatchAPIPercentagesTestCase
Tests the function _batch_api_percentage() to make sure that the rounding works properly in all cases.

Code

public static function getInfo() {
  return array(
    'name' => 'Batch API percentages',
    'description' => 'Tests the handling of percentage rounding in the Drupal batch API. This is critical to Drupal user experience.',
    'group' => 'Batch API',
  );
}