Home
last modified time | relevance | path

Searched refs:expected_form (Results 1 – 23 of 23) sorted by relevance

/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/Tests/Core/Form/
H A DFormBuilderTest.php139 $expected_form = $form_id();
180 $expected_form = $form_id();
229 $expected_form = $form_id();
283 $expected_form = $form_id();
308 $expected_form = $form_id();
346 $expected_form = $form_id();
386 $expected_form = $form_id();
424 $expected_form = $form_id();
467 $expected_form = $form_id();
525 $expected_form = $form_id();
[all …]
H A DFormTestBase.php208 * @param mixed $expected_form
218 protected function getMockForm($form_id, $expected_form = NULL, $count = 1) { argument
224 if ($expected_form) {
227 ->will($this->returnValue($expected_form));
265 * @param array $expected_form
273 protected function assertFormElement(array $expected_form, array $actual_form, $form_key = NULL) { argument
274 $expected_element = $form_key ? $expected_form[$form_key] : $expected_form;
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Core/Form/
H A DFormBuilderTest.php139 $expected_form = $form_id();
180 $expected_form = $form_id();
229 $expected_form = $form_id();
283 $expected_form = $form_id();
308 $expected_form = $form_id();
346 $expected_form = $form_id();
386 $expected_form = $form_id();
424 $expected_form = $form_id();
467 $expected_form = $form_id();
525 $expected_form = $form_id();
[all …]
H A DFormTestBase.php208 * @param mixed $expected_form
218 protected function getMockForm($form_id, $expected_form = NULL, $count = 1) { argument
224 if ($expected_form) {
227 ->will($this->returnValue($expected_form));
265 * @param array $expected_form
273 protected function assertFormElement(array $expected_form, array $actual_form, $form_key = NULL) { argument
274 $expected_element = $form_key ? $expected_form[$form_key] : $expected_form;
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/Tests/Core/Form/EventSubscriber/
H A DFormAjaxSubscriberTest.php72 $expected_form = $form + [
84 ->with($request, $expected_form, $form_state, $commands)
97 $expected_form = $form + [
109 ->with($request, $expected_form, $form_state, $commands)
135 $expected_form = $form + [
146 ->with($request, $expected_form, $form_state, $commands)
216 $expected_form = $form + [
229 ->with($request, $expected_form, $form_state, $commands)
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/Tests/Core/Form/EventSubscriber/
H A DFormAjaxSubscriberTest.php72 $expected_form = $form + [
84 ->with($request, $expected_form, $form_state, $commands)
97 $expected_form = $form + [
109 ->with($request, $expected_form, $form_state, $commands)
135 $expected_form = $form + [
146 ->with($request, $expected_form, $form_state, $commands)
216 $expected_form = $form + [
229 ->with($request, $expected_form, $form_state, $commands)
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/password_manager/core/browser/
H A Dhttp_password_store_migrator_unittest.cc180 PasswordForm expected_form = form; in TestFullStore() local
181 expected_form.url = GURL(kTestHttpsURL); in TestFullStore()
182 expected_form.signon_realm = expected_form.url.GetOrigin().spec(); in TestFullStore()
188 EXPECT_CALL(store(), AddLogin(expected_form)); in TestFullStore()
193 ProcessForms(ElementsAre(Pointee(expected_form), in TestFullStore()
H A Dpassword_manager_unittest.cc651 PasswordForm expected_form(form); in TEST_P() local
652 expected_form.password_value.swap(expected_form.new_password_value); in TEST_P()
653 expected_form.password_element.swap(expected_form.new_password_element); in TEST_P()
654 EXPECT_THAT(saved_form, FormMatches(expected_form)); in TEST_P()
2280 PasswordForm expected_form(android_form); in TEST_P() local
2281 expected_form.password_value = filled_form.password_value; in TEST_P()
2282 EXPECT_THAT(saved_form, FormMatches(expected_form)); in TEST_P()
H A Dlogin_database_unittest.cc1234 PasswordForm expected_form(completed_form); in TEST_F() local
1236 expected_form.in_store = PasswordForm::Store::kProfileStore; in TEST_F()
1237 EXPECT_EQ(expected_form, *result[0]); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/api/web_request/
H A Dupload_data_presenter_unittest.cc31 base::DictionaryValue expected_form; in TEST() local
32 expected_form.SetWithoutPathExpansion("key.with.dots", std::move(values)); in TEST()
44 EXPECT_TRUE(result->Equals(&expected_form)); in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/api/web_request/
H A Dupload_data_presenter_unittest.cc30 base::DictionaryValue expected_form; in TEST() local
31 expected_form.SetWithoutPathExpansion("key.with.dots", std::move(values)); in TEST()
43 EXPECT_TRUE(result->Equals(&expected_form)); in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/password_manager/core/browser/
H A Dhttp_password_store_migrator_unittest.cc191 PasswordForm expected_form = form; in TestFullStore() local
192 expected_form.origin = GURL(kTestHttpsURL); in TestFullStore()
193 expected_form.signon_realm = expected_form.origin.GetOrigin().spec(); in TestFullStore()
199 EXPECT_CALL(store(), AddLogin(expected_form)); in TestFullStore()
204 ProcessForms(ElementsAre(Pointee(expected_form), in TestFullStore()
H A Dpassword_manager_unittest.cc589 PasswordForm expected_form(form); in TEST_F() local
590 expected_form.password_value.swap(expected_form.new_password_value); in TEST_F()
591 expected_form.password_element.swap(expected_form.new_password_element); in TEST_F()
592 EXPECT_THAT(saved_form, FormMatches(expected_form)); in TEST_F()
2281 PasswordForm expected_form(android_form); in TEST_F() local
2282 expected_form.password_value = filled_form.password_value; in TEST_F()
2283 EXPECT_THAT(saved_form, FormMatches(expected_form)); in TEST_F()
H A Dlogin_database_unittest.cc1216 PasswordForm expected_form(completed_form); in TEST_F() local
1218 expected_form.in_store = PasswordForm::Store::kProfileStore; in TEST_F()
1219 EXPECT_EQ(expected_form, *result[0]); in TEST_F()
/dports/www/drupal9/drupal-9.2.10/core/modules/block/tests/src/Kernel/
H A DBlockInterfaceTest.php55 $expected_form = [
90 …$this->assertEquals($expected_form, $actual_form, 'Only the expected form elements were present.');
/dports/www/drupal8/drupal-8.9.20/core/modules/block/tests/src/Kernel/
H A DBlockInterfaceTest.php55 $expected_form = [
90 …entical($this->castSafeStrings($actual_form), $this->castSafeStrings($expected_form), 'Only the ex…
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/password_manager/android/
H A Dpassword_accessory_controller_impl_unittest.cc848 PasswordForm expected_form; in TEST_F() local
849 expected_form.blocked_by_user = true; in TEST_F()
850 expected_form.scheme = PasswordForm::Scheme::kHtml; in TEST_F()
851 expected_form.signon_realm = kExampleSignonRealm; in TEST_F()
852 expected_form.url = GURL(kExampleSite); in TEST_F()
853 expected_form.date_created = base::Time::Now(); in TEST_F()
854 EXPECT_CALL(*mock_password_store_, AddLogin(Eq(expected_form))); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/ui/settings/password/
H A Dpasswords_settings_app_interface.mm104 password_manager::PasswordForm expected_form = form;
105 expected_form.in_store = password_manager::PasswordForm::Store::kProfileStore;
112 if (result == expected_form)
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/autofill/automated_tests/
H A Dcache_replayer_unittest.cc637 const auto& expected_form = forms[i]; in DoFormsMatch() local
639 if (static_cast<int>(expected_form.fields.size()) != in DoFormsMatch()
642 << expected_form.fields.size() << " fields but got " in DoFormsMatch()
648 for (size_t j = 0; j < expected_form.fields.size(); ++j) { in DoFormsMatch()
649 const auto& expected_field = expected_form.fields[j]; in DoFormsMatch()
/dports/net-im/telepathy-gabble/telepathy-gabble-0.18.4/tests/twisted/muc/
H A Droom-config.py81 expected_form = get_default_form()
82 expected_form.update(fields)
83 assertEquals(expected_form, form)
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/ui/autofill/
H A Dautofill_app_interface.mm109 password_manager::PasswordForm expected_form = form;
110 expected_form.in_store = password_manager::PasswordForm::Store::kProfileStore;
114 if (result == expected_form)
/dports/devel/radare2/radare2-5.1.1/test/unit/
H A Dtest_dwarf.c24 #define check_abbrev_attr_form(expected_form) \ argument
25 mu_assert_eq (da->decls[i].defs[j].attr_form, expected_form, "Incorrect children flag");
/dports/www/py-rollbar/rollbar-0.16.2/rollbar/test/fastapi_tests/
H A Dtest_routing.py250 expected_form = {'param1': 'value1', 'param2': 'value2'}
275 self.assertDictEqual(payload_request['POST'], expected_form)