class DiffArrayTest

Tests the DiffArray helper class.

Hierarchy

  • class \Drupal\Tests\UnitTestCase extends \Drupal\Tests\PHPUnit_Framework_TestCase

Expanded class hierarchy of DiffArrayTest

File

drupal/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php, line 16
Contains \Drupal\Tests\Core\Common\DiffArrayTest.

Namespace

Drupal\Tests\Core\Common
View source

Members

Namesort descending Modifiers Type Description Overrides
DiffArrayTest::$array1 protected property Array to use for testing.
DiffArrayTest::$array2 protected property Array to use for testing.
DiffArrayTest::getInfo public static function This method exists to support the simpletest UI runner. Overrides UnitTestCase::getInfo
DiffArrayTest::setUp function
DiffArrayTest::testDiffAssocRecursive public function Tests DiffArray::diffAssocRecursive().
UnitTestCase::getConfigFactoryStub public function Returns a stub config factory that behaves according to the passed in array.
UnitTestCase::getConfigStorageStub public function Returns a stub config storage that returns the supplied configuration.
UnitTestCase::randomName public static function Generates a random string containing letters and numbers.