You are here

public function SourceTagTest::provideDataForConstuctor in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/SourceTagTest.php \phpDocumentor\Reflection\DocBlock\Tag\SourceTagTest::provideDataForConstuctor()

Data provider for testConstructorParesInputsIntoCorrectFields

Return value

array

File

vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/SourceTagTest.php, line 62

Class

SourceTagTest
Test class for \phpDocumentor\Reflection\DocBlock\Tag\SourceTag

Namespace

phpDocumentor\Reflection\DocBlock\Tag

Code

public function provideDataForConstuctor() {

  // $type, $content, $exContent, $exDescription, $exStartingLine, $exLineCount
  return array(
    array(
      'source',
      '2',
      '2',
      '',
      2,
      null,
    ),
    array(
      'source',
      'Testing',
      'Testing',
      'Testing',
      1,
      null,
    ),
    array(
      'source',
      '2 Testing',
      '2 Testing',
      'Testing',
      2,
      null,
    ),
    array(
      'source',
      '2 3 Testing comments',
      '2 3 Testing comments',
      'Testing comments',
      2,
      3,
    ),
    array(
      'source',
      '2 -1 Testing comments',
      '2 -1 Testing comments',
      '-1 Testing comments',
      2,
      null,
    ),
    array(
      'source',
      '-1 1 Testing comments',
      '-1 1 Testing comments',
      '-1 1 Testing comments',
      1,
      null,
    ),
  );
}