You are here

protected function SimpleTestMissingDependentModuleUnitTest::testFail in SimpleTest 7.2

Same name and namespace in other branches
  1. 6.2 simpletest.test \SimpleTestMissingDependentModuleUnitTest::testFail()
  2. 7 simpletest.test \SimpleTestMissingDependentModuleUnitTest::testFail()

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

File

./simpletest.test, line 498
Tests for simpletest.module.

Class

SimpleTestMissingDependentModuleUnitTest
Test required modules for tests.

Code

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