PHP 클래스 Symfony\Component\DomCrawler\Tests\FormTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: symfony/symfony

공개 메소드들

메소드 설명
provideGetUriValues ( )
provideInitializeValues ( )
setUpBeforeClass ( )
testAll ( )
testConstructor ( $message, $form, $values )
testConstructorHandlesFormAttribute ( )
testConstructorHandlesFormValues ( )
testConstructorLoadsOnlyFieldsOfTheRightForm ( )
testConstructorThrowsExceptionIfNoRelatedForm ( ) __construct() should throw \\LogicException if the form attribute is invalid.
testConstructorThrowsExceptionIfTheNodeHasNoFormAncestor ( )
testDifferentFieldTypesWithSameName ( )
testDisableValidation ( )
testFormFieldRegistryAcceptAnyNames ( )
testFormFieldRegistryGetThrowAnExceptionWhenTheFieldDoesNotExist ( )
testFormFieldRegistryHasReturnsTrueWhenTheFQNExists ( )
testFormFieldRegistrySetThrowAnExceptionWhenTheFieldDoesNotExist ( )
testFormRegistryFieldsCanBeRemoved ( )
testFormRegistrySetArrayOnNotCompoundField ( )
testFormRegistrySetValueOnCompoundField ( )
testFormRegistrySetValues ( )
testFormRegistrySupportsMultivaluedFields ( )
testGet ( )
testGetBaseUri ( )
testGetFiles ( )
testGetFormNode ( )
testGetFormNodeFromNamedForm ( )
testGetMethod ( )
testGetMethodWithOverride ( )
testGetPhpFiles ( )
testGetPhpValues ( )
testGetSetValue ( )
testGetUri ( $message, $form, $values, $uri, $method = null )
testGetUriAbsolute ( )
testGetUriActionAbsolute ( )
testGetUriWithActionOverride ( )
testGetUriWithAnchor ( )
testGetUriWithOnlyQueryString ( )
testGetUriWithoutAction ( )
testGetValues ( )
testHas ( )
testMultiValuedFields ( )
testMultiselectSetValues ( )
testOffsetExists ( )
testOffsetUnset ( )
testRemove ( )
testSetValues ( )
testSubmitWithoutAFormButton ( )
testTypeAttributeIsCaseInsensitive ( )
testgetPhpValuesWithEmptyTextarea ( )

보호된 메소드들

메소드 설명
createForm ( $form, $method = null, $currentUri = null )
createTestHtml5Form ( )
createTestMultipleForm ( )
getFormFieldMock ( $name, $value = null )

메소드 상세

createForm() 보호된 메소드

protected createForm ( $form, $method = null, $currentUri = null )

createTestHtml5Form() 보호된 메소드

protected createTestHtml5Form ( )

createTestMultipleForm() 보호된 메소드

protected createTestMultipleForm ( )

getFormFieldMock() 보호된 메소드

protected getFormFieldMock ( $name, $value = null )

provideGetUriValues() 공개 메소드

public provideGetUriValues ( )

provideInitializeValues() 공개 메소드

setUpBeforeClass() 공개 정적인 메소드

public static setUpBeforeClass ( )

testAll() 공개 메소드

public testAll ( )

testConstructor() 공개 메소드

public testConstructor ( $message, $form, $values )

testConstructorHandlesFormAttribute() 공개 메소드

testConstructorHandlesFormValues() 공개 메소드

testConstructorLoadsOnlyFieldsOfTheRightForm() 공개 메소드

testConstructorThrowsExceptionIfNoRelatedForm() 공개 메소드

__construct() should throw \\LogicException if the form attribute is invalid.

testConstructorThrowsExceptionIfTheNodeHasNoFormAncestor() 공개 메소드

testDifferentFieldTypesWithSameName() 공개 메소드

testDisableValidation() 공개 메소드

testFormFieldRegistryAcceptAnyNames() 공개 메소드

testFormFieldRegistryGetThrowAnExceptionWhenTheFieldDoesNotExist() 공개 메소드

testFormFieldRegistryHasReturnsTrueWhenTheFQNExists() 공개 메소드

testFormFieldRegistrySetThrowAnExceptionWhenTheFieldDoesNotExist() 공개 메소드

testFormRegistryFieldsCanBeRemoved() 공개 메소드

testFormRegistrySetArrayOnNotCompoundField() 공개 메소드

testFormRegistrySetValueOnCompoundField() 공개 메소드

testFormRegistrySetValues() 공개 메소드

testFormRegistrySupportsMultivaluedFields() 공개 메소드

testGet() 공개 메소드

public testGet ( )

testGetBaseUri() 공개 메소드

public testGetBaseUri ( )

testGetFiles() 공개 메소드

public testGetFiles ( )

testGetFormNode() 공개 메소드

public testGetFormNode ( )

testGetFormNodeFromNamedForm() 공개 메소드

testGetMethod() 공개 메소드

public testGetMethod ( )

testGetMethodWithOverride() 공개 메소드

testGetPhpFiles() 공개 메소드

public testGetPhpFiles ( )

testGetPhpValues() 공개 메소드

public testGetPhpValues ( )

testGetSetValue() 공개 메소드

public testGetSetValue ( )

testGetUri() 공개 메소드

public testGetUri ( $message, $form, $values, $uri, $method = null )

testGetUriAbsolute() 공개 메소드

public testGetUriAbsolute ( )

testGetUriActionAbsolute() 공개 메소드

testGetUriWithActionOverride() 공개 메소드

testGetUriWithAnchor() 공개 메소드

testGetUriWithOnlyQueryString() 공개 메소드

testGetUriWithoutAction() 공개 메소드

testGetValues() 공개 메소드

public testGetValues ( )

testHas() 공개 메소드

public testHas ( )

testMultiValuedFields() 공개 메소드

testMultiselectSetValues() 공개 메소드

testOffsetExists() 공개 메소드

public testOffsetExists ( )

testOffsetUnset() 공개 메소드

public testOffsetUnset ( )

testRemove() 공개 메소드

public testRemove ( )

testSetValues() 공개 메소드

public testSetValues ( )

testSubmitWithoutAFormButton() 공개 메소드

testTypeAttributeIsCaseInsensitive() 공개 메소드

testgetPhpValuesWithEmptyTextarea() 공개 메소드