Definition at line 25 of file PasswordContraintsTest.php.
◆ constraintsProvider()
static PasswordContraintsTest::constraintsProvider |
( |
| ) |
|
|
static |
Test a set of values.
- Returns
- array[[$constraint,$ok_values,$error_values]]
Definition at line 32 of file PasswordContraintsTest.php.
References Vendor\Package\$d, $lng, and ILIAS\UI\examples\Layout\Page\Standard\$refinery.
34 $lng =
new class () implements \
ILIAS\Language\Language {
35 public function txt(
string $a_topic,
string $a_default_lang_fallback_mod =
""): string
39 public function loadLanguageModule(
string $a_module): void
42 public function getLangKey(): string
46 public function toJS($key): void
50 $d = new \ILIAS\Data\Factory();
57 [
$d->password(
'abc'),
$d->password(
'abcd')],
58 [
$d->password(
'a'),
$d->password(
'ab')]
62 [
$d->password(
'abc'),
$d->password(
'AbC')],
63 [
$d->password(
'AB'),
$d->password(
'21'),
$d->password(
'#*+')]
68 [
$d->password(
'Abc'),
$d->password(
'ABC')],
69 [
$d->password(
'abc'),
$d->password(
'21'),
$d->password(
'#*+')]
73 [
$d->password(
'Ab1'),
$d->password(
'123')],
74 [
$d->password(
'abc'),
$d->password(
'ABC'),
$d->password(
'#*+')]
78 $v->hasSpecialChars(),
79 [
$d->password(
'Ab+'),
$d->password(
'123#')],
80 [
$d->password(
'abc'),
$d->password(
'ABC'),
$d->password(
'123')]
Interface Observer Contains several chained tasks and infos about them.
◆ testAccept()
PasswordContraintsTest::testAccept |
( |
Constraint |
$constraint, |
|
|
array |
$ok_values, |
|
|
array |
$error_values |
|
) |
| |
The documentation for this class was generated from the following file: