Commit eb68f256 authored by alexpott's avatar alexpott

Issue #2365965 by er.pushpinderrana, larowlan, Cristian.Andrei, gaurav.pahuja:...

Issue #2365965 by er.pushpinderrana, larowlan, Cristian.Andrei, gaurav.pahuja: Various tests still have getInfo method
parent c1bc9101
......@@ -13,6 +13,8 @@
/**
* Tests the Feed entity's cache tags.
*
* @group aggregator
*/
class FeedCacheTagsTest extends EntityWithUriCacheTagsTestBase {
......@@ -21,13 +23,6 @@ class FeedCacheTagsTest extends EntityWithUriCacheTagsTestBase {
*/
public static $modules = array('aggregator');
/**
* {@inheritdoc}
*/
public static function getInfo() {
return parent::generateStandardizedInfo('Aggregator feed', 'Aggregator');
}
/**
* {@inheritdoc}
*/
......
......@@ -14,6 +14,8 @@
/**
* Tests the Item entity's cache tags.
*
* @group aggregator
*/
class ItemCacheTagsTest extends EntityCacheTagsTestBase {
......@@ -22,13 +24,6 @@ class ItemCacheTagsTest extends EntityCacheTagsTestBase {
*/
public static $modules = array('aggregator');
/**
* {@inheritdoc}
*/
public static function getInfo() {
return parent::generateStandardizedInfo('Aggregator feed item', 'Aggregator');
}
/**
* {@inheritdoc}
*/
......
......@@ -12,6 +12,8 @@
/**
* Tests storing contact messages.
*
* @group contact
*/
class ContactStorageTest extends ContactSitewideTest {
......@@ -28,14 +30,6 @@ class ContactStorageTest extends ContactSitewideTest {
'contact_test',
);
public static function getInfo() {
return array(
'name' => 'Contact Storage',
'description' => 'Tests that contact messages can be stored.',
'group' => 'Contact',
);
}
/**
* Tests configuration options and the site-wide contact form.
*/
......
......@@ -12,6 +12,8 @@
/**
* Tests default language code is properly generated for entities.
*
* @group language
*/
class EntityDefaultLanguageTest extends KernelTestBase {
......@@ -22,17 +24,6 @@ class EntityDefaultLanguageTest extends KernelTestBase {
*/
public static $modules = array('language', 'node', 'field', 'text', 'user');
/**
* {@inheritdoc}
*/
public static function getInfo() {
return array(
'name' => 'Entity default language',
'description' => 'Test that entities are created with correct language code.',
'group' => 'Entity API',
);
}
/**
* {@inheritdoc}
*/
......
......@@ -10,6 +10,8 @@
/**
* Tests the placement of RDFa in link field formatters.
*
* @group rdf
*/
class LinkFieldRdfaTest extends FieldRdfaTestBase {
......@@ -23,17 +25,6 @@ class LinkFieldRdfaTest extends FieldRdfaTestBase {
*/
public static $modules = array('link', 'text');
/**
* {@inheritdoc}
*/
public static function getInfo() {
return array(
'name' => 'Field formatter: link',
'description' => 'Tests RDFa output by link field formatters.',
'group' => 'RDF',
);
}
/**
* {@inheritdoc}
*/
......
......@@ -11,6 +11,8 @@
/**
* Tests adding a custom bundle field.
*
* @group system
*/
class EntitySchemaTest extends EntityUnitTestBase {
......@@ -28,17 +30,6 @@ class EntitySchemaTest extends EntityUnitTestBase {
*/
public static $modules = array('menu_link');
/**
* {@inheritdoc}
*/
public static function getInfo() {
return array(
'name' => 'Entity Schema',
'description' => 'Tests entity field schema API for base and bundle fields.',
'group' => 'Entity API',
);
}
/**
* {@inheritdoc}
*/
......
......@@ -57,17 +57,6 @@ class UserAccessControlHandlerTest extends UnitTestCase {
*/
protected $items;
/**
* {@inheritdoc}
*/
public static function getInfo() {
return array(
'name' => 'User access controller',
'description' => 'Tests the user access controller.',
'group' => 'User',
);
}
/**
* {@inheritdoc}
*/
......
......@@ -13,18 +13,11 @@
/**
* Tests marking strings as safe.
*
* @group Utility
* @coversDefaultClass \Drupal\Component\Utility\SafeMarkup
*/
class SafeMarkupTest extends UnitTestCase {
public static function getInfo() {
return array(
'name' => 'SafeMarkup tests',
'description' => 'Confirm that SafeMarkup methods work correctly.',
'group' => 'Common',
);
}
/**
* Tests SafeMarkup::set() and SafeMarkup::isSafe().
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment