Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add docs to register custom form extensions and types for unit testing#7578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
pierredup wants to merge3 commits intosymfony:masterfrompierredup:forms-testing
Closed
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletionsform/unit_testing.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -196,6 +196,12 @@ allows you to return a list of extensions to register::
// ... your tests
}

It is also possible to load custom form types, form type extensions or type guessers using the
``getTypedExtensions``, ``getTypes`` and ``getTypeGuessers`` methods.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This should be part of a separate pull request as we will have to merge it into themaster branch (the rest can be merged into the docs for Symfony 2.7).

HeahDude and roman-1983 reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

One thing I forgot: Can you also add aversionadded directive that mentions the introduction of the new methods?


.. versionadded:: 3.3
The ``getTypedExtensions``, ``getTypes`` and ``getTypeGuessers`` were introduced in Symfony 3.3.

Testing against Different Sets of Data
--------------------------------------

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp