You are here

protected function FeedsTamperUnitTestCase::execute in Feeds Tamper 7

Same name and namespace in other branches
  1. 6 tests/feeds_tamper_plugins.test \FeedsTamperUnitTestCase::execute()
24 calls to FeedsTamperUnitTestCase::execute()
FeedsTamperCastToIntTestCase::test in tests/feeds_tamper_plugins.test
FeedsTamperConvertCaseTestCase::test in tests/feeds_tamper_plugins.test
FeedsTamperCountryToCodeTestCase::test in tests/feeds_tamper_plugins.test
FeedsTamperCovertBooleanTestCase::test in tests/feeds_tamper_plugins.test
FeedsTamperDefaultValueTestCase::test in tests/feeds_tamper_plugins.test

... See full list

File

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

Class

FeedsTamperUnitTestCase
Base class for plugin unit tests.

Code

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