Class Coverage

  • experimental
  • internal
CloneableInstantiable
Methods
public __construct(Google\Cloud\Core\Testing\Snippet\Coverage\ScannerInterface $scanner)
 
  • experimental
  • internal
public buildListToCover()
 

Creates a list of all snippets which should be covered.

  • return Snippet[]
  • experimental
  • internal
public cache( $identifier)
 
  • return Snippet|null
  • experimental
  • internal
public cover( $identifier)
 

Mark a snippet as covered.

  • return void
  • experimental
  • internal
public uncovered()
 

Return a list of all snippets not marked a covered.

  • return Snippet[]
  • experimental
  • internal
Properties
private $covered
 
  • var string[]
private static $snippetExcludeList = ['/\\GcTestListener/', '/\\Google\\Cloud\\Core\\Logger/', '/\\Google\\Cloud\\Core\\PhpArray/', '/\\Google\\Cloud\\Translate\\TranslateClient/', '/\\Google\\Cloud\\Translate\\Connection\\Rest/', '/\\Google\\Cloud\\Translate\\Connection\\ConnectionInterface/']
private $snippets
 
  • var Snippet[]
Methods
private getSnippetExcludeList()
Properties
private static $snippetExcludeList = ['/\\GcTestListener/', '/\\Google\\Cloud\\Core\\Logger/', '/\\Google\\Cloud\\Core\\PhpArray/', '/\\Google\\Cloud\\Translate\\TranslateClient/', '/\\Google\\Cloud\\Translate\\Connection\\Rest/', '/\\Google\\Cloud\\Translate\\Connection\\ConnectionInterface/']
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only