class DocParserTest

Hierarchy

  • class \Doctrine\Tests\Common\Annotations\DocParserTest extends \Doctrine\Tests\Common\Annotations\PHPUnit_Framework_TestCase

Expanded class hierarchy of DocParserTest

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/DocParserTest.php, line 14

Namespace

Doctrine\Tests\Common\Annotations
View source

Members

Namesort descending Modifiers Type Description Overrides
DocParserTest::createTestParser public function
DocParserTest::getAnnotationVarTypeArrayProviderInvalid public function
DocParserTest::getAnnotationVarTypeProviderInvalid public function
DocParserTest::getAnnotationVarTypeProviderValid public function
DocParserTest::getConstantsProvider public function
DocParserTest::testAnnotationDoesntThrowExceptionWhenAtSignIsNotFollowedByIdentifier public function @group DCOM-41
DocParserTest::testAnnotationDontAcceptSingleQuotes public function @expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage Expected PlainValue, got ''' at position 10.
DocParserTest::testAnnotationTarget public function
DocParserTest::testAnnotationTargetSyntaxError public function @expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage Expected namespace separator or identifier, got ')' at position 24 in class @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithTargetSyntaxError.
DocParserTest::testAnnotationThrowsExceptionWhenAtSignIsNotFollowedByIdentifierInNestedAnnotation public function @group DCOM-41 @expectedException Doctrine\Common\Annotations\AnnotationException
DocParserTest::testAnnotationWithAttributes public function @dataProvider getAnnotationVarTypeProviderValid
DocParserTest::testAnnotationWithAttributesError public function @dataProvider getAnnotationVarTypeProviderInvalid
DocParserTest::testAnnotationWithAttributesWithVarTypeArrayError public function @dataProvider getAnnotationVarTypeArrayProviderInvalid
DocParserTest::testAnnotationWithInvalidTargetDeclarationError public function @expectedException \InvalidArgumentException @expectedExceptionMessage Invalid Target "Foo". Available targets: [ALL, CLASS, METHOD, PROPERTY, ANNOTATION]
DocParserTest::testAnnotationWithoutClassIsIgnoredWithoutWarning public function @group DDC-77
DocParserTest::testAnnotationWithoutConstructor public function
DocParserTest::testAnnotationWithRequiredAttributes public function
DocParserTest::testAnnotationWithRequiredAttributesWithoutContructor public function
DocParserTest::testAnnotationWithTargetEmptyError public function @expectedException \InvalidArgumentException @expectedExceptionMessage @Target expects either a string value, or an array of strings, "NULL" given.
DocParserTest::testAnnotationWithVarType public function @dataProvider getAnnotationVarTypeProviderValid
DocParserTest::testAnnotationWithVarTypeArrayError public function @dataProvider getAnnotationVarTypeArrayProviderInvalid
DocParserTest::testAnnotationWithVarTypeError public function @dataProvider getAnnotationVarTypeProviderInvalid
DocParserTest::testArrayWithColon public function
DocParserTest::testAutoloadAnnotation public function @group DCOM-56
DocParserTest::testBasicAnnotations public function
DocParserTest::testCastFloat public function @group DCOM-38
DocParserTest::testCastInt public function @group DCOM-38
DocParserTest::testCastNegativeFloat public function @group DCOM-38
DocParserTest::testCastNegativeInt public function @group DCOM-38
DocParserTest::testDefaultAnnotationValueIsNotOverwritten public function
DocParserTest::testIgnorePHPDocThrowTag public function @group DCOM-14
DocParserTest::testInvalidContantName public function @expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage [Semantical Error] Couldn't find constant foo.
DocParserTest::testInvalidIdentifierInAnnotation public function @expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage [Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_IDENTIFIER or Doctrine\Common\Annotations\DocLexer::T_TRUE or…
DocParserTest::testNamespacedAnnotations public function
DocParserTest::testNestedArraysWithNestedAnnotation public function
DocParserTest::testRegressionDDC575 public function @group DDC-575
DocParserTest::testReservedKeywordsInAnnotations public function
DocParserTest::testSetValuesExeption public function @expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage [Creation Error] The annotation @SomeAnnotationClassNameWithoutConstructor declared on some class does not have a property named "invalidaProperty".…
DocParserTest::testSupportClassConstants public function @dataProvider getConstantsProvider
DocParserTest::testSyntaxErrorWithContextDescription public function @group DDC-78 @expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage Expected PlainValue, got ''' at position 10 in class \Doctrine\Tests\Common\Annotations\Name
DocParserTest::testSyntaxErrorWithUnknownCharacters public function @group DDC-183
DocParserTest::testTrailingCommaIsAllowed public function
DocParserTest::testTypicalMethodDocBlock public function @group debug
DocParserTest::testWithoutConstructorWhenHasNoProperties public function @expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage The annotation @SomeAnnotationClassNameWithoutConstructorAndProperties declared on does not accept any values, but got {"value":"Foo"}.
DocParserTest::testWithoutConstructorWhenIsNotDefaultValue public function @expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage The annotation @SomeAnnotationClassNameWithoutConstructorAndProperties declared on does not accept any values, but got {"value":"Foo"}.