You are here

public function MediaWYSIWYGTestHelper::setUp in D7 Media 7.3

Same name and namespace in other branches
  1. 7.4 modules/media_wysiwyg/media_wysiwyg.test \MediaWYSIWYGTestHelper::setUp()
  2. 7.2 modules/media_wysiwyg/media_wysiwyg.test \MediaWYSIWYGTestHelper::setUp()

Enable media and file entity modules for testing.

Overrides DrupalWebTestCase::setUp

4 calls to MediaWYSIWYGTestHelper::setUp()
MediaWYSIWYGFileUsageTest::setUp in modules/media_wysiwyg/tests/media_wysiwyg.file_usage.test
Enable media and file entity modules for testing.
MediaWYSIWYGMacroTestHelper::setUp in modules/media_wysiwyg/tests/media_wysiwyg.macro.test
Common setup routines for rendered media macros.
MediaWYSIWYGParagraphFixFilterTest::setUp in modules/media_wysiwyg/tests/media_wysiwyg.paragraph_fix_filter.test
Set-up the system for testing without the filter enabled.
MediaWYSIWYGViewModeTestHelper::setUp in modules/media_wysiwyg/media_wysiwyg.test
Enable media and file entity modules for testing.
4 methods override MediaWYSIWYGTestHelper::setUp()
MediaWYSIWYGFileUsageTest::setUp in modules/media_wysiwyg/tests/media_wysiwyg.file_usage.test
Enable media and file entity modules for testing.
MediaWYSIWYGMacroTestHelper::setUp in modules/media_wysiwyg/tests/media_wysiwyg.macro.test
Common setup routines for rendered media macros.
MediaWYSIWYGParagraphFixFilterTest::setUp in modules/media_wysiwyg/tests/media_wysiwyg.paragraph_fix_filter.test
Set-up the system for testing without the filter enabled.
MediaWYSIWYGViewModeTestHelper::setUp in modules/media_wysiwyg/media_wysiwyg.test
Enable media and file entity modules for testing.

File

modules/media_wysiwyg/media_wysiwyg.test, line 16
Tests for media.module.

Class

MediaWYSIWYGTestHelper
Defines base class for media test cases.

Code

public function setUp() {
  $modules = func_get_args();
  if (isset($modules[0]) && is_array($modules[0])) {
    $modules = $modules[0];
  }
  $modules[] = 'media_wysiwyg';
  parent::setUp($modules);
}