function BatchPercentagesUnitTestCase::getInfo

File

modules/simpletest/tests/batch.test, line 322

Class

BatchPercentagesUnitTestCase
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 percentages',
        'description' => 'Unit tests of progress percentage rounding.',
        'group' => 'Batch API',
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.