NamespaceCoverageCoversClassTest.php

File

drupal/core/vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageCoversClassTest.php
View source
<?php

/**
 * @coversDefaultClass \Foo\CoveredClass
 */
class NamespaceCoverageCoversClassTest extends PHPUnit_Framework_TestCase {

  /**
   * @covers ::privateMethod
   * @covers ::protectedMethod
   * @covers ::publicMethod
   * @covers \Foo\CoveredParentClass::privateMethod
   * @covers \Foo\CoveredParentClass::protectedMethod
   * @covers \Foo\CoveredParentClass::publicMethod
   */
  public function testSomething() {
    $o = new Foo\CoveredClass();
    $o
      ->publicMethod();
  }

}

Classes

Namesort descending Description
NamespaceCoverageCoversClassTest @coversDefaultClass \Foo\CoveredClass