You are here

function SimpleTestMissingDependentModuleUnitTest::testFail in Drupal 7

Ensure that this test will not be loaded despite its dependency.

File

modules/simpletest/simpletest.test, line 552
Tests for simpletest.module.

Class

SimpleTestMissingDependentModuleUnitTest
Test required modules for tests.

Code

function testFail() {
  $this
    ->fail(t('Running test with missing required module.'));
}