63 calls to TestBase::fail()

AutocompleteTagsUnitTest::assertTags in drupal/core/modules/system/lib/Drupal/system/Tests/Common/AutocompleteTagsUnitTest.php
Helper function: asserts that the ending array of tags is what we wanted.
BlockCacheTest::setCacheMode in drupal/core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php
Private helper method to set the test block's cache mode.
ChainMatcherTest::testMethodNotAllowed in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/ChainMatcherTest.php
Confirms that the expected exception is thrown.
ChainMatcherTest::testRequestFound in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/ChainMatcherTest.php
Confirms that the expected exception is thrown.
ChainMatcherTest::testRequestNotFound in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/ChainMatcherTest.php
Confirms that the expected exception is thrown.
ColorTest::testHexToRgb in drupal/core/modules/system/lib/Drupal/system/Tests/Common/ColorTest.php
Tests Color::hexToRgb().
ConfigEntityTest::testCRUD in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigEntityTest.php
Tests CRUD operations.
ConfigStorageTestBase::testCRUD in drupal/core/modules/config/lib/Drupal/config/Tests/Storage/ConfigStorageTestBase.php
Tests storage controller CRUD operations.
ConfigUpgradeTest::testConfigurationUpdate in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigUpgradeTest.php
Tests update_variables_to_config().
CrudTest::testCreateField in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
Test the creation of a field.
CrudTest::testUpdateFieldForbid in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
Test field type modules forbidding an update.
CrudTest::testUpdateFieldType in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
CrudTest::testUpdateNonExistentField in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
DBLogTest::asText in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Extracts the text contained by the XHTML element.
DrupalUnitTestBaseTest::testInstallSchema in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php
Tests expected behavior of installSchema().
EmptyStatementTest::testEmptyIteration in drupal/core/modules/system/lib/Drupal/system/Tests/Database/EmptyStatementTest.php
Tests that the empty result set iterates safely.
EnableDisableTest::testEnableDisable in drupal/core/modules/system/lib/Drupal/system/Tests/Module/EnableDisableTest.php
Tests that all core modules can be enabled, disabled and uninstalled.
EntityTranslationTest::testEntityLanguageMethods in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php
Tests language related methods of the Entity class.
FactoryTest::testDefaultFactory in drupal/core/modules/system/lib/Drupal/system/Tests/Plugin/FactoryTest.php
Test that DefaultFactory can create a plugin instance.
FactoryTest::testReflectionFactory in drupal/core/modules/system/lib/Drupal/system/Tests/Plugin/FactoryTest.php
Test that the Reflection factory can create a plugin instance.
FieldInstanceCrudTest::testCreateFieldInstance in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php
Test the creation of a field instance.
FieldSqlStorageTest::testFieldUpdateFailure in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
Test that failure to create fields is handled gracefully.
FieldSqlStorageTest::testUpdateFieldSchemaWithData in drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
Test trying to update a field with data.
FormTest::testRequiredCheckboxesRadio in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Tests validation for required checkbox, select, and radio elements.
HttpMethodMatcherTest::testNoRouteFound in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/HttpMethodMatcherTest.php
Confirms that the HttpMethod matcher throws an exception for no-route.
ImageStylesPathAndUrlTest::_testImageStyleUrlAndPath in drupal/core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php
Test image_style_url().
InsertDefaultsTest::testDefaultEmptyInsert in drupal/core/modules/system/lib/Drupal/system/Tests/Database/InsertDefaultsTest.php
Tests that no action will be preformed if no fields are specified.
InstallTest::testCacheInstall in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/InstallTest.php
Tests the behavior of the cache backend used for installing Drupal.
InvalidDataTest::testInsertDuplicateData in drupal/core/modules/system/lib/Drupal/system/Tests/Database/InvalidDataTest.php
Tests aborting of traditional SQL database systems with invalid data.
MatcherDumperTest::testAddAdditionalRoutes in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
Confirms that we can add routes to the dumper when it already has some.
MergeTest::testInvalidMerge in drupal/core/modules/system/lib/Drupal/system/Tests/Database/MergeTest.php
Tests that an invalid merge query throws an exception.
MimeTypeMatcherTest::testNoRouteFound in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MimeTypeMatcherTest.php
Confirms that the MimeTypeMatcher matcher throws an exception for no-route.
MissingCheckedRequirementsTest::testCheckRequirements in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/MissingCheckedRequirementsTest.php
Ensures test will not run when requirements are missing.
MissingDependentModuleUnitTest::testFail in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/MissingDependentModuleUnitTest.php
Ensure that this test will not be loaded despite its dependency.
NodeCreationTest::testFailedPageCreation in drupal/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
Verifies that a transaction rolls back the failed creation.
NodeQueryAlterTest::testNodeQueryAlterLowLevelEditAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
Tests 'node_access' query alter, for edit access.
NodeQueryAlterTest::testNodeQueryAlterLowLevelNoAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
Tests 'node_access' query alter, for user without access.
NodeQueryAlterTest::testNodeQueryAlterLowLevelWithAccess in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
Tests 'node_access' query alter, for user with access.
NodeQueryAlterTest::testNodeQueryAlterOverride in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
Tests 'node_access' query alter override.
OptionsFieldTest::testUpdateAllowedValues in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsFieldTest.php
Test that allowed values can be updated.
PathMatcherTest::testOutlinePathMatchDefaults in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
Confirms that we can find routes whose pattern would match the request.
PathMatcherTest::testOutlinePathMatchDefaultsCollision in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
Confirms that we can find routes whose pattern would match the request.
PathMatcherTest::testOutlinePathMatchDefaultsCollision2 in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
Confirms that we can find routes whose pattern would match the request.
PathMatcherTest::testOutlinePathNoMatch in drupal/core/modules/system/lib/Drupal/system/Tests/Routing/PathMatcherTest.php
Confirms that an exception is thrown when no matching path is found.
PercentagesUnitTest::testBatchPercentages in drupal/core/modules/system/lib/Drupal/system/Tests/Batch/PercentagesUnitTest.php
Tests the _batch_api_percentage() function.
SerializationTest::testSerializerComponentRegistration in drupal/core/modules/system/lib/Drupal/system/Tests/Serialization/SerializationTest.php
Confirms that modules can register normalizers and encoders.
SimpleTestTest::asText in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
Extract the text contained by the element.
SimpleTestTest::stubTest in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
Test to be run and the results confirmed.
TemporaryQueryTest::testTemporaryQuery in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TemporaryQueryTest.php
Confirms that temporary tables work and are limited to one request.
TermFieldTest::testTaxonomyTermFieldValidation in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermFieldTest.php
Test term field validation.
TestBase::run in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
Run all tests in this class.
TestBase::tearDown in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
Deletes created files, database tables, and reverts all environment changes.
ToolkitGdTest::testManipulations in drupal/core/modules/system/lib/Drupal/system/Tests/Image/ToolkitGdTest.php
Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
TransactionTest::testCommittedTransaction in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Tests a committed transaction.
TransactionTest::testTransactionRollBackNotSupported in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Tests transaction rollback on a database that doesn't support transactions.
TransactionTest::testTransactionRollBackSupported in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Tests transaction rollback on a database that supports transactions.
TransactionTest::testTransactionStacking in drupal/core/modules/system/lib/Drupal/system/Tests/Database/TransactionTest.php
Tests transaction stacking, commit, and rollback.
UpgradePathTestBase::performUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php
Perform the upgrade.
WebTestBase::assertNoDuplicateIds in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that each HTML ID is used for just a single element.
WebTestBase::checkPermissions in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Check to make sure that the array of permissions are valid.
WebTestBase::drupalCreateRole in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Internal helper function; Create a role with specified permissions.
WebTestBase::drupalPost in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser.
WebTestBase::parse in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Parse content returned from curlExec using DOM and SimpleXML.