217 lines
6 KiB
YAML
217 lines
6 KiB
YAML
name: ConnectionTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: DBALConnection
|
|
type: class
|
|
source: Doctrine\DBAL\Connection
|
|
- name: DBALException
|
|
type: class
|
|
source: Doctrine\DBAL\Exception
|
|
- name: AbstractPlatform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\AbstractPlatform
|
|
- name: MariaDb1060Platform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\MariaDb1060Platform
|
|
- name: MariaDBPlatform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\MariaDBPlatform
|
|
- name: MySQL57Platform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\MySQL57Platform
|
|
- name: MySQL80Platform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\MySQL80Platform
|
|
- name: MySQLPlatform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\MySQLPlatform
|
|
- name: OraclePlatform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\OraclePlatform
|
|
- name: PostgreSQL100Platform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\PostgreSQL100Platform
|
|
- name: PostgreSQL94Platform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\PostgreSQL94Platform
|
|
- name: PostgreSQLPlatform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\PostgreSQLPlatform
|
|
- name: SQLServer2012Platform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\SQLServer2012Platform
|
|
- name: SQLServerPlatform
|
|
type: class
|
|
source: Doctrine\DBAL\Platforms\SQLServerPlatform
|
|
- name: ConflictResolutionMode
|
|
type: class
|
|
source: Doctrine\DBAL\Query\ForUpdate\ConflictResolutionMode
|
|
- name: QueryBuilder
|
|
type: class
|
|
source: Doctrine\DBAL\Query\QueryBuilder
|
|
- name: Result
|
|
type: class
|
|
source: Doctrine\DBAL\Result
|
|
- name: AbstractSchemaManager
|
|
type: class
|
|
source: Doctrine\DBAL\Schema\AbstractSchemaManager
|
|
- name: Schema
|
|
type: class
|
|
source: Doctrine\DBAL\Schema\Schema
|
|
- name: SchemaConfig
|
|
type: class
|
|
source: Doctrine\DBAL\Schema\SchemaConfig
|
|
- name: MockObject
|
|
type: class
|
|
source: PHPUnit\Framework\MockObject\MockObject
|
|
- name: TestCase
|
|
type: class
|
|
source: PHPUnit\Framework\TestCase
|
|
- name: DummyMessage
|
|
type: class
|
|
source: Symfony\Component\Messenger\Bridge\Doctrine\Tests\Fixtures\DummyMessage
|
|
- name: Connection
|
|
type: class
|
|
source: Symfony\Component\Messenger\Bridge\Doctrine\Transport\Connection
|
|
- name: InvalidArgumentException
|
|
type: class
|
|
source: Symfony\Component\Messenger\Exception\InvalidArgumentException
|
|
- name: TransportException
|
|
type: class
|
|
source: Symfony\Component\Messenger\Exception\TransportException
|
|
properties: []
|
|
methods:
|
|
- name: testGetAMessageWillChangeItsStatus
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetWithNoPendingMessageWillReturnNull
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetWithSkipLockedWithForUpdateMethod
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGetWithSkipLockedWithoutForUpdateMethod
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testItThrowsATransportExceptionIfItCannotAcknowledgeMessage
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testItThrowsATransportExceptionIfItCannotRejectMessage
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSend
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSendLastInsertIdReturnsInteger
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: getDBALConnectionMock
|
|
visibility: private
|
|
parameters: []
|
|
comment: null
|
|
- name: getQueryBuilderMock
|
|
visibility: private
|
|
parameters: []
|
|
comment: null
|
|
- name: getResultMock
|
|
visibility: private
|
|
parameters:
|
|
- name: expectedResult
|
|
comment: null
|
|
- name: testBuildConfiguration
|
|
visibility: public
|
|
parameters:
|
|
- name: dsn
|
|
- name: options
|
|
- name: expectedConnection
|
|
- name: expectedTableName
|
|
- name: expectedRedeliverTimeout
|
|
- name: expectedQueue
|
|
- name: expectedAutoSetup
|
|
comment: '# * @dataProvider buildConfigurationProvider'
|
|
- name: buildConfigurationProvider
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testItThrowsAnExceptionIfAnExtraOptionsInDefined
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testItThrowsAnExceptionIfAnExtraOptionsInDefinedInDSN
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFind
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFindAll
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testGeneratedSql
|
|
visibility: public
|
|
parameters:
|
|
- name: platform
|
|
- name: expectedSql
|
|
comment: '# * @dataProvider providePlatformSql'
|
|
- name: providePlatformSql
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testConfigureSchema
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testConfigureSchemaDifferentDbalConnection
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testConfigureSchemaTableExists
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testFindAllSqlGenerated
|
|
visibility: public
|
|
parameters:
|
|
- name: platform
|
|
- name: expectedSql
|
|
comment: '# * @dataProvider provideFindAllSqlGeneratedByPlatform'
|
|
- name: provideFindAllSqlGeneratedByPlatform
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Doctrine\DBAL\Platforms\AbstractPlatform
|
|
- Doctrine\DBAL\Platforms\MariaDb1060Platform
|
|
- Doctrine\DBAL\Platforms\MariaDBPlatform
|
|
- Doctrine\DBAL\Platforms\MySQL57Platform
|
|
- Doctrine\DBAL\Platforms\MySQL80Platform
|
|
- Doctrine\DBAL\Platforms\MySQLPlatform
|
|
- Doctrine\DBAL\Platforms\OraclePlatform
|
|
- Doctrine\DBAL\Platforms\PostgreSQL100Platform
|
|
- Doctrine\DBAL\Platforms\PostgreSQL94Platform
|
|
- Doctrine\DBAL\Platforms\PostgreSQLPlatform
|
|
- Doctrine\DBAL\Platforms\SQLServer2012Platform
|
|
- Doctrine\DBAL\Platforms\SQLServerPlatform
|
|
- Doctrine\DBAL\Query\ForUpdate\ConflictResolutionMode
|
|
- Doctrine\DBAL\Query\QueryBuilder
|
|
- Doctrine\DBAL\Result
|
|
- Doctrine\DBAL\Schema\AbstractSchemaManager
|
|
- Doctrine\DBAL\Schema\Schema
|
|
- Doctrine\DBAL\Schema\SchemaConfig
|
|
- PHPUnit\Framework\MockObject\MockObject
|
|
- PHPUnit\Framework\TestCase
|
|
- Symfony\Component\Messenger\Bridge\Doctrine\Tests\Fixtures\DummyMessage
|
|
- Symfony\Component\Messenger\Bridge\Doctrine\Transport\Connection
|
|
- Symfony\Component\Messenger\Exception\InvalidArgumentException
|
|
- Symfony\Component\Messenger\Exception\TransportException
|
|
interfaces: []
|