Provides a base class and helpers for Drupal unit tests.
Expanded class hierarchy of UnitTestCase
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UnitTestCase:: |
public | function | Returns a stub config factory that behaves according to the passed in array. | |
UnitTestCase:: |
public | function | Returns a stub config storage that returns the supplied configuration. | |
UnitTestCase:: |
public static | function | This method exists to support the simpletest UI runner. | 38 |
UnitTestCase:: |
public static | function | Generates a random string containing letters and numbers. |