public function FeedsTamperRewriteTestCase::executeRew in Feeds Tamper 6
Same name and namespace in other branches
- 7 tests/feeds_tamper_plugins.test \FeedsTamperRewriteTestCase::executeRew()
1 call to FeedsTamperRewriteTestCase::executeRew()
File
- tests/
feeds_tamper_plugins.test, line 793 - Unit tests for feeds tamper plugins.
Class
- FeedsTamperRewriteTestCase
- Tests for rewrite.inc
Code
public function executeRew($input, $output, $source_key, $settings) {
$source = $this
->createSource();
$source->batch->items = array(
$input,
);
$this
->callback($source, 0, $source_key, $source->batch->items[0][$source_key], $settings);
$this
->assertEqual($source->batch->items[0][$source_key], $output);
}