Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • A
  • B
  • DumperTest
  • InlineTest
  • ParseExceptionTest
  • ParserTest
  • YamlTest
  • Overview
  • Namespace
  • Class
  • Tree

Class ParserTest

PHPUnit_Framework_TestCase
Extended by Symfony\Component\Yaml\Tests\ParserTest
Namespace: Symfony\Component\Yaml\Tests
Located at Tests/ParserTest.php
Methods summary
protected
# setUp( )
protected
# tearDown( )
public
# testSpecifications( $file, $expected, $yaml, $comment )

Dataprovider

getDataFormSpecifications
public
# getDataFormSpecifications( )
public
# testTabsInYaml( )
public
# testEndOfTheDocumentMarker( )
public
# getBlockChompingTests( )
public
# testBlockChomping( $expected, $yaml )

Dataprovider

getBlockChompingTests
public
# testBlockLiteralWithLeadingNewlines( )

Regression test for issue #7989.

Regression test for issue #7989.

See

https://github.com/symfony/symfony/issues/7989
public
# testObjectSupportEnabled( )
public
# testObjectSupportDisabledButNoExceptions( )
public
# testObjectsSupportDisabledWithExceptions( )

Expectedexception

\Symfony\Component\Yaml\Exception\ParseException
public
# testNonUtf8Exception( )
public
# testUnindentedCollectionException( )

Expectedexception

\Symfony\Component\Yaml\Exception\ParseException
public
# testShortcutKeyUnindentedCollectionException( )

Expectedexception

\Symfony\Component\Yaml\Exception\ParseException
public
# testMultipleDocumentsNotSupportedException( )

Expectedexception

\Symfony\Component\Yaml\Exception\ParseException

Expectedexceptionmessage

Multiple documents are not supported.
public
# testSequenceInAMapping( )

Expectedexception

\Symfony\Component\Yaml\Exception\ParseException
public
# testMappingInASequence( )

Expectedexception

\Symfony\Component\Yaml\Exception\ParseException
public
# testMappingDuplicateKeyBlock( )

It is an error for two equal keys to appear in the same mapping node. In such a case the YAML processor may continue, ignoring the second key: value pair and issuing an appropriate warning. This strategy preserves a consistent information model for one-pass and random access applications.

It is an error for two equal keys to appear in the same mapping node. In such a case the YAML processor may continue, ignoring the second key: value pair and issuing an appropriate warning. This strategy preserves a consistent information model for one-pass and random access applications.

See

http://yaml.org/spec/1.2/spec.html#id2759572
http://yaml.org/spec/1.1/#id932806

Covers

\Symfony\Component\Yaml\Parser::parse
public
# testMappingDuplicateKeyFlow( )

Covers

\Symfony\Component\Yaml\Inline::parseMapping
public
# testEmptyValue( )
public
# testStringBlockWithComments( )
public
# testFoldedStringBlockWithComments( )
public
# testNestedFoldedStringBlockWithComments( )
public
# testReferenceResolvingInInlineStrings( )
public
# testYamlDirective( )
Properties summary
protected $parser
#
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen