PHP Class Eccube\Tests\Form\Type\FaxTypeTest

Inheritance: extends PHPUnit_Framework_TestCase
显示文件 Open project: ec-cube/ec-cube

Protected Properties

Property Type Description
$app Eccube\Application
$form Symfony\Component\Form\FormInterface
$formData デフォルト値(正常系)を設定

Public Methods

Method Description
createApplication ( )
getValidTestData ( ) : array getValidTestData
setUp ( )
testInvalidTel01_LengthMax ( )
testInvalidTel01_LengthMin ( )
testInvalidTel01_NotNumber ( )
testInvalidTel02_LengthMax ( )
testInvalidTel02_LengthMin ( )
testInvalidTel02_NotNumber ( )
testInvalidTel03_LengthMax ( )
testInvalidTel03_LengthMin ( )
testInvalidTel03_NotNumber ( )
testInvalidTel_BlankOne ( )
testRequiredAddNotBlank_Tel01 ( )
testRequiredAddNotBlank_Tel02 ( )
testRequiredAddNotBlank_Tel03 ( )
testSubmitFromZenToHan ( )
testValidData ( $data )

Protected Methods

Method Description
tearDown ( )

Method Details

createApplication() public method

public createApplication ( )

getValidTestData() public method

正常系のデータパターンを返す
public getValidTestData ( ) : array
return array

setUp() public method

public setUp ( )

tearDown() protected method

protected tearDown ( )

testInvalidTel01_LengthMax() public method

testInvalidTel01_LengthMin() public method

testInvalidTel01_NotNumber() public method

testInvalidTel02_LengthMax() public method

testInvalidTel02_LengthMin() public method

testInvalidTel02_NotNumber() public method

testInvalidTel03_LengthMax() public method

testInvalidTel03_LengthMin() public method

testInvalidTel03_NotNumber() public method

testInvalidTel_BlankOne() public method

testRequiredAddNotBlank_Tel01() public method

testRequiredAddNotBlank_Tel02() public method

testRequiredAddNotBlank_Tel03() public method

testSubmitFromZenToHan() public method

testValidData() public method

public testValidData ( $data )

Property Details

$app protected_oe property

protected Application,Eccube $app
return Eccube\Application

$form protected_oe property

protected FormInterface,Symfony\Component\Form $form
return Symfony\Component\Form\FormInterface

$formData protected_oe property

デフォルト値(正常系)を設定
protected $formData