Home
last modified time | relevance | path

Searched refs:expected_label (Results 1 – 25 of 76) sorted by relevance

1234

/dports/security/gcr/gcr-3.40.0/gcr/
H A Dtest-openssh.c34 const gchar *expected_label; member
104 if (test->expected_label) in on_openssh_pub_parse()
105 g_assert_cmpstr (label, ==, test->expected_label); in on_openssh_pub_parse()
122 test->expected_label = "rsa-key@example.com"; in test_parse_v1_rsa()
139 test->expected_label = "rsa-key@example.com"; in test_parse_v2_rsa()
156 test->expected_label = "dsa-key@example.com"; in test_parse_v2_dsa()
173 test->expected_label = "ecdsa-key@example.com"; in test_parse_v2_ecdsa()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_errors-722.0.0/src/
H A Ddiagnostic.rs149 expected_label: &dyn fmt::Display, in note_expected_found()
154 self.note_expected_found_extra(expected_label, expected, found_label, found, &"", &"") in note_expected_found()
182 expected_label: &dyn fmt::Display, in note_expected_found_extra()
189 let expected_label = expected_label.to_string(); in note_expected_found_extra() localVariable
190 let expected_label = if expected_label.is_empty() { in note_expected_found_extra() localVariable
193 format!("expected {}", expected_label) in note_expected_found_extra()
201 let (found_padding, expected_padding) = if expected_label.len() > found_label.len() { in note_expected_found_extra()
202 (expected_label.len() - found_label.len(), 0) in note_expected_found_extra()
204 (0, found_label.len() - expected_label.len()) in note_expected_found_extra()
207 vec![(format!("{}{} `", " ".repeat(expected_padding), expected_label), Style::NoStyle)]; in note_expected_found_extra()
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_errors-718.0.0/src/
H A Ddiagnostic.rs149 expected_label: &dyn fmt::Display, in note_expected_found()
154 self.note_expected_found_extra(expected_label, expected, found_label, found, &"", &"") in note_expected_found()
182 expected_label: &dyn fmt::Display, in note_expected_found_extra()
189 let expected_label = expected_label.to_string(); in note_expected_found_extra() localVariable
190 let expected_label = if expected_label.is_empty() { in note_expected_found_extra() localVariable
193 format!("expected {}", expected_label) in note_expected_found_extra()
201 let (found_padding, expected_padding) = if expected_label.len() > found_label.len() { in note_expected_found_extra()
202 (expected_label.len() - found_label.len(), 0) in note_expected_found_extra()
204 (0, found_label.len() - expected_label.len()) in note_expected_found_extra()
207 vec![(format!("{}{} `", " ".repeat(expected_padding), expected_label), Style::NoStyle)]; in note_expected_found_extra()
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_errors/src/
H A Ddiagnostic.rs149 expected_label: &dyn fmt::Display, in note_expected_found()
154 self.note_expected_found_extra(expected_label, expected, found_label, found, &"", &"") in note_expected_found()
182 expected_label: &dyn fmt::Display, in note_expected_found_extra()
189 let expected_label = expected_label.to_string(); in note_expected_found_extra() localVariable
190 let expected_label = if expected_label.is_empty() { in note_expected_found_extra() localVariable
193 format!("expected {}", expected_label) in note_expected_found_extra()
201 let (found_padding, expected_padding) = if expected_label.len() > found_label.len() { in note_expected_found_extra()
202 (expected_label.len() - found_label.len(), 0) in note_expected_found_extra()
204 (0, found_label.len() - expected_label.len()) in note_expected_found_extra()
207 vec![(format!("{}{} `", " ".repeat(expected_padding), expected_label), Style::NoStyle)]; in note_expected_found_extra()
/dports/www/drupal8/drupal-8.9.20/core/modules/views/src/Tests/
H A DViewTestBase.php100 * @param string $expected_label
109 …protected function helperButtonHasLabel($id, $expected_label, $message = 'Label has the expected v… argument
110 return $this->assertFieldById($id, $expected_label, t($message, ['%label' => $expected_label]));
/dports/www/drupal8/drupal-8.9.20/core/modules/views/tests/src/Functional/Plugin/
H A DExposedFormTest.php68 $exposed_form['options']['submit_button'] = $expected_label = $this->randomMachineName();
74 $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', $expected_label);
187 $exposed_form['options']['reset_button_label'] = $expected_label = $this->randomMachineName();
196 $this->helperButtonHasLabel('edit-reset', $expected_label);
341 … $sorts['id']['expose']['label'] = $expected_label = "<script>alert('unsafe&dangerous');</script>";
348 $this->assertSession()->optionExists('edit-sort-by', $expected_label);
349 $escape_1 = Html::escape($expected_label);
356 $this->assertNoRaw($expected_label);
/dports/www/drupal9/drupal-9.2.10/core/modules/views/tests/src/Functional/Plugin/
H A DExposedFormTest.php68 $exposed_form['options']['submit_button'] = $expected_label = $this->randomMachineName();
74 $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', $expected_label);
187 $exposed_form['options']['reset_button_label'] = $expected_label = $this->randomMachineName();
196 $this->helperButtonHasLabel('edit-reset', $expected_label);
348 … $sorts['id']['expose']['label'] = $expected_label = "<script>alert('unsafe&dangerous');</script>";
355 $this->assertSession()->optionExists('edit-sort-by', $expected_label);
356 $escape_1 = Html::escape($expected_label);
363 $this->assertSession()->responseNotContains($expected_label);
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_errors/src/
H A Ddiagnostic.rs174 expected_label: &dyn fmt::Display, in note_expected_found()
179 self.note_expected_found_extra(expected_label, expected, found_label, found, &"", &"") in note_expected_found()
207 expected_label: &dyn fmt::Display, in note_expected_found_extra()
214 let expected_label = expected_label.to_string(); in note_expected_found_extra() localVariable
215 let expected_label = if expected_label.is_empty() { in note_expected_found_extra() localVariable
218 format!("expected {}", expected_label) in note_expected_found_extra()
226 let (found_padding, expected_padding) = if expected_label.len() > found_label.len() { in note_expected_found_extra()
227 (expected_label.len() - found_label.len(), 0) in note_expected_found_extra()
229 (0, found_label.len() - expected_label.len()) in note_expected_found_extra()
232 vec![(format!("{}{} `", " ".repeat(expected_padding), expected_label), Style::NoStyle)]; in note_expected_found_extra()
/dports/www/drupal8/drupal-8.9.20/core/modules/contact/tests/src/Kernel/Migrate/
H A DMigrateContactCategoryTest.php36 * @param string $expected_label
45 …protected function assertEntity($id, $expected_label, array $expected_recipients, $expected_reply,… argument
49 $this->assertIdentical($expected_label, $entity->label());
/dports/www/drupal9/drupal-9.2.10/core/modules/contact/tests/src/Kernel/Migrate/
H A DMigrateContactCategoryTest.php36 * @param string $expected_label
45 …protected function assertEntity($id, $expected_label, array $expected_recipients, $expected_reply,… argument
49 $this->assertSame($expected_label, $entity->label());
/dports/devel/py-zsm-lib/zsm-lib-0.2.0/tests/
H A Dtest_manage.py49 expected_label = "daily"
61 expected_label,
71 assert label == expected_label
/dports/science/py-ase/ase-3.22.0/ase/test/calculator/
H A Dtest_calculator.py54 expected_label = normalize(wdir) + '/label'
56 assert calc.label == expected_label
60 assert calc.label == expected_label
/dports/www/drupal9/drupal-9.2.10/core/modules/views/tests/src/Functional/
H A DViewTestBase.php96 * @param string $expected_label
104 …protected function helperButtonHasLabel($id, $expected_label, $message = 'Label has the expected v… argument
112 $this->assertEquals($expected_label, $field->getValue());
/dports/www/drupal8/drupal-8.9.20/core/modules/views/tests/src/Functional/
H A DViewTestBase.php98 * @param string $expected_label
106 …protected function helperButtonHasLabel($id, $expected_label, $message = 'Label has the expected v… argument
114 $this->assertEquals($expected_label, $field->getValue());
/dports/www/drupal8/drupal-8.9.20/core/modules/content_translation/tests/src/Kernel/Migrate/d6/
H A DMigrateTaxonomyTermTranslationTest.php58 * @param string $expected_label
75 …protected function assertEntity($id, $expected_language, $expected_label, $expected_vid, $expected… argument
80 $this->assertSame($expected_label, $entity->label());
/dports/www/drupal9/drupal-9.2.10/core/modules/content_translation/tests/src/Kernel/Migrate/d6/
H A DMigrateTaxonomyTermTranslationTest.php59 * @param string $expected_label
76 …protected function assertEntity($id, $expected_language, $expected_label, $expected_vid, $expected… argument
81 $this->assertSame($expected_label, $entity->label());
/dports/www/drupal8/drupal-8.9.20/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/
H A DMigrateTermLocalizedTranslationTest.php55 * @param string $expected_label
72 …protected function assertEntity($id, $expected_language, $expected_label, $expected_vid, $expected… argument
77 $this->assertSame($expected_label, $entity->label());
H A DMigrateTaxonomyVocabularyTest.php41 protected function assertEntity($id, $expected_label, $expected_description, $expected_weight) { argument
45 $this->assertIdentical($expected_label, $entity->label());
H A DMigrateTaxonomyTermTranslationTest.php69 * @param string $expected_label
86 …protected function assertEntity($id, $expected_language, $expected_label, $expected_vid, $expected… argument
91 $this->assertSame($expected_label, $entity->label());
/dports/www/drupal8/drupal-8.9.20/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/
H A DMigrateTermLocalizedTranslationTest.php59 * @param string $expected_label
76 …protected function assertEntity($id, $expected_language, $expected_label, $expected_vid, $expected… argument
81 $this->assertSame($expected_label, $entity->label());
/dports/www/drupal9/drupal-9.2.10/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/
H A DMigrateTermLocalizedTranslationTest.php59 * @param string $expected_label
76 …protected function assertEntity($id, $expected_language, $expected_label, $expected_vid, $expected… argument
81 $this->assertSame($expected_label, $entity->label());
/dports/www/drupal9/drupal-9.2.10/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/
H A DMigrateTermLocalizedTranslationTest.php55 * @param string $expected_label
72 …protected function assertEntity($id, $expected_language, $expected_label, $expected_vid, $expected… argument
77 $this->assertSame($expected_label, $entity->label());
H A DMigrateTaxonomyVocabularyTest.php41 protected function assertEntity($id, $expected_label, $expected_description, $expected_weight) { argument
45 $this->assertSame($expected_label, $entity->label());
H A DMigrateTaxonomyTermTranslationTest.php69 * @param string $expected_label
86 …protected function assertEntity($id, $expected_language, $expected_label, $expected_vid, $expected… argument
91 $this->assertSame($expected_label, $entity->label());
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/metrics/_plot/tests/
H A Dtest_roc_curve_display.py117 expected_label = f"{default_name} (AUC = {display.roc_auc:.2f})"
118 assert display.line_.get_label() == expected_label
169 pyplot, roc_auc, estimator_name, expected_label argument
177 assert disp.line_.get_label() == expected_label

1234