PATH:
opt
/
alt
/
php54
/
usr
/
share
/
pear
/
test
/
Form
/
Symfony
/
Component
/
Form
/
Tests
/
Extension
/
Core
/
DataTransformer
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Tests\Extension\Core\DataTransformer; class BaseDateTimeTransformerTest extends \PHPUnit_Framework_TestCase { /** * @expectedException \Symfony\Component\Form\Exception\InvalidArgumentException * @expectedExceptionMessage this_timezone_does_not_exist */ public function testConstructFailsIfInputTimezoneIsInvalid() { $this->getMock( 'Symfony\Component\Form\Extension\Core\DataTransformer\BaseDateTimeTransformer', array(), array('this_timezone_does_not_exist') ); } /** * @expectedException \Symfony\Component\Form\Exception\InvalidArgumentException * @expectedExceptionMessage that_timezone_does_not_exist */ public function testConstructFailsIfOutputTimezoneIsInvalid() { $this->getMock( 'Symfony\Component\Form\Extension\Core\DataTransformer\BaseDateTimeTransformer', array(), array(null, 'that_timezone_does_not_exist') ); } }
[-] ChoicesToValuesTransformerTest.php
[edit]
[-] IntegerToLocalizedStringTransformerTest.php
[edit]
[-] DataTransformerChainTest.php
[edit]
[-] BooleanToStringTransformerTest.php
[edit]
[-] DateTimeToRfc3339TransformerTest.php
[edit]
[-] DateTimeToStringTransformerTest.php
[edit]
[-] ValueToDuplicatesTransformerTest.php
[edit]
[-] DateTimeTestCase.php
[edit]
[-] NumberToLocalizedStringTransformerTest.php
[edit]
[-] PercentToLocalizedStringTransformerTest.php
[edit]
[-] ArrayToPartsTransformerTest.php
[edit]
[-] DateTimeToLocalizedStringTransformerTest.php
[edit]
[-] BaseDateTimeTransformerTest.php
[edit]
[-] MoneyToLocalizedStringTransformerTest.php
[edit]
[-] ChoiceToValueTransformerTest.php
[edit]
[-] DateTimeToArrayTransformerTest.php
[edit]
[-] DateTimeToTimestampTransformerTest.php
[edit]
[+]
..