protected function FeedsUnitTestCase::resourcesPath in Feeds 8.3
Returns the absolute directory path of the resources folder.
Return value
string The absolute path to the resources folder.
6 calls to FeedsUnitTestCase::resourcesPath()
- CsvParserTest::testFeedWithExtraBlankLines in tests/
src/ Unit/ Feeds/ Parser/ CsvParserTest.php - Tests parsing a file with a few extra blank lines.
- CsvParserTest::testParse in tests/
src/ Unit/ Feeds/ Parser/ CsvParserTest.php - Tests parsing a CSV file that succeeds.
- CsvParserTest::testParseWithoutHeaders in tests/
src/ Unit/ Feeds/ Parser/ CsvParserTest.php - Tests parsing with the "no_headers" option enabled.
- FeedImportHandlerTest::testPushImport in tests/
src/ Unit/ FeedImportHandlerTest.php - @covers ::pushImport
- SyndicationParserTest::testParse in tests/
src/ Unit/ Feeds/ Parser/ SyndicationParserTest.php - Tests parsing a RSS feed that succeeds.
File
- tests/
src/ Unit/ FeedsUnitTestCase.php, line 45
Class
- FeedsUnitTestCase
- Base class for Feeds unit tests.
Namespace
Drupal\Tests\feeds\UnitCode
protected function resourcesPath() {
return $this
->absolutePath() . '/tests/resources';
}