10 calls to FormTestBase::getMockForm() in Drupal 10
- FormBuilderTest::testBuildFormWithObject in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the buildForm() method with a form object.
- FormBuilderTest::testBuildFormWithTriggeringElement in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests whether the triggering element is properly identified.
- FormBuilderTest::testExceededFileSize in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - @covers ::buildForm
- FormBuilderTest::testFormCacheDeletionCached in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests that a cached form is deleted after submit.
- FormBuilderTest::testFormCacheDeletionUncached in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests that an uncached form does not trigger cache set or delete.
- FormBuilderTest::testGetFormIdWithObject in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the getFormId() method with a form object.
- FormBuilderTest::testGetFormWithObject in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the getForm() method with a form object.
- FormBuilderTest::testHandleFormStateResponse in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the handling of FormStateInterface::$response.
- FormBuilderTest::testHandleRedirectWithResponse in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the handling of a redirect when FormStateInterface::$response exists.
- FormBuilderTest::testInvalidToken in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - @covers ::doBuildForm