You are here

33 calls to UnitTestCase::assertArrayEquals() in Drupal 8

AttributeTest::testAddClasses in core/tests/Drupal/Tests/Core/Template/AttributeTest.php
Tests adding class attributes with the AttributeArray helper method. @covers ::addClass
AttributeTest::testChainAddRemoveClasses in core/tests/Drupal/Tests/Core/Template/AttributeTest.php
Tests removing class attributes with the Attribute helper methods. @covers ::removeClass @covers ::addClass
AttributeTest::testRemoveClasses in core/tests/Drupal/Tests/Core/Template/AttributeTest.php
Tests removing class attributes with the AttributeArray helper method. @covers ::removeClass
AttributeTest::testSetAttribute in core/tests/Drupal/Tests/Core/Template/AttributeTest.php
Tests setting attributes. @covers ::setAttribute
BatchBuilderTest::testSetQueue in core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php
Tests setQueue().
ContentEntityBaseUnitTest::testGetFields in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
@covers ::getFields @dataProvider providerGetFields
DateTest::testFormattedDateDiff in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
Tests FormattedDateDiff.
DerivativeDiscoveryDecoratorTest::testExistingDerivative in core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php
Tests derivative definitions when a definition already exists.
DerivativeDiscoveryDecoratorTest::testSingleExistingDerivative in core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php
Tests a single definition when a derivative already exists.
EntityConstraintViolationListTest::testFilterByFieldAccess in core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php
@covers ::filterByFieldAccess
EntityConstraintViolationListTest::testFilterByFieldAccessWithCompositeConstraint in core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php
@covers ::filterByFieldAccess
EntityConstraintViolationListTest::testFilterByFields in core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php
@covers ::filterByFields
EntityConstraintViolationListTest::testFilterByFieldsWithCompositeConstraints in core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php
@covers ::filterByFields
EntityReferenceSelectionUnitTest::testSetConfiguration in core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php
Tests selection handler plugin configuration set.
EntityReferenceSelectionUnitTest::testSetConfigurationBcLevel in core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php
Tests the selection handler plugin BC structure.
FieldItemListTest::testDefaultValuesFormSubmit in core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php
@covers ::defaultValuesFormSubmit
JUnitConverterTest::testConvertTestCaseToSimpletestRow in core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
@covers ::convertTestCaseToSimpletestRow
JUnitConverterTest::testXmlElementToRows in core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
@covers ::xmlElementToRows
JUnitConverterTest::testXmlToRowsEmptyFile in core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
@covers ::xmlToRows
MailHandlerTest::testSendMailMessages in core/modules/contact/tests/src/Unit/MailHandlerTest.php
Tests the sendMailMessages method.
MigrateTestCase::retrievalAssertHelper in core/modules/migrate/tests/src/Unit/MigrateTestCase.php
Asserts tested values during test retrieval.
NullStorageTest::testCollection in core/tests/Drupal/Tests/Core/Config/NullStorageTest.php
Test createCollection.
RegistryTest::testPostProcessExtension in core/tests/Drupal/Tests/Core/Theme/RegistryTest.php
@covers ::postProcessExtension @covers ::completeSuggestion @covers ::mergePreprocessFunctions
RequirementsExceptionTest::testGetRequirements in core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php
@covers ::getRequirements
RestResourceConfigTest::testNormalizeRestMethod in core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php
Asserts that rest methods are normalized to upper case.
RowTest::testGetMultiple in core/modules/migrate/tests/src/Unit/RowTest.php
Test getting multiple source and destination properties.
StorageCopyTraitTest::testReplaceStorageContents in core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php
@covers ::replaceStorageContents
StorageCopyTraitTest::testWithInvalidConfiguration in core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php
Tests replaceStorageContents() with config with an invalid configuration.
SubProcessTest::testNotFoundSubProcess in core/modules/migrate/tests/src/Unit/process/SubProcessTest.php
Tests the sub_process process plugin.
TestFileParserTest::testGetTestListFromFile in core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php
@covers ::getTestListFromFile
ViewTest::testCalculateDependencies in core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php
@covers ::calculateDependencies
WorkflowTest::testGetStates in core/modules/workflows/tests/src/Unit/WorkflowTest.php
@covers ::getStates
WorkflowTest::testGetTransitions in core/modules/workflows/tests/src/Unit/WorkflowTest.php
@covers ::getTransitions @covers ::setTransitionWeight