You are here

protected function FeedsMapperFileTestCase::listTestFilesNameMap in Feeds 7.2

Lists test files mapping.

Used to rename images so the ::testFileExistsReplace() test can check if they are replaced on import.

See also

testFileExistsReplace()

1 call to FeedsMapperFileTestCase::listTestFilesNameMap()
FeedsMapperFileTestCase::testFileExistsReplace in tests/feeds_mapper_file.test
Test mapping of local resources with the file exists "Replace" setting.

File

tests/feeds_mapper_file.test, line 943
Contains FeedsMapperFileTestCase.

Class

FeedsMapperFileTestCase
Test case for Filefield mapper mappers/filefield.inc.

Code

protected function listTestFilesNameMap() {
  return array(
    'la fayette.jpeg' => 'tubing.jpeg',
    'tubing.jpeg' => 'foosball.jpeg',
    'foosball.jpeg' => 'attersee.jpeg',
    'attersee.jpeg' => 'hstreet.jpeg',
    'hstreet.jpeg' => 'la fayette.jpeg',
  );
}