Skip to content

Commit

Permalink
#45 adding @group annotation to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Oct 24, 2016
1 parent a901719 commit 6d2bca2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public function testOmitNotRegisteredAnnotation()
$this->assertEquals(array(), $annotations);
}

/**
* @group 45
*/
public function testClassAnnotationIsIgnored()
{
$reader = $this->getReader();
Expand All @@ -86,6 +89,9 @@ public function testClassAnnotationIsIgnored()
self::assertEmpty($reader->getClassAnnotations($ref));
}

/**
* @group 45
*/
public function testMethodAnnotationIsIgnored()
{
$reader = $this->getReader();
Expand All @@ -96,6 +102,9 @@ public function testMethodAnnotationIsIgnored()
self::assertEmpty($reader->getMethodAnnotations($ref->getMethod('test')));
}

/**
* @group 45
*/
public function testPropertyAnnotationIsIgnored()
{
$reader = $this->getReader();
Expand Down
1 change: 1 addition & 0 deletions tests/Doctrine/Tests/Common/Annotations/DocParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,7 @@ public function testAnnotationWithoutClassIsIgnoredWithoutWarning()
* @return void
*
* @dataProvider provideTestIgnoreWholeNamespaces
* @group 45
*/
public function testIgnoreWholeNamespaces($ignoreAnnotationName, $input)
{
Expand Down

0 comments on commit 6d2bca2

Please sign in to comment.