class EntityTest in Autoload 7
Same name and namespace in other branches
- 7.2 src/Tests/Unit/EntityTest.php \Drupal\autoload\Tests\Unit\EntityTest
 
Class EntityTest.
Hierarchy
- class \Drupal\autoload\Tests\Unit\AuxiliaryTest extends \Drupal\autoload\Tests\Unit\DrupalWebTestCase
- class \Drupal\autoload\Tests\Unit\EntityTest
 
 
Expanded class hierarchy of EntityTest
File
- src/
Tests/ Unit/ EntityTest.php, line 8  
Namespace
Drupal\autoload\Tests\UnitView source
class EntityTest extends AuxiliaryTest {
  /**
   * {@inheritdoc}
   */
  protected static $modules = array(
    'autoload_test_entity_ui',
  );
  /**
   * {@inheritdoc}
   */
  public function test() {
    // The next error must not appear:
    // Error: Class 'Drupal\autoload_test_entity_ui\ViewsController' not found
    // in entity_views_data() (line 31 of sites/all/modules/entity/views/entity.
    // views.inc).
  }
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            AuxiliaryTest:: | 
                  protected | function | Assert sought classes. | |
| 
            AuxiliaryTest:: | 
                  protected | function | Assert registered extensions for autoloading. | |
| 
            AuxiliaryTest:: | 
                  public static | function | 4 | |
| 
            AuxiliaryTest:: | 
                  protected | function | ||
| 
            EntityTest:: | 
                  protected static | property | 
            Modules which should enabled for testing. Overrides AuxiliaryTest:: | 
                  |
| 
            EntityTest:: | 
                  public | function | 
            Unit tests for auxiliary functions. Overrides AuxiliaryTest:: |