protected function SimpleSitemapViewsTestBase::assertIndexSize in Simple XML sitemap 8.3
Same name and namespace in other branches
- 4.x modules/simple_sitemap_views/tests/src/Functional/SimpleSitemapViewsTestBase.php \Drupal\Tests\simple_sitemap_views\Functional\SimpleSitemapViewsTestBase::assertIndexSize()
Asserts the size of the arguments index.
Parameters
int $size: The expected size.
2 calls to SimpleSitemapViewsTestBase::assertIndexSize()
- SimpleSitemapViewsTest::testAddArgumentsToIndex in modules/
simple_sitemap_views/ tests/ src/ Functional/ SimpleSitemapViewsTest.php - Tests the process of adding arguments to the index.
- SimpleSitemapViewsTest::testGarbageCollector in modules/
simple_sitemap_views/ tests/ src/ Functional/ SimpleSitemapViewsTest.php - Tests the garbage collection process.
File
- modules/
simple_sitemap_views/ tests/ src/ Functional/ SimpleSitemapViewsTestBase.php, line 80
Class
- SimpleSitemapViewsTestBase
- Defines a base class for Simple XML Sitemap (Views) functional testing.
Namespace
Drupal\Tests\simple_sitemap_views\FunctionalCode
protected function assertIndexSize($size) {
$this
->assertEquals($size, $this->sitemapViews
->getArgumentsFromIndexCount());
}