Issue #3154909 by jungle, adityasingh, nitesh624, mohrerao, rajandro, sanjayk, priyanka.sahni, ju.vanderw, tripurari: Change words 'not existing' to 'non-existent'
parent
43fdb595f9
commit
b62e2843cf
|
@ -157,8 +157,8 @@ class Tasks extends InstallTasks {
|
|||
}
|
||||
}
|
||||
else {
|
||||
// Database connection failed for some other reason than the database
|
||||
// not existing.
|
||||
// Database connection failed for some other reason than a non-existent
|
||||
// database.
|
||||
$this->fail(t('Failed to connect to your database server. The server reports the following message: %error.<ul><li>Is the database server running?</li><li>Does the database exist or does the database user have sufficient privileges to create the database?</li><li>Have you entered the correct database name?</li><li>Have you entered the correct username and password?</li><li>Have you entered the correct database hostname and port number?</li></ul>', ['%error' => $e->getMessage()]));
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -107,8 +107,8 @@ class Tasks extends InstallTasks {
|
|||
}
|
||||
}
|
||||
else {
|
||||
// Database connection failed for some other reason than the database
|
||||
// not existing.
|
||||
// Database connection failed for some other reason than a non-existent
|
||||
// database.
|
||||
$this->fail(t('Failed to connect to your database server. The server reports the following message: %error.<ul><li>Is the database server running?</li><li>Does the database exist, and have you entered the correct database name?</li><li>Have you entered the correct username and password?</li><li>Have you entered the correct database hostname and port number?</li></ul>', ['%error' => $e->getMessage()]));
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -103,8 +103,8 @@ class Tasks extends InstallTasks {
|
|||
}
|
||||
}
|
||||
else {
|
||||
// Database connection failed for some other reason than the database
|
||||
// not existing.
|
||||
// Database connection failed for some other reason than a non-existent
|
||||
// database.
|
||||
$this->fail(t('Failed to connect to database. The database engine reports the following message: %error.<ul><li>Does the database file exist?</li><li>Does web server have permission to write to the database file?</li>Does the web server have permission to write to the directory the database file should be created in?</li></ul>', ['%error' => $e->getMessage()]));
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ interface FieldItemInterface extends ComplexDataInterface {
|
|||
* The property value.
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* If a not existing property is accessed.
|
||||
* If a non-existent property is accessed.
|
||||
*/
|
||||
public function __get($property_name);
|
||||
|
||||
|
@ -136,7 +136,7 @@ interface FieldItemInterface extends ComplexDataInterface {
|
|||
* passed instead of a plain value.
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* If a not existing property is set.
|
||||
* If a non-existent property is set.
|
||||
*/
|
||||
public function __set($property_name, $value);
|
||||
|
||||
|
|
|
@ -238,7 +238,7 @@ class BookTest extends BrowserTestBase {
|
|||
$this->drupalGet('book/export/foobar/' . $this->book->id());
|
||||
$this->assertSession()->statusCodeEquals(404);
|
||||
|
||||
// Make sure we get a 404 on a not existing book node.
|
||||
// Make sure we get a 404 on a non-existent book node.
|
||||
$this->drupalGet('book/export/html/123');
|
||||
$this->assertSession()->statusCodeEquals(404);
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ class DbLogTest extends BrowserTestBase {
|
|||
// Login the admin user.
|
||||
$this->drupalLogin($this->adminUser);
|
||||
|
||||
// Try to read details of not existing event.
|
||||
// Try to read details of non-existent event.
|
||||
$this->drupalGet('admin/reports/dblog/event/999999');
|
||||
// Verify 404 response.
|
||||
$this->assertSession()->statusCodeEquals(404);
|
||||
|
|
|
@ -59,7 +59,7 @@ class LinkNotExistingInternalConstraintValidatorTest extends UnitTestCase {
|
|||
|
||||
$data[] = [$url, TRUE];
|
||||
|
||||
// Not existing routed URL.
|
||||
// Non-existent routed URL.
|
||||
$url = Url::fromRoute('example.not_existing_route');
|
||||
|
||||
$url_generator = $this->createMock('Drupal\Core\Routing\UrlGeneratorInterface');
|
||||
|
|
|
@ -293,7 +293,7 @@ EOF;
|
|||
* @param string $source
|
||||
* Translation source string.
|
||||
* @param string $translation
|
||||
* Translation to check. Use empty string to check for a not existing
|
||||
* Translation to check. Use empty string to check for a non-existent
|
||||
* translation.
|
||||
* @param string $langcode
|
||||
* Language code of the language to translate to.
|
||||
|
|
|
@ -294,7 +294,7 @@ class QueryGroupByTest extends ViewsKernelTestBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests groupby with a field not existing on some bundle.
|
||||
* Tests groupby with a non-existent field on some bundle.
|
||||
*/
|
||||
public function testGroupByWithFieldsNotExistingOnBundle() {
|
||||
$field_storage = FieldStorageConfig::create([
|
||||
|
|
|
@ -126,7 +126,7 @@ class ViewAjaxControllerTest extends UnitTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests with view_name and view_display_id but not existing view.
|
||||
* Tests non-existent view with view_name and view_display_id.
|
||||
*/
|
||||
public function testMissingView() {
|
||||
$request = new Request();
|
||||
|
|
|
@ -480,7 +480,7 @@ class ViewsDataTest extends UnitTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests the cache calls for an not existing table:
|
||||
* Tests the cache calls for an non-existent table:
|
||||
*
|
||||
* Warm cache:
|
||||
* - all tables
|
||||
|
@ -518,7 +518,7 @@ class ViewsDataTest extends UnitTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests the cache calls for an not existing table:
|
||||
* Tests the cache calls for an non-existent table:
|
||||
*
|
||||
* Warm cache:
|
||||
* - all tables
|
||||
|
|
|
@ -375,7 +375,7 @@ class EntityDefinitionUpdateTest extends EntityKernelTestBase {
|
|||
/**
|
||||
* Tests creating and deleting a base field if entities exist.
|
||||
*
|
||||
* This tests deletion when there are existing entities, but not existing data
|
||||
* This tests deletion when there are existing entities, but non-existent data
|
||||
* for the field being deleted.
|
||||
*
|
||||
* @see testBaseFieldDeleteWithExistingData()
|
||||
|
@ -431,7 +431,7 @@ class EntityDefinitionUpdateTest extends EntityKernelTestBase {
|
|||
/**
|
||||
* Tests creating and deleting a bundle field if entities exist.
|
||||
*
|
||||
* This tests deletion when there are existing entities, but not existing data
|
||||
* This tests deletion when there are existing entities, but non-existent data
|
||||
* for the field being deleted.
|
||||
*
|
||||
* @see testBundleFieldDeleteWithExistingData()
|
||||
|
|
|
@ -206,7 +206,7 @@ class EntityFieldTest extends EntityKernelTestBase {
|
|||
$this->assertTrue(isset($entity->name[0]), new FormattableMarkup('%entity_type: Name string item is set.', ['%entity_type' => $entity_type]));
|
||||
$this->assertFalse(isset($entity->name[1]), new FormattableMarkup('%entity_type: Second name string item is not set as it does not exist', ['%entity_type' => $entity_type]));
|
||||
$this->assertTrue(isset($entity->name), new FormattableMarkup('%entity_type: Name field is set.', ['%entity_type' => $entity_type]));
|
||||
$this->assertFalse(isset($entity->nameInvalid), new FormattableMarkup('%entity_type: Not existing field is not set.', ['%entity_type' => $entity_type]));
|
||||
$this->assertFalse(isset($entity->nameInvalid), new FormattableMarkup('%entity_type: Non-existent field is not set.', ['%entity_type' => $entity_type]));
|
||||
|
||||
unset($entity->name[0]);
|
||||
$this->assertFalse(isset($entity->name[0]), new FormattableMarkup('%entity_type: Name field item is not set.', ['%entity_type' => $entity_type]));
|
||||
|
|
|
@ -69,7 +69,7 @@ class DefaultFactoryTest extends TestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests getPluginClass() with a not existing class definition.
|
||||
* Tests getPluginClass() with a non-existent class definition.
|
||||
*
|
||||
* @covers ::getPluginClass
|
||||
*/
|
||||
|
@ -80,7 +80,7 @@ class DefaultFactoryTest extends TestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests getPluginClass() with a not existing class definition.
|
||||
* Tests getPluginClass() with a non-existent class definition.
|
||||
*
|
||||
* @covers ::getPluginClass
|
||||
*/
|
||||
|
|
|
@ -297,7 +297,7 @@ class PathValidatorTest extends UnitTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Tests the isValid() method with a not existing path.
|
||||
* Tests the isValid() method with a non-existent path.
|
||||
*
|
||||
* @covers ::isValid
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue