| @@ 762-772 (lines=11) @@ | ||
| 759 | self::assertFalse($this->_platform->canEmulateSchemas()); |
|
| 760 | } |
|
| 761 | ||
| 762 | public function testInitializesDoctrineTypeMappings() |
|
| 763 | { |
|
| 764 | self::assertTrue($this->_platform->hasDoctrineTypeMappingFor('integer')); |
|
| 765 | self::assertSame('integer', $this->_platform->getDoctrineTypeMapping('integer')); |
|
| 766 | ||
| 767 | self::assertTrue($this->_platform->hasDoctrineTypeMappingFor('binary')); |
|
| 768 | self::assertSame('binary', $this->_platform->getDoctrineTypeMapping('binary')); |
|
| 769 | ||
| 770 | self::assertTrue($this->_platform->hasDoctrineTypeMappingFor('varbinary')); |
|
| 771 | self::assertSame('binary', $this->_platform->getDoctrineTypeMapping('varbinary')); |
|
| 772 | } |
|
| 773 | ||
| 774 | protected function getBinaryDefaultLength() |
|
| 775 | { |
|
| @@ 422-432 (lines=11) @@ | ||
| 419 | /** |
|
| 420 | * @group DBAL-2555 |
|
| 421 | */ |
|
| 422 | public function testInitializesDoctrineTypeMappings() |
|
| 423 | { |
|
| 424 | self::assertTrue($this->_platform->hasDoctrineTypeMappingFor('long raw')); |
|
| 425 | self::assertSame('blob', $this->_platform->getDoctrineTypeMapping('long raw')); |
|
| 426 | ||
| 427 | self::assertTrue($this->_platform->hasDoctrineTypeMappingFor('raw')); |
|
| 428 | self::assertSame('binary', $this->_platform->getDoctrineTypeMapping('raw')); |
|
| 429 | ||
| 430 | self::assertTrue($this->_platform->hasDoctrineTypeMappingFor('date')); |
|
| 431 | self::assertSame('date', $this->_platform->getDoctrineTypeMapping('date')); |
|
| 432 | } |
|
| 433 | ||
| 434 | protected function getBinaryMaxLength() |
|
| 435 | { |
|