public function ResultTest::providerTestResultArea in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php \Drupal\Tests\views\Unit\Plugin\area\ResultTest::providerTestResultArea()
Data provider for testResultArea.
Return value
array
File
- core/
modules/ views/ tests/ src/ Unit/ Plugin/ area/ ResultTest.php, line 95 - Contains \Drupal\Tests\views\Unit\Plugin\area\ResultTest.
Class
- ResultTest
- @coversDefaultClass \Drupal\views\Plugin\views\area\Result @group views
Namespace
Drupal\Tests\views\Unit\Plugin\areaCode
public function providerTestResultArea() {
return array(
array(
'@label',
'ResultTest',
),
array(
'@start',
'1',
),
array(
'@start',
'1',
1,
),
array(
'@end',
'100',
),
array(
'@end',
'1',
1,
),
array(
'@total',
'100',
),
array(
'@total',
'100',
1,
),
array(
'@per_page',
'0',
),
array(
'@per_page',
'1',
1,
),
array(
'@current_page',
'1',
),
array(
'@current_page',
'1',
1,
),
array(
'@current_record_count',
'100',
),
array(
'@current_record_count',
'1',
1,
),
array(
'@page_count',
'1',
),
array(
'@page_count',
'100',
1,
),
array(
'@start | @end | @total',
'1 | 100 | 100',
),
array(
'@start | @end | @total',
'1 | 1 | 100',
1,
),
);
}