You are here

public function FeedsTamperUnitTestCase::execute in Feeds Tamper 6

Same name and namespace in other branches
  1. 7 tests/feeds_tamper_plugins.test \FeedsTamperUnitTestCase::execute()
18 calls to FeedsTamperUnitTestCase::execute()
FeedsTamperConvertCaseTestCase::test in tests/feeds_tamper_plugins.test
FeedsTamperCovertBooleanTestCase::test in tests/feeds_tamper_plugins.test
FeedsTamperDefaultValueTestCase::test in tests/feeds_tamper_plugins.test
FeedsTamperExplodeTestCase::test in tests/feeds_tamper_plugins.test
FeedsTamperFindReplaceREGEXTestCase::test in tests/feeds_tamper_plugins.test

... See full list

File

tests/feeds_tamper_plugins.test, line 62
Unit tests for feeds tamper plugins.

Class

FeedsTamperUnitTestCase
Base class for plugin unit tests.

Code

public function execute($input, $output, $settings = array()) {
  $this
    ->validate($settings);
  $this
    ->callback(NULL, NULL, NULL, $input, $settings);
  $this
    ->assertEqual($input, $output);
}